llvm-project/compiler-rt/cmake
David Tenty 5665ec4e18 [compiler-rt][cmake][powerpc] Remove TEST_BIG_ENDIAN from base-config-ix.cmake
It's actually not safe to call TEST_BIG_ENDIAN here, since we may be
running from the builtins build (i.e builtins-config-ix) context where
TEST_COMPILE_ONLY  is set since without builtins already built we may
fail to link, and TEST_BIG_ENDIAN internally performs tests which may
fail to link without builtins.

Fortunately powerpc is the only target that uses this information here and
we actually already know the whether we are targeting the LE variant due
to earlier macro checks, so we can simply this to remove our reliance on
TEST_BIG_ENDIAN.

Reviewed By: hubert.reinterpretcast, Whitney

Differential Revision: https://reviews.llvm.org/D88608
2020-10-01 09:45:07 -04:00
..
Modules [compiler-rt][AIX] Add CMake support for 32-bit Power builds 2020-09-22 16:08:58 -04:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [compiler-rt][cmake][powerpc] Remove TEST_BIG_ENDIAN from base-config-ix.cmake 2020-10-01 09:45:07 -04:00
builtin-config-ix.cmake [compiler-rt][AIX] Add CMake support for 32-bit Power builds 2020-09-22 16:08:58 -04:00
config-ix.cmake [CMake] Use find_library for ncurses 2020-08-31 20:06:21 -07:00