mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
[libcxx][Arm] Move buildbot flags into cmake files
Reviewed By: #libc, Mordante, curdeius Differential Revision: https://reviews.llvm.org/D98771
This commit is contained in:
parent
5b2d8503d1
commit
3aa6a4cb39
@ -1,2 +1,4 @@
|
||||
set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
|
||||
set(LIBCXX_TARGET_TRIPLE "armv7-linux-gnueabihf" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-marm" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS "-marm" CACHE STRING "")
|
6
libcxx/cmake/caches/Armv7Thumb-noexceptions.cmake
Normal file
6
libcxx/cmake/caches/Armv7Thumb-noexceptions.cmake
Normal file
@ -0,0 +1,6 @@
|
||||
set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
|
||||
set(LIBCXX_TARGET_TRIPLE "armv7-linux-gnueabihf" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-mthumb" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS "-mthumb" CACHE STRING "")
|
||||
set(LIBCXX_ENABLE_EXCEPTIONS OFF CACHE BOOL "")
|
||||
set(LIBCXXABI_ENABLE_EXCEPTIONS OFF CACHE BOOL "")
|
@ -1,2 +1,4 @@
|
||||
set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
|
||||
set(LIBCXX_TARGET_TRIPLE "armv8-linux-gnueabihf" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-marm" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS "-marm" CACHE STRING "")
|
6
libcxx/cmake/caches/Armv8Thumb-noexceptions.cmake
Normal file
6
libcxx/cmake/caches/Armv8Thumb-noexceptions.cmake
Normal file
@ -0,0 +1,6 @@
|
||||
set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
|
||||
set(LIBCXX_TARGET_TRIPLE "armv8-linux-gnueabihf" CACHE STRING "")
|
||||
set(CMAKE_CXX_FLAGS "-mthumb" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS "-mthumb" CACHE STRING "")
|
||||
set(LIBCXX_ENABLE_EXCEPTIONS OFF CACHE BOOL "")
|
||||
set(LIBCXXABI_ENABLE_EXCEPTIONS OFF CACHE BOOL "")
|
@ -402,35 +402,23 @@ aarch64-noexceptions)
|
||||
# Aka Armv8 32 bit
|
||||
armv8)
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8.cmake" \
|
||||
-DCMAKE_CXX_FLAGS="-marm" \
|
||||
-DCMAKE_C_FLAGS="-marm"
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8Arm.cmake"
|
||||
check-cxx-cxxabi
|
||||
;;
|
||||
armv8-noexceptions)
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8.cmake" \
|
||||
-DCMAKE_CXX_FLAGS="-mthumb" \
|
||||
-DCMAKE_C_FLAGS="-mthumb" \
|
||||
-DLIBCXX_ENABLE_EXCEPTIONS=OFF \
|
||||
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8Thumb-noexceptions.cmake"
|
||||
check-cxx-cxxabi
|
||||
;;
|
||||
# Armv7 32 bit. One building Arm only one Thumb only code.
|
||||
armv7)
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv7.cmake" \
|
||||
-DCMAKE_CXX_FLAGS="-marm" \
|
||||
-DCMAKE_C_FLAGS="-marm"
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv7Arm.cmake"
|
||||
check-cxx-cxxabi
|
||||
;;
|
||||
armv7-noexceptions)
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv7.cmake" \
|
||||
-DCMAKE_CXX_FLAGS="-mthumb" \
|
||||
-DCMAKE_C_FLAGS="-mthumb" \
|
||||
-DLIBCXX_ENABLE_EXCEPTIONS=OFF \
|
||||
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv7Thumb-noexceptions.cmake"
|
||||
check-cxx-cxxabi
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user