forked from OSchip/llvm-project
a0f1304616
Since D92241, compiler-rt/cmake/builtin-config-ix.cmake automatically tests the host compiler for support of _Float16 and conditionally defines COMPILER_RT_HAS_FLOAT16. That defines the macro while the compiler-rt builtins are being built. To also define it during the compiler-rt test runs requires whitelisting the architecture in compiler-rt/test/builtins/CMakeLists.txt, as done in this patch. That seems brittle. Ideally, we'd move to a solution where the target compiler was automatically tested as well, but I'm not sure how feasible that is with the current CMake setup. For now, this patch whitelists RISC-V, fixing errors in test__extendhfsf2. Alternate solutions that fix the root issue are welcome, though. Differential Revision: https://reviews.llvm.org/D129432 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include | ||
lib | ||
test | ||
tools | ||
unittests | ||
utils | ||
www | ||
.clang-tidy | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
CREDITS.TXT | ||
LICENSE.TXT | ||
README.txt |
README.txt
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================