Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield committed Dec 5, 2023
1 parent 234677d commit 94f2bbb
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,19 @@

config.enable_ryzen_ai_tests = True
if config.enable_ryzen_ai_tests:
config.available_features.add('ryzen_ai')
config.substitutions.append(('%run_on_ipu', "flock /tmp/ipu.lock /opt/xilinx/run_on_ipu.sh"))
config.substitutions.append(('%xrt_flags', "-I/opt/xilinx/xrt/include -L/opt/xilinx/xrt/lib -luuid -lxrt_coreutil"))
config.available_features.add("ryzen_ai")
config.substitutions.append(
("%run_on_ipu", "flock /tmp/ipu.lock /opt/xilinx/run_on_ipu.sh")
)
config.substitutions.append(
(
"%xrt_flags",
"-I/opt/xilinx/xrt/include -L/opt/xilinx/xrt/lib -luuid -lxrt_coreutil",
)
)
else:
config.substitutions.append(("%run_on_board", "echo"))
config.substitutions.append(('%xrt_flags', ""))
config.substitutions.append(("%xrt_flags", ""))

VitisSysrootFlag = ""
if config.aieHostTarget == "x86_64":
Expand Down

0 comments on commit 94f2bbb

Please sign in to comment.