2020-07-29 01:57:00 +08:00
|
|
|
add_header_library(
|
|
|
|
errno_setter_matcher
|
|
|
|
HDRS
|
|
|
|
ErrnoSetterMatcher.h
|
|
|
|
)
|
|
|
|
|
2020-01-08 03:09:40 +08:00
|
|
|
add_custom_target(check-libc)
|
2021-03-23 00:43:31 +08:00
|
|
|
add_custom_target(check-llvmlibc)
|
|
|
|
add_dependencies(check-libc check-llvmlibc)
|
|
|
|
|
2021-02-19 04:04:50 +08:00
|
|
|
add_custom_target(exhaustive-check-libc)
|
2021-06-21 14:05:29 +08:00
|
|
|
add_custom_target(libc-long-running-tests)
|
2020-01-04 04:00:45 +08:00
|
|
|
|
|
|
|
add_subdirectory(src)
|
2020-06-23 04:47:56 +08:00
|
|
|
add_subdirectory(utils)
|
2021-03-12 07:25:24 +08:00
|
|
|
|
|
|
|
if(NOT LLVM_LIBC_FULL_BUILD)
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2022-03-24 14:58:46 +08:00
|
|
|
if(NOT (${LIBC_TARGET_OS} STREQUAL "linux"))
|
|
|
|
# Integration tests are currently only available for linux.
|
|
|
|
return()
|
|
|
|
endif()
|
2021-07-28 01:44:14 +08:00
|
|
|
add_subdirectory(integration)
|