File tree Expand file tree Collapse file tree 5 files changed +17
-10
lines changed
arm-multilib/json/variants Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 32
32
},
33
33
"llvmlibc" : {
34
34
"ENABLE_CXX_LIBS" : " ON" ,
35
- "ENABLE_LIBC_TESTS" : " OFF " ,
35
+ "ENABLE_LIBC_TESTS" : " ON " ,
36
36
"ENABLE_COMPILER_RT_TESTS" : " OFF" ,
37
37
"ENABLE_LIBCXX_TESTS" : " OFF"
38
38
}
Original file line number Diff line number Diff line change 32
32
},
33
33
"llvmlibc" : {
34
34
"ENABLE_CXX_LIBS" : " ON" ,
35
- "ENABLE_LIBC_TESTS" : " OFF " ,
35
+ "ENABLE_LIBC_TESTS" : " ON " ,
36
36
"ENABLE_COMPILER_RT_TESTS" : " OFF" ,
37
37
"ENABLE_LIBCXX_TESTS" : " OFF"
38
38
}
Original file line number Diff line number Diff line change 32
32
},
33
33
"llvmlibc" : {
34
34
"ENABLE_CXX_LIBS" : " ON" ,
35
- "ENABLE_LIBC_TESTS" : " OFF " ,
35
+ "ENABLE_LIBC_TESTS" : " ON " ,
36
36
"ENABLE_COMPILER_RT_TESTS" : " OFF" ,
37
37
"ENABLE_LIBCXX_TESTS" : " OFF"
38
38
}
Original file line number Diff line number Diff line change 32
32
},
33
33
"llvmlibc" : {
34
34
"ENABLE_CXX_LIBS" : " ON" ,
35
- "ENABLE_LIBC_TESTS" : " OFF " ,
35
+ "ENABLE_LIBC_TESTS" : " ON " ,
36
36
"ENABLE_COMPILER_RT_TESTS" : " OFF" ,
37
37
"ENABLE_LIBCXX_TESTS" : " OFF"
38
38
}
Original file line number Diff line number Diff line change @@ -655,12 +655,19 @@ endif()
655
655
###############################################################################
656
656
657
657
if (C_LIBRARY STREQUAL llvmlibc )
658
- set (test_cmd
659
- "qemu-system-arm -M ${QEMU_MACHINE} -cpu ${QEMU_CPU} ${QEMU_PARAMS} \
660
- -chardev stdio$<COMMA>mux=on$<COMMA>id=stdio0 \
661
- -semihosting-config enable=on$<COMMA>chardev=stdio0$<COMMA>arg=program-name \
662
- -monitor none -serial none -nographic -device loader$<COMMA>file=@BINARY@$<COMMA>cpu-num=0" )
663
-
658
+ if (TARGET_ARCH MATCHES "^aarch64" )
659
+ set (test_cmd
660
+ "qemu-system-aarch64 -M ${QEMU_MACHINE} -cpu ${QEMU_CPU} \
661
+ -chardev stdio$<COMMA>mux=on$<COMMA>id=stdio0 \
662
+ -semihosting-config enable=on$<COMMA>chardev=stdio0$<COMMA>arg=program-name \
663
+ -monitor none -serial none -nographic -kernel @BINARY@" )
664
+ else ()
665
+ set (test_cmd
666
+ "qemu-system-arm -M ${QEMU_MACHINE} -cpu ${QEMU_CPU} ${QEMU_PARAMS} \
667
+ -chardev stdio$<COMMA>mux=on$<COMMA>id=stdio0 \
668
+ -semihosting-config enable=on$<COMMA>chardev=stdio0$<COMMA>arg=program-name \
669
+ -monitor none -serial none -nographic -device loader$<COMMA>file=@BINARY@$<COMMA>cpu-num=0" )
670
+ endif ()
664
671
set (lib_compile_flags "${lib_compile_flags} -Wno-error=atomic-alignment" )
665
672
666
673
set (common_llvmlibc_cmake_args
You can’t perform that action at this time.
0 commit comments