Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit f5a24ab

Browse files
committed
Add library search paths on windows
1 parent e42da89 commit f5a24ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SYCL/Basic/lit.cfg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
config.available_features.add('windows')
5555
llvm_config.with_system_environment('LIB')
5656
llvm_config.with_environment('LIB', config.sycl_libs_dir, append_path=True)
57+
llvm_config.with_environment('PATH', config.sycl_libs_dir, append_path=True)
58+
llvm_config.with_environment('LIB', os.path.join(dpcpp_root_dir, 'lib'), append_path=True)
5759

5860
elif platform.system() == "Darwin":
5961
# FIXME: surely there is a more elegant way to instantiate the Xcode directories.

0 commit comments

Comments
 (0)