[Openmp-commits] [openmp] r316232 - Add license envirable for testing Intel compilers
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Fri Oct 20 12:45:43 PDT 2017
Author: jlpeyton
Date: Fri Oct 20 12:45:43 2017
New Revision: 316232
URL: http://llvm.org/viewvc/llvm-project?rev=316232&view=rev
Log:
Add license envirable for testing Intel compilers
Patch by Simon Convent
Differential Revision: https://reviews.llvm.org/D38881
Modified:
openmp/trunk/runtime/test/lit.cfg
Modified: openmp/trunk/runtime/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/test/lit.cfg?rev=316232&r1=316231&r2=316232&view=diff
==============================================================================
--- openmp/trunk/runtime/test/lit.cfg (original)
+++ openmp/trunk/runtime/test/lit.cfg Fri Oct 20 12:45:43 2017
@@ -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))
More information about the Openmp-commits
mailing list