Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
openmp/libomptarget/test/lit.cfg
Show All 19 Lines | |||||
# Allow running the tests with omptarget debug output | # Allow running the tests with omptarget debug output | ||||
if 'LIBOMPTARGET_DEBUG' in os.environ: | if 'LIBOMPTARGET_DEBUG' in os.environ: | ||||
config.environment['LIBOMPTARGET_DEBUG'] = os.environ['LIBOMPTARGET_DEBUG'] | config.environment['LIBOMPTARGET_DEBUG'] = os.environ['LIBOMPTARGET_DEBUG'] | ||||
# Allow running the tests with nextgen plugins when available | # Allow running the tests with nextgen plugins when available | ||||
if 'LIBOMPTARGET_NEXTGEN_PLUGINS' in os.environ: | if 'LIBOMPTARGET_NEXTGEN_PLUGINS' in os.environ: | ||||
config.environment['LIBOMPTARGET_NEXTGEN_PLUGINS'] = os.environ['LIBOMPTARGET_NEXTGEN_PLUGINS'] | config.environment['LIBOMPTARGET_NEXTGEN_PLUGINS'] = os.environ['LIBOMPTARGET_NEXTGEN_PLUGINS'] | ||||
if 'LIBOMPTARGET_LOCK_MAPPED_HOST_BUFFERS' in os.environ: | |||||
config.environment['LIBOMPTARGET_LOCK_MAPPED_HOST_BUFFERS'] = os.environ['LIBOMPTARGET_LOCK_MAPPED_HOST_BUFFERS'] | |||||
if 'OMP_TARGET_OFFLOAD' in os.environ: | if 'OMP_TARGET_OFFLOAD' in os.environ: | ||||
config.environment['OMP_TARGET_OFFLOAD'] = os.environ['OMP_TARGET_OFFLOAD'] | config.environment['OMP_TARGET_OFFLOAD'] = os.environ['OMP_TARGET_OFFLOAD'] | ||||
def append_dynamic_library_path(name, value, sep): | def append_dynamic_library_path(name, value, sep): | ||||
if name in config.environment: | if name in config.environment: | ||||
config.environment[name] = value + sep + config.environment[name] | config.environment[name] = value + sep + config.environment[name] | ||||
else: | else: | ||||
config.environment[name] = value | config.environment[name] = value | ||||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |