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

Commit 0b87868

Browse files
authored
[SYCL] Append extra environment variables (#531)
When extra environment variables are set in LIT configuration append them instead of overwriting system ones.
1 parent c507987 commit 0b87868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
for env_pair in config.extra_environment.split(','):
8686
[var,val]=env_pair.split("=")
8787
if val:
88-
llvm_config.with_environment(var,val)
88+
llvm_config.with_environment(var,val,append_path=True)
8989
lit_config.note("\t"+var+"="+val)
9090
else:
9191
lit_config.note("\tUnset "+var)

0 commit comments

Comments
 (0)