diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2020-06-09 00:31:48 -0700 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2020-06-09 14:40:28 -0700 |
commit | fd3295fb6f981a5c030d7540b9eda67f9c723e0f (patch) | |
tree | 78cebc2e3c948789c511ea07a0f04ded9aa87183 /libc/lib | |
parent | 01e64c971260f6999d3365ac163f33da02c63534 (diff) | |
download | llvm-fd3295fb6f981a5c030d7540b9eda67f9c723e0f.tar.gz |
[libc] Skip entrypoints not present in the entrypoints list.
Summary:
If a test depends on a skipped entrypoint, then the test is also
skipped. This setup will be useful as we gradually add support for
more operating systems and target architectures.
Reviewers: asteinhauser
Differential Revision: https://reviews.llvm.org/D81489
Diffstat (limited to 'libc/lib')
-rw-r--r-- | libc/lib/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt index deae56e874ec..16340531e9d1 100644 --- a/libc/lib/CMakeLists.txt +++ b/libc/lib/CMakeLists.txt @@ -1,16 +1,13 @@ -include("${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/${LIBC_TARGET_MACHINE}/entrypoints.txt") -include("${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/${LIBC_TARGET_MACHINE}/headers.txt") - add_entrypoint_library( llvmlibc DEPENDS - ${LIBC_ENTRYPOINTS} + ${TARGET_LIBC_ENTRYPOINTS} ) add_entrypoint_library( llvmlibm DEPENDS - ${LIBM_ENTRYPOINTS} + ${TARGET_LIBM_ENTRYPOINTS} ) add_redirector_library( |