llvm-project/libc/utils
Guillaume Chatelet 7c2ece523d [libc] Normalize LIBC_TARGET_MACHINE
Current implementation defines LIBC_TARGET_MACHINE with the use of CMAKE_SYSTEM_PROCESSOR.
Unfortunately CMAKE_SYSTEM_PROCESSOR is OS dependent and can produce different results.
An evidence of this is the various matchers used to detect whether the architecture is x86.

This patch normalizes LIBC_TARGET_MACHINE and renames it LIBC_TARGET_ARCHITECTURE.
I've added many architectures but we may want to limit ourselves to x86 and ARM.

Differential Revision: https://reviews.llvm.org/D101524
2021-05-05 15:52:42 +00:00
..
CPP [libc] Enhance ArrayRef + unittests 2021-04-21 13:25:24 +00:00
FPUtil [libc] Normalize LIBC_TARGET_MACHINE 2021-05-05 15:52:42 +00:00
HdrGen [CMake][libc] Support cross-compiling libc-hdrgen 2021-01-28 13:13:06 -08:00
LibcTableGenUtil [libc] Add missing TableGen dependency 2020-09-15 14:26:04 +00:00
MPFRWrapper [libc] Make FPBits a union. 2021-04-13 09:21:35 -07:00
UnitTest [libc] Extends the testing framework to support typed test 2021-04-16 21:21:35 +00:00
buildbot [libc] Add python3 to libc buildbot depedencies. 2020-12-17 08:59:13 -08:00
testutils [libc] Add differential quality and perf analysis targets for sinf and cosf. 2021-04-26 19:39:33 +00:00
tools [libc] Refactor WrapperGen to make the flow cleaner. 2020-12-17 08:56:45 -08:00
CMakeLists.txt [libc] Introduce a full build mode CMake option. 2021-03-12 13:28:40 -08:00