summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/cmake
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-19 18:29:35 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-19 18:29:35 +0000
commitd1c5504097ff5296567f9b83bf67257ffc544f3c (patch)
treed202c58b20e6d2f476ecc368ce7c0dd2d471ed2c /openmp/runtime/cmake
parent663419b008e6a9bbea12e795a3903f440ddfcf68 (diff)
downloadbcm5719-llvm-d1c5504097ff5296567f9b83bf67257ffc544f3c.tar.gz
bcm5719-llvm-d1c5504097ff5296567f9b83bf67257ffc544f3c.zip
added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton
llvm-svn: 226479
Diffstat (limited to 'openmp/runtime/cmake')
-rw-r--r--openmp/runtime/cmake/HelperFunctions.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/openmp/runtime/cmake/HelperFunctions.cmake b/openmp/runtime/cmake/HelperFunctions.cmake
index 46f8b262d2d..e5dd950cf93 100644
--- a/openmp/runtime/cmake/HelperFunctions.cmake
+++ b/openmp/runtime/cmake/HelperFunctions.cmake
@@ -67,8 +67,10 @@ function(set_legal_arch return_arch_string)
set(${return_arch_string} "L1OM" PARENT_SCOPE)
elseif(${ARM})
set(${return_arch_string} "ARM" PARENT_SCOPE)
- elseif(${PPC64})
- set(${return_arch_string} "PPC64" PARENT_SCOPE)
+ elseif(${PPC64BE})
+ set(${return_arch_string} "PPC64BE" PARENT_SCOPE)
+ elseif(${PPC64LE})
+ set(${return_arch_string} "PPC64LE" PARENT_SCOPE)
elseif(${AARCH64})
set(${return_arch_string} "AARCH64" PARENT_SCOPE)
else()
OpenPOWER on IntegriCloud