summaryrefslogtreecommitdiffstats
path: root/llvm/projects/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add few docs and implementation of strcpy and strcat.Siva Chandra2019-10-041-0/+1
| | | | | | | | | | | | | | | | | Summary: This patch illustrates some of the features like modularity we want in the new libc. Few other ideas like different kinds of testing, redirectors etc are not yet present. Reviewers: dlj, hfinkel, theraven, jfb, alexshap, jdoerfert Subscribers: mgorny, dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67867 llvm-svn: 373764
* [libc++] Take 2: Integrate the PSTL into libc++Louis Dionne2019-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This commit allows specifying LIBCXX_ENABLE_PARALLEL_ALGORITHMS when configuring libc++ in CMake. When that option is enabled, libc++ will assume that the PSTL can be found somewhere on the CMake module path, and it will provide the C++17 parallel algorithms based on the PSTL (that is assumed to be available). The commit also adds support for running the PSTL tests as part of the libc++ test suite. The first attempt to commit this failed because it exposed a bug in the tests for modules. Now that this has been fixed, it should be safe to commit this. Reviewers: EricWF Subscribers: mgorny, christof, jkorous, dexonsmith, libcxx-commits, mclow.lists, EricWF Tags: #libc Differential Revision: https://reviews.llvm.org/D60480 llvm-svn: 367903
* Revert "[libc++] Integrate the PSTL into libc++"Louis Dionne2019-07-191-1/+1
| | | | | | | This reverts r366593, which caused unforeseen breakage on the build bots. I'm reverting until the problems have been figured out and fixed. llvm-svn: 366603
* [libc++] Integrate the PSTL into libc++Louis Dionne2019-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: This commit allows specifying LIBCXX_ENABLE_PARALLEL_ALGORITHMS when configuring libc++ in CMake. When that option is enabled, libc++ will assume that the PSTL can be found somewhere on the CMake module path, and it will provide the C++17 parallel algorithms based on the PSTL (that is assumed to be available). The commit also adds support for running the PSTL tests as part of the libc++ test suite. Reviewers: rodgert, EricWF Subscribers: mgorny, christof, jkorous, dexonsmith, libcxx-commits, mclow.lists, EricWF Tags: #libc Differential Revision: https://reviews.llvm.org/D60480 llvm-svn: 366593
* [pstl] Initial integration with LLVM's CMakeLouis Dionne2018-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* [projects] Use directory name for add_llvm_external_projectsShoaib Meenai2018-12-041-1/+2
| | | | | | | | add_llvm_external_projects expects the directory name instead of the full path, otherwise the check for an in-tree subproject will fail and the project won't be configured. llvm-svn: 348217
* [projects] Use add_llvm_external_project for implicit projectsShoaib Meenai2018-12-011-1/+1
| | | | | | | | | | | This allows disabling implicit projects via the LLVM_TOOL_*_BUILD variables, similar to how implicit tools can be disabled. They'll still be enabled by default, since add_llvm_external_project defaults the LLVM_TOOL_*_BUILD variables to ON for in-tree implciit projects. Differential Revision: https://reviews.llvm.org/D55105 llvm-svn: 348064
* [cmake] Support moving debuginfo-tests to llvm/projectsDon Hinton2017-12-121-1/+6
| | | | | | Differential Revision: https://reviews.llvm.org/D40972 llvm-svn: 320497
* Re-revert "Refactor debuginfo-tests."Zachary Turner2017-11-211-1/+0
| | | | | | | | | | This is still breaking greendragon. At this point I give up until someone can fix the greendragon bots, and I will probably abandon this effort in favor of using a private github repository. llvm-svn: 318722
* Resubmit "Refactor debuginfo-tests" again.Zachary Turner2017-11-201-0/+1
| | | | | | | | | | | | This was reverted due to the tests being run twice on some build bots. Each run had a slightly different configuration due to the way in which it was being invoked. This fixes the problem (albeit in a somewhat hacky way). Hopefully in the future we can get rid of the workflow of running debuginfo-tests as part of clang, and then this hack can go away. llvm-svn: 318697
* Re-revert "Refactor debuginfo-tests"Zachary Turner2017-11-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | This is still broken because it causes certain tests to be run twice with slightly different configurations, which is wrong in some cases. You can observe this by running: ninja -nv check-all | grep debuginfo-tests And seeing that it passes clang/test and clang/test/debuginfo-tests to lit, which causes it to run debuginfo-tests twice. The fix is going to involve either: a) figuring out that we're running in this "deprecated" configuration, and then deleting the clang/test/debuginfo-tests path, which should cause it to behave identically to before, or: b) make lit smart enough that it doesn't descend into a sub-suite if that sub-suite already has a lit.cfg file. llvm-svn: 318486
* Resubmit "Refactor debuginfo-tests"Zachary Turner2017-11-161-0/+1
| | | | | | | | | | This was reverted due to some failures on specific darwin buildbots, the issue being that the new lit configuration was not setting the SDKROOT environment variable. We've tested a fix locally and confirmed that it works, so this patch resubmits everything with the fix applied. llvm-svn: 318435
* Revert "Update test_debuginfo.pl script to point to new tree location."Zachary Turner2017-11-131-1/+0
| | | | | | | | This reverts the aforementioned patch and 2 subsequent follow-ups, as some buildbots are still failing 2 tests because of it. Investigation is ongoing into the cause of the failures. llvm-svn: 318112
* [debuginfo-tests] Make debuginfo-tests work in a standard configuration.Zachary Turner2017-11-101-0/+1
| | | | | | | | | | | | | | | | | | | Previously, debuginfo-tests was expected to be checked out into clang/test and then the tests would automatically run as part of check-clang. This is not a standard workflow for handling external projects, and it brings with it some serious drawbacks such as the inability to depend on things other than clang, which we will need going forward. The goal of this patch is to migrate towards a more standard workflow. To ease the transition for build bot maintainers, this patch tries not to break the existing workflow, but instead simply deprecate it to give maintainers a chance to update the build infrastructure. Differential Revision: https://reviews.llvm.org/D39605 llvm-svn: 317925
* Add temporary workaround to allow in-tree libc++ builds on WindowsEric Fiselier2017-05-111-1/+3
| | | | llvm-svn: 302753
* [cmake] Include openmp with add_llvm_external_projectPirama Arumuga Nainar2017-03-071-1/+3
| | | | | | | | | | | | | | | | Summary: Include projects/openmp into the build using add_llvm_external_project instead of add_subdirectory. This creates an option LLVM_TOOL_OPENMP_BUILD that selects whether this project gets included in an in-tree build. Reviewers: beanz, AndreyChurbanov, jlpeyton Subscribers: srhines, openmp-commits, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D30470 llvm-svn: 297185
* [CMake] Correct configuration order of the sub-projects based on ther ↵Eric Fiselier2016-10-091-3/+3
| | | | | | dependancies llvm-svn: 283698
* Enable in-tree builds of parallel-libs.Justin Lebar2016-09-091-1/+3
| | | | | | | | | | | | | | Summary: parallel-libs needs its own changes to make this work; these are just the LLVM changes. Reviewers: jhen Subscribers: llvm-commits, beanz, jprice Differential Revision: https://reviews.llvm.org/D24402 llvm-svn: 281097
* [CMake] Disable adding the test suite as a projects subdirectoryChris Bieneman2015-10-281-1/+2
| | | | | | This will never work as an add_subdirectory call, so we should just make sure it doesn't happen. To do this properly we'll need to add it under clang similar to the external compiler-rt. llvm-svn: 251543
* build: make libunwind a proper projectSaleem Abdulrasool2015-04-251-1/+3
| | | | | | This allows the build infrastructure to properly detect and build libunwind. llvm-svn: 235796
* Reverse the order libc++ and libc++abi are added in CMake.Eric Fiselier2015-03-041-1/+3
| | | | llvm-svn: 231190
* [cmake] Use the external project machinery for libcxxabi so that it canChandler Carruth2014-07-251-1/+3
| | | | | | be disabled in CMake or relocated if desired. llvm-svn: 213936
* [CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT optionAlexey Samsonov2014-02-271-1/+3
| | | | llvm-svn: 202363
* Remove dead code, we already require cmake 2.8.8.Rafael Espindola2014-02-161-5/+1
| | | | llvm-svn: 201495
* llvm/projects/CMakeLists.txt: Add dragonegg.NAKAMURA Takumi2014-01-241-0/+3
| | | | llvm-svn: 199995
* Disable libc++ building by default with CMake with MSVC -- some botsChandler Carruth2013-10-021-1/+5
| | | | | | aren't yet happy with this config. llvm-svn: 191811
* Enable libcxx as part of the top level CMake build when it is checkedChandler Carruth2013-09-281-2/+3
| | | | | | | out in projects. This appears to be working on my system, and I will be watching build bots to see if there are any issues on other platforms. llvm-svn: 191624
* Print a warning message if compiler-rt can't be built because of old CMake ↵Alexey Samsonov2013-03-051-3/+6
| | | | | | version to make this requirement more visible to users llvm-svn: 176481
* [CMake] Introduce LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR.NAKAMURA Takumi2012-10-241-4/+2
| | | | llvm-svn: 166552
* [CMake] Respect LLVM_BUILD_RUNTIME.Michael J. Spencer2012-09-211-0/+1
| | | | llvm-svn: 164424
* Enable recursing into the compiler-rt projcet with the CMake build.Chandler Carruth2012-08-291-0/+8
| | | | | | | | | | | | | This only fires if using a recent enough CMake -- compiler-rt uses a few of the more advanced features that not everyone needs. Please let me know if anyone sees issues with this. I'll be updating documentation and other stuff to tell people about this. Many thanks to Alexey for doing a ton of work to get ASan's CMake build into a really fantastic shape. =] llvm-svn: 162815
* Exclude both libcxx and compiler-rt until we get their CMake buildsChandler Carruth2012-06-271-1/+2
| | | | | | suitable for building as a whole-project. llvm-svn: 159241
* CMake: Fixed syntax in conditional.Oscar Fuentes2010-02-151-1/+1
| | | | llvm-svn: 96221
* CMake: Don't try to descend into projects/compiler-rt, it doesn't work.Daniel Dunbar2010-01-221-1/+3
| | | | llvm-svn: 94187
* CMake: auto-discover project files under the projects/ subdirectory.Oscar Fuentes2009-03-061-0/+9
Patch by Viktar Zviarovich! llvm-svn: 66230
OpenPOWER on IntegriCloud