[Openmp-commits] [openmp] d29a7d2 - [OpenMP][Tools][NFC] Pass intel license ENV to lit
Joachim Protze via Openmp-commits
openmp-commits at lists.llvm.org
Mon Oct 25 09:23:17 PDT 2021
Author: Joachim Protze
Date: 2021-10-25T18:20:11+02:00
New Revision: d29a7d23ec5362dc34fe185131a54199329a0345
URL: https://github.com/llvm/llvm-project/commit/d29a7d23ec5362dc34fe185131a54199329a0345
DIFF: https://github.com/llvm/llvm-project/commit/d29a7d23ec5362dc34fe185131a54199329a0345.diff
LOG: [OpenMP][Tools][NFC] Pass intel license ENV to lit
Added:
Modified:
openmp/tools/multiplex/tests/lit.cfg
Removed:
################################################################################
diff --git a/openmp/tools/multiplex/tests/lit.cfg b/openmp/tools/multiplex/tests/lit.cfg
index 52c1000aa072..69df2fd944cb 100644
--- a/openmp/tools/multiplex/tests/lit.cfg
+++ b/openmp/tools/multiplex/tests/lit.cfg
@@ -50,6 +50,10 @@ config.test_flags = " -I " + config.test_source_root + "/.."\
" " + config.test_openmp_flags + \
" " + config.test_extra_flags
+# 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']
+
# Allow XFAIL to work
config.target_triple = [ ]
for feature in config.test_compiler_features:
More information about the Openmp-commits
mailing list