[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)
commit5e334b516b29ff0acdb758d77fb1f7c175666ed5
treef2557981c99c923be935498d4476998d934fb952
parent96c11eceb29ec445cdaebc2d7b4b55f50afd6d14
[pstl] Initial integration with LLVM's CMake

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

llvm-svn: 349919
llvm/projects/CMakeLists.txt
pstl/CMakeLists.txt
pstl/cmake/FindTBB.cmake
pstl/test/CMakeLists.txt [new file with mode: 0644]