We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c586a9 commit 3933ec2Copy full SHA for 3933ec2
compiler-rt/lib/builtins/CMakeLists.txt
@@ -946,6 +946,7 @@ else ()
946
check_c_source_compiles("__bf16 foo(__bf16 x) { return x; }
947
int main(void) { return 0; }"
948
COMPILER_RT_HAS_${arch}_BFLOAT16)
949
+ append_list_if(COMPILER_RT_HAS_${arch}_BFLOAT16 -DCOMPILER_RT_HAS_BFLOAT16 BUILTIN_CFLAGS_${arch})
950
# Build BF16 files only when "__bf16" is available.
951
if(COMPILER_RT_HAS_${arch}_BFLOAT16)
952
list(APPEND ${arch}_SOURCES ${BF16_SOURCES})
0 commit comments