[Openmp-commits] [PATCH] D38881: Load Intel License environment variable in tests if available
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Oct 20 12:45:57 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL316232: Add license envirable for testing Intel compilers (authored by jlpeyton).
Changed prior to commit:
https://reviews.llvm.org/D38881?vs=118896&id=119691#toc
Repository:
rL LLVM
https://reviews.llvm.org/D38881
Files:
openmp/trunk/runtime/test/lit.cfg
Index: openmp/trunk/runtime/test/lit.cfg
===================================================================
--- openmp/trunk/runtime/test/lit.cfg
+++ openmp/trunk/runtime/test/lit.cfg
@@ -92,6 +92,10 @@
# 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))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38881.119691.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171020/a6f35b2a/attachment.bin>
More information about the Openmp-commits
mailing list