Files
clang-p2996/libc/test/IntegrationTest/CMakeLists.txt
Schrodinger ZHU Yifan 2efe3d7fc0 Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)
Reverts llvm/llvm-project#95419 and Reland #95358.

This PR is full of temporal fixes. After a discussion with @lntue, it is
better to avoid further changes to the cmake infrastructure for now as a
rework to the cmake utilities will be landed in the future.
2024-06-13 20:34:32 -07:00

17 lines
310 B
CMake

set(arch_specific_deps)
if(LIBC_TARGET_ARCHITECTURE_IS_AARCH64)
set(arch_specific_deps libc.src.sys.auxv.getauxval)
endif()
add_object_library(
test
SRCS
test.cpp
COMPILE_OPTIONS
${TEST_COMPILE_FLAGS}
HDRS
test.h
DEPENDS
libc.src.__support.OSUtil.osutil
${arch_specific_deps}
)