]> granicus.if.org Git - llvm/commitdiff
[pstl] Initial integration with LLVM's CMake
authorLouis Dionne <ldionne@apple.com>
Fri, 21 Dec 2018 15:59:04 +0000 (15:59 +0000)
committerLouis Dionne <ldionne@apple.com>
Fri, 21 Dec 2018 15:59:04 +0000 (15:59 +0000)
Summary:
This commit adds a check-pstl CMake target that will run the tests
we currently have for pstl. Those tests are not using LLVM lit yet,
but switching them over should be a transparent change. With this
change, we can start relying on the `check-pstl` target for workflows
and CI.

Note that this commit purposefully does not support the pre-monorepo
layout (with subprojects in projects/), since LLVM is moving towards
the monorepo layout anyway.

Reviewers: jfb

Subscribers: mgorny, jkorous, dexonsmith, libcxx-commits, mclow.lists, rodgert

Differential Revision: https://reviews.llvm.org/D55963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349919 91177308-0d34-0410-b5e6-96231b3b80d8

projects/CMakeLists.txt

index 9afc30c8928e3cbd33fda03e6102cae3ea2e2eb7..c98a8824773384a4b289e702131e2bcb0a8abe84 100644 (file)
@@ -31,6 +31,7 @@ if(${LLVM_BUILD_RUNTIME})
     # dependent projects can see the target names of their dependencies.
     add_llvm_external_project(libunwind)
     add_llvm_external_project(libcxxabi)
+    add_llvm_external_project(pstl)
     add_llvm_external_project(libcxx)
   endif()
   if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)