[PATCH] D124214: [libc][NOT FOR COMMIT] building LLVM-libc on 32 bit arm with gcc
Michael Jones via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 16:40:46 PDT 2022
michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, cryptoad, kristof.beyls, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch is only for demonstration purposes and is not intended to be
landed. It contains the changes needed to allow LLVM-libc to be built
with prebuilt GCC for ARM.
To build LLVM-libc with this configuration, use the following command:
cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS="libc"
-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=arm-none-eabi-gcc
-DCMAKE_CXX_COMPILER=arm-none-eabi-g++ -DLLVM_LIBC_FULL_BUILD=OFF
-DLLVM_LIBC_ENABLE_LINTING=OFF -DLLVM_LIBC_INCLUDE_SCUDO=OFF
-DCMAKE_C_FLAGS="-specs=nosys.specs"
-DCMAKE_CXX_FLAGS="-specs=nosys.specs -Wno-psabi"
-DLLVM_DEFAULT_TARGET_TRIPLE=arm-unknown-linux-eabi
-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=arm
-DLLVM_INCLUDE_BENCHMARKS=OFF
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124214
Files:
libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
libc/config/linux/arm/entrypoints.txt
libc/config/linux/arm/headers.txt
libc/src/__support/CPP/TypeTraits.h
libc/src/__support/FPUtil/FloatProperties.h
libc/src/string/memory_utils/utils.h
libc/test/src/string/CMakeLists.txt
llvm/cmake/config-ix.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124214.424327.patch
Type: text/x-patch
Size: 6421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220421/f03752c5/attachment.bin>
More information about the llvm-commits
mailing list