Skip to content

Commit f8efa65

Browse files
authored
[OpenMP][test][VE] Change to use VE_LD_LIBRARY_PATH for VE (#65869)
Change to use VE_LD_LIBRARY_PATH for VE instead of LD_LIBRARY_PATH. The VE is connected to the host, and compiled test programs for VE is invoked on the host and transferred to the VE. If programs are compiled for the host, we use LD_LIBRARY_PATH. Otherwise, we use VE_LD_LIBRARY_PATH.
1 parent 444abb3 commit f8efa65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openmp/runtime/test/lit.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ if 'PYLINT_IMPORT' in os.environ:
1212
lit_config = object()
1313

1414
def prepend_dynamic_library_path(path):
15+
target_arch = getattr(config, 'target_arch', None)
1516
if config.operating_system == 'Windows':
1617
name = 'PATH'
1718
sep = ';'
1819
elif config.operating_system == 'Darwin':
1920
name = 'DYLD_LIBRARY_PATH'
2021
sep = ':'
22+
elif target_arch == 've':
23+
name = 'VE_LD_LIBRARY_PATH'
24+
sep = ':'
2125
else:
2226
name = 'LD_LIBRARY_PATH'
2327
sep = ':'

0 commit comments

Comments
 (0)