Skip to content

Commit

Permalink
Fix path used for tests
Browse files Browse the repository at this point in the history
Peano should come before the regular vitis path, due to name collisions.
  • Loading branch information
stephenneuendorffer committed Aug 28, 2023
1 parent 2d109f1 commit 65b956b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ def prepend_path(path):
llvm_config.config.environment['PATH'] = os.pathsep.join(paths)

# Setup the path.
prepend_path(config.llvm_tools_dir)
prepend_path(config.peano_tools_dir)
prepend_path(config.aie_tools_dir)
#llvm_config.with_environment('LM_LICENSE_FILE', os.getenv('LM_LICENSE_FILE'))
#llvm_config.with_environment('XILINXD_LICENSE_FILE', os.getenv('XILINXD_LICENSE_FILE'))
if(config.vitis_root):
config.vitis_aietools_bin = os.path.join(config.vitis_aietools_dir, "bin")
prepend_path(config.vitis_aietools_bin)
llvm_config.with_environment('VITIS', config.vitis_root)
#llvm_config.with_environment('LM_LICENSE_FILE', os.getenv('LM_LICENSE_FILE'))
#llvm_config.with_environment('XILINXD_LICENSE_FILE', os.getenv('XILINXD_LICENSE_FILE'))
prepend_path(config.llvm_tools_dir)
prepend_path(config.peano_tools_dir)
prepend_path(config.aie_tools_dir)

# Test to see if we have the peano backend.
try:
Expand Down

0 comments on commit 65b956b

Please sign in to comment.