[Openmp-commits] [PATCH] D38881: Load Intel License environment variable in tests if available

Simon Convent via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 13 03:47:49 PDT 2017


sconvent created this revision.

Load Intel License environment variable in tests if available


https://reviews.llvm.org/D38881

Files:
  runtime/test/lit.cfg


Index: runtime/test/lit.cfg
===================================================================
--- runtime/test/lit.cfg
+++ runtime/test/lit.cfg
@@ -104,6 +104,10 @@
 if 'Linux' in config.operating_system:
     config.available_features.add("linux")
 
+# 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))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38881.118896.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171013/4b3e8df5/attachment.bin>


More information about the Openmp-commits mailing list