Skip to content

Commit 4835676

Browse files
author
git apple-llvm automerger
committed
Merge commit '251b1e7c25b5' from llvm.org/main into next
2 parents 889df48 + 251b1e7 commit 4835676

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openmp/libomptarget/test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if 'CUDA_VISIBLE_DEVICES' in os.environ:
1717
if 'LIBOMPTARGET_DEBUG' in os.environ:
1818
config.environment['LIBOMPTARGET_DEBUG'] = os.environ['LIBOMPTARGET_DEBUG']
1919

20+
if 'OMP_TARGET_OFFLOAD' in os.environ:
21+
config.environment['OMP_TARGET_OFFLOAD'] = os.environ['OMP_TARGET_OFFLOAD']
22+
2023
def append_dynamic_library_path(name, value, sep):
2124
if name in config.environment:
2225
config.environment[name] = value + sep + config.environment[name]

0 commit comments

Comments
 (0)