summaryrefslogtreecommitdiffstats
path: root/openmp/runtime
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-25 18:30:50 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-25 18:30:50 +0000
commit6d313413a8a9b2b4adb07ce7375c693f9c2d9da5 (patch)
tree4612e0adde32d3559dcfd618992a1f91dc1e1672 /openmp/runtime
parent07462118118cc54fecb4a9f84470c3cc3747c5c7 (diff)
downloadbcm5719-llvm-6d313413a8a9b2b4adb07ce7375c693f9c2d9da5.tar.gz
bcm5719-llvm-6d313413a8a9b2b4adb07ce7375c693f9c2d9da5.zip
Set the Intel compiler as default when building for the MIC without CMake
llvm-svn: 230519
Diffstat (limited to 'openmp/runtime')
-rw-r--r--openmp/runtime/tools/common.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/openmp/runtime/tools/common.inc b/openmp/runtime/tools/common.inc
index db6d2a98e9c..2e51a694f44 100644
--- a/openmp/runtime/tools/common.inc
+++ b/openmp/runtime/tools/common.inc
@@ -67,7 +67,7 @@ endif
# Setting defaults
mode?=release
-ifeq "$(filter 32 32e 64,$(arch))" ""
+ifeq "$(filter 32 32e 64 mic,$(arch))" ""
compiler?=gcc
else
ifeq "$(omp_os)" "windows"
@@ -79,7 +79,7 @@ endif
ifneq "$(mic)" "no"
ifeq "$(compiler)" "gcc"
- $(error Compiling the runtime with gcc is not supported on Intel\(R\) Many Integrated Core Architecture)
+ $(error Compiling the runtime with gcc is not supported on Intel(R) Many Integrated Core Architecture)
endif
# Add Intel(R) Many Integrated Core Architecture kind (knf, knc, knl, etc.)
@@ -94,7 +94,7 @@ ifneq "$(mic)" "no"
micBinPresent = $(shell if test -d $(micBinPath); then echo OK; else echo KO; fi)
ifneq "$(micBinPresent)" "OK"
# We can't find them in the normal place, so complain.
- $(error Compiling for Intel\(R\) Many Integrated Core Architecture requires that the cross-hosted binutils are available in $(micBinPath).\
+ $(error Compiling for Intel(R) Many Integrated Core Architecture requires that the cross-hosted binutils are available in $(micBinPath).\
See the Tools tab at http://software.intel.com/mic-developer)
endif
export PATH := $(micBinPath):${PATH}
OpenPOWER on IntegriCloud