summaryrefslogtreecommitdiffstats
path: root/pstl/cmake
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-12-21 15:59:04 +0000
committerLouis Dionne <ldionne@apple.com>2018-12-21 15:59:04 +0000
commit5e334b516b29ff0acdb758d77fb1f7c175666ed5 (patch)
treef2557981c99c923be935498d4476998d934fb952 /pstl/cmake
parent96c11eceb29ec445cdaebc2d7b4b55f50afd6d14 (diff)
downloadbcm5719-llvm-5e334b516b29ff0acdb758d77fb1f7c175666ed5.tar.gz
bcm5719-llvm-5e334b516b29ff0acdb758d77fb1f7c175666ed5.zip
[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
Diffstat (limited to 'pstl/cmake')
-rw-r--r--pstl/cmake/FindTBB.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/pstl/cmake/FindTBB.cmake b/pstl/cmake/FindTBB.cmake
index 654ee410451..e7b36367700 100644
--- a/pstl/cmake/FindTBB.cmake
+++ b/pstl/cmake/FindTBB.cmake
@@ -9,17 +9,6 @@
include(FindPackageHandleStandardArgs)
-# Firstly search for TBB in config mode (i.e. search for TBBConfig.cmake).
-find_package(TBB QUIET CONFIG)
-if (TBB_FOUND)
- find_package_handle_standard_args(TBB
- REQUIRED_VARS TBB_IMPORTED_TARGETS
- HANDLE_COMPONENTS
- VERSION_VAR TBB_VERSION
- CONFIG_MODE)
- return()
-endif()
-
if (NOT TBB_FIND_COMPONENTS)
set(TBB_FIND_COMPONENTS tbb tbbmalloc)
foreach (_tbb_component ${TBB_FIND_COMPONENTS})
OpenPOWER on IntegriCloud