Changeset View
Changeset View
Standalone View
Standalone View
runtime/test/lit.cfg
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
if config.has_ompt: | if config.has_ompt: | ||||
config.available_features.add("ompt") | config.available_features.add("ompt") | ||||
# for callback.h | # for callback.h | ||||
config.test_flags += " -I " + config.test_source_root + "/ompt" | config.test_flags += " -I " + config.test_source_root + "/ompt" | ||||
if 'Linux' in config.operating_system: | if 'Linux' in config.operating_system: | ||||
config.available_features.add("linux") | config.available_features.add("linux") | ||||
if config.operating_system in ['Linux', 'Windows']: | |||||
config.available_features.add('affinity') | |||||
# to run with icc INTEL_LICENSE_FILE must be set | # to run with icc INTEL_LICENSE_FILE must be set | ||||
if 'INTEL_LICENSE_FILE' in os.environ: | if 'INTEL_LICENSE_FILE' in os.environ: | ||||
config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE'] | config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE'] | ||||
# substitutions | # substitutions | ||||
config.substitutions.append(("%libomp-compile-and-run", \ | config.substitutions.append(("%libomp-compile-and-run", \ | ||||
"%libomp-compile && %libomp-run")) | "%libomp-compile && %libomp-run")) | ||||
Show All 26 Lines |