|
@@ -7,8 +7,10 @@ FUZZ_TIMEOUT = 120
|
|
|
|
|
|
class TestClangCompilerRT(infra.basetest.BRTest):
|
|
|
br2_external = [infra.filepath("tests/package/br2-external/clang-compiler-rt")]
|
|
|
+ # Without this option the test fails due to insufficient address space for 64-bit allocator
|
|
|
+ va48_fragment = infra.filepath("tests/package/test_clang/linux-arm64-va48.fragment")
|
|
|
config = \
|
|
|
- """
|
|
|
+ f"""
|
|
|
BR2_aarch64=y
|
|
|
BR2_TOOLCHAIN_EXTERNAL=y
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
|
@@ -17,6 +19,7 @@ class TestClangCompilerRT(infra.basetest.BRTest):
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.283"
|
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
|
|
|
+ BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{va48_fragment}"
|
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
BR2_PACKAGE_COMPILER_RT=y
|
|
|
BR2_PACKAGE_LLVM=y
|