From 6d313413a8a9b2b4adb07ce7375c693f9c2d9da5 Mon Sep 17 00:00:00 2001 From: Andrey Churbanov Date: Wed, 25 Feb 2015 18:30:50 +0000 Subject: [PATCH] Set the Intel compiler as default when building for the MIC without CMake llvm-svn: 230519 --- openmp/runtime/tools/common.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openmp/runtime/tools/common.inc b/openmp/runtime/tools/common.inc index db6d2a9..2e51a69 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} -- 2.7.4