Skip to content

Commit 8476e39

Browse files
authored
Remove use of xbutil in lit script (#2581)
1 parent b63abda commit 8476e39

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

programming_examples/lit.cfg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@
121121
config.xrt_include_dir, config.xrt_lib_dir
122122
)
123123
try:
124-
# xbutil is deprecated/renamed to xrt-smi, leaving it xbutil for now for
125-
# compatibility with older versions of XRT
126-
# xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
127-
xrtsmi = os.path.join(config.xrt_bin_dir, "xbutil")
124+
xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
128125
result = subprocess.run(
129126
[xrtsmi, "examine"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
130127
)

programming_guide/lit.cfg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@
121121
config.xrt_include_dir, config.xrt_lib_dir
122122
)
123123
try:
124-
# xbutil is deprecated/renamed to xrt-smi, leaving it xbutil for now for
125-
# compatibility with older versions of XRT
126-
# xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
127-
xrtsmi = os.path.join(config.xrt_bin_dir, "xbutil")
124+
xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
128125
result = subprocess.run(
129126
[xrtsmi, "examine"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
130127
)

test/lit.cfg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,7 @@
142142
config.xrt_include_dir, config.xrt_lib_dir
143143
)
144144
try:
145-
# xbutil is deprecated/renamed to xrt-smi, leaving it xbutil for now for
146-
# compatibility with older versions of XRT
147-
# xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
148-
xrtsmi = os.path.join(config.xrt_bin_dir, "xbutil")
145+
xrtsmi = os.path.join(config.xrt_bin_dir, "xrt-smi")
149146
result = subprocess.run(
150147
[xrtsmi, "examine"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
151148
)

0 commit comments

Comments
 (0)