[compiler-rt] r313650 - Ensure that armhf builtins library is created when using an hf abi
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 10:54:11 PDT 2017
Author: fjricci
Date: Tue Sep 19 10:54:11 2017
New Revision: 313650
URL: http://llvm.org/viewvc/llvm-project?rev=313650&view=rev
Log:
Ensure that armhf builtins library is created when using an hf abi
Reviewers: beanz, compnerd
Reviewed By: compnerd
Subscribers: aemerson, mgorny, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D38045
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=313650&r1=313649&r2=313650&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Tue Sep 19 10:54:11 2017
@@ -66,6 +66,11 @@ if (COMPILER_RT_STANDALONE_BUILD)
endif()
construct_compiler_rt_default_triple()
+if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" MATCHES "hf$")
+ if (${COMPILER_RT_DEFAULT_TARGET_ARCH} MATCHES "^arm")
+ set(COMPILER_RT_DEFAULT_TARGET_ARCH "armhf")
+ endif()
+endif()
if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" STREQUAL "androideabi")
set(ANDROID 1)
endif()
More information about the llvm-commits
mailing list