[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libc / test / CMakeLists.txt
blob717b9330339aa056d73f68dd735d60cfe308b45a
1 add_subdirectory(UnitTest)
3 if(LLVM_LIBC_FULL_BUILD AND NOT
4   (LIBC_TARGET_ARCHITECTURE_IS_GPU OR LIBC_TARGET_OS_IS_BAREMETAL))
5   add_subdirectory(IntegrationTest)
6 endif()
8 add_header_library(
9   errno_setter_matcher
10   HDRS
11     ErrnoSetterMatcher.h
14 add_custom_target(check-libc)
15 add_custom_target(check-llvmlibc)
16 add_dependencies(check-libc check-llvmlibc)
18 add_custom_target(exhaustive-check-libc)
19 add_custom_target(libc-long-running-tests)
21 add_subdirectory(src)
22 add_subdirectory(utils)
24 if(NOT LLVM_LIBC_FULL_BUILD)
25   return()
26 endif()
28 if(NOT (${LIBC_TARGET_OS} STREQUAL "linux"))
29   # Integration tests are currently only available for linux.
30   return()
31 endif()
32 add_subdirectory(integration)