diff options
-rw-r--r-- | openmp/runtime/test/lit.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg index 328e32e0faf..22ad95f9ba3 100644 --- a/openmp/runtime/test/lit.cfg +++ b/openmp/runtime/test/lit.cfg @@ -92,6 +92,10 @@ if config.has_ompt: # for callback.h config.test_cflags += " -I " + config.test_source_root + "/ompt" +# to run with icc INTEL_LICENSE_FILE must be set +if 'INTEL_LICENSE_FILE' in os.environ: + config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE'] + # substitutions if config.has_ompt: config.substitutions.append(("FileCheck", config.test_filecheck)) |