summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/cmake/HelperFunctions.cmake
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-05-25 20:01:16 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-05-25 20:01:16 +0000
commit7af7c8df3129b601a758bcdb0df0ca5d793096e3 (patch)
tree63bc4782fc0a3b2147a31f9ea07246b3124c49cf /openmp/runtime/cmake/HelperFunctions.cmake
parent236446cd4c32233f42f513a552bbcc29de020ff4 (diff)
downloadbcm5719-llvm-7af7c8df3129b601a758bcdb0df0ca5d793096e3.tar.gz
bcm5719-llvm-7af7c8df3129b601a758bcdb0df0ca5d793096e3.zip
fixed missed arch renaming (from C.Bergstrom)
llvm-svn: 238153
Diffstat (limited to 'openmp/runtime/cmake/HelperFunctions.cmake')
-rw-r--r--openmp/runtime/cmake/HelperFunctions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/cmake/HelperFunctions.cmake b/openmp/runtime/cmake/HelperFunctions.cmake
index a05eb56a803..b2292236b5e 100644
--- a/openmp/runtime/cmake/HelperFunctions.cmake
+++ b/openmp/runtime/cmake/HelperFunctions.cmake
@@ -63,7 +63,7 @@ function(set_legal_arch return_arch_string)
set(${return_arch_string} "Intel(R) 64" PARENT_SCOPE)
elseif(${MIC})
set(${return_arch_string} "Intel(R) Many Integrated Core Architecture" PARENT_SCOPE)
- elseif(${arch} STREQUAL "l1")
+ elseif(${LIBOMP_ARCH} STREQUAL "l1")
set(${return_arch_string} "L1OM" PARENT_SCOPE)
elseif(${ARM})
set(${return_arch_string} "ARM" PARENT_SCOPE)
OpenPOWER on IntegriCloud