[PATCH] D38045: Ensure that armhf builtins library is created when using an hf abi

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 10:55:46 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313650: Ensure that armhf builtins library is created when using an hf abi (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D38045?vs=115863&id=115867#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38045

Files:
  compiler-rt/trunk/CMakeLists.txt


Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -66,6 +66,11 @@
 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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38045.115867.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/4c917e9a/attachment.bin>


More information about the llvm-commits mailing list