search for: exclude_from_all

Displaying 19 results from an estimated 19 matches for "exclude_from_all".

2013 Dec 29
2
[LLVMdev] [PATCH] Prevent CMake from installing libgtest*.
.../CMakeLists.txt index fd1a048..c11c110 100644 --- a/utils/unittest/CMakeLists.txt +++ b/utils/unittest/CMakeLists.txt @@ -38,6 +38,9 @@ if(MSVC AND MSVC_VERSION EQUAL 1700) add_definitions(-D_VARIADIC_MAX=10) endif () +# Delay building until the tests pull it in, and avoid installing it. +set(EXCLUDE_FROM_ALL ON) + add_llvm_library(gtest googletest/src/gtest-all.cc ) -- 1.8.5.2
2016 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...e > > +++ cmake/modules/LLVMExternalProjectUtils.cmake > > @@ -29,7 +29,8 @@ > > # Extra targets in the subproject to generate targets for > > # ) > > function(llvm_ExternalProject_Add name source_dir) > > - cmake_parse_arguments(ARG "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL" > > + cmake_parse_arguments(ARG > > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN" > > "SOURCE_DIR" > > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIBRARIES;DEPENDS;EXTRA_TARGETS" ${ARGN}) > > canonic...
2016 Jun 09
2
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...alProjectUtils.cmake >>> > @@ -29,7 +29,8 @@ >>> > # Extra targets in the subproject to generate targets for >>> > # ) >>> > function(llvm_ExternalProject_Add name source_dir) >>> > - cmake_parse_arguments(ARG "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL" >>> > + cmake_parse_arguments(ARG >>> > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN" >>> > "SOURCE_DIR" >>> > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIBRARIES;DEPENDS;EXTRA_TARGETS&quo...
2016 Jun 10
4
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...; > @@ -29,7 +29,8 @@ >>>>> > # Extra targets in the subproject to generate targets for >>>>> > # ) >>>>> > function(llvm_ExternalProject_Add name source_dir) >>>>> > - cmake_parse_arguments(ARG "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL" >>>>> > + cmake_parse_arguments(ARG >>>>> > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN" >>>>> > "SOURCE_DIR" >>>>> > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIB...
2020 Mar 26
12
Upgrading LLVM's minimum required CMake version
...hem just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2020 Mar 26
4
Upgrading LLVM's minimum required CMake version
...le, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. >> >> CMake 3.5 (released March 8th 2016): >> * install(DIRECTORY) supports generator expressions >> >> CMake 3.6 (released July 7th 2016): >> * install() supports EXCLUDE_FROM_ALL >> * list() supports FILTER to filter by regular expression >> * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...them just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...them just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2020 Mar 26
2
Upgrading LLVM's minimum required CMake version
...them just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) endif() if( LLVM_INCLUDE_TESTS ) - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) - include(LLVMExternalProjectUtils) - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite - USE_TOOLCHAIN - EXCLUDE_FROM_ALL - NO_INSTALL - ALWAYS_CLEAN) + if(TARGET clang) + if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite) + include(LLVMExternalProjectUtils) + llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite + USE_TOOLCHAIN + EXCLUDE_FROM_ALL +...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...gt;> if( LLVM_INCLUDE_TESTS ) >> - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) >> - include(LLVMExternalProjectUtils) >> - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >> - USE_TOOLCHAIN >> - EXCLUDE_FROM_ALL >> - NO_INSTALL >> - ALWAYS_CLEAN) >> + if(TARGET clang) >> + if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite) >> + include(LLVMExternalProjectUtils) >> + llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...) > endif() > > if( LLVM_INCLUDE_TESTS ) > - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) > - include(LLVMExternalProjectUtils) > - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > - USE_TOOLCHAIN > - EXCLUDE_FROM_ALL > - NO_INSTALL > - ALWAYS_CLEAN) > + if(TARGET clang) > + if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite) > + include(LLVMExternalProjectUtils) > + llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > + USE_TOOLCHAIN...
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. >> >> CMake 3.5 (released March 8th 2016): >> * install(DIRECTORY) supports generator expressions >> >> CMake 3.6 (released July 7th 2016): >> * install() supports EXCLUDE_FROM_ALL >> * list() supports FILTER to filter by regular expression >> * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system...
2020 Apr 04
3
Upgrading LLVM's minimum required CMake version
...ependencies of object compilation, which should > result in faster Ninja builds. > > CMake 3.5 (released March 8th 2016): > * install(DIRECTORY) supports generator expressions > > CMake 3.6 (released July 7th 2016): > * install() supports EXCLUDE_FROM_ALL > * list() supports FILTER to filter by regular expression > * Subninja support, which could theoretically be used for much > faster runtimes builds, although in practice we probably want > to make ExternalProject support this directly instead of >...
2020 Apr 06
5
Upgrading LLVM's minimum required CMake version
...them just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2020 Apr 07
2
Upgrading LLVM's minimum required CMake version
...them just by using a newer CMake yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. CMake 3.5 (released March 8th 2016): * install(DIRECTORY) supports generator expressions CMake 3.6 (released July 7th 2016): * install() supports EXCLUDE_FROM_ALL * list() supports FILTER to filter by regular expression * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top * CMAKE_TRY...
2020 Apr 07
3
Upgrading LLVM's minimum required CMake version
...e >> dependencies of object compilation, which should result in faster Ninja >> builds. >> >> CMake 3.5 (released March 8th 2016): >> * install(DIRECTORY) supports generator expressions >> >> CMake 3.6 (released July 7th 2016): >> * install() supports EXCLUDE_FROM_ALL >> * list() supports FILTER to filter by regular expression >> * Subninja support, which could theoretically be used for much faster >> runtimes builds, although in practice we probably want to make >> ExternalProject support this directly instead of trying to layer our own...
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...e yourself. For example, 3.9 loosens the dependencies of object compilation, which should result in faster Ninja builds. > > CMake 3.5 (released March 8th 2016): > * install(DIRECTORY) supports generator expressions > > CMake 3.6 (released July 7th 2016): > * install() supports EXCLUDE_FROM_ALL > * list() supports FILTER to filter by regular expression > * Subninja support, which could theoretically be used for much faster runtimes builds, although in practice we probably want to make ExternalProject support this directly instead of trying to layer our own meta-build system on top &...
2017 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
I sorta enjoy debugging stuff like this, so if you don't mind, I'll dig into it once I get a chance -- traveling so, my access is a bit sketchy right now. I'll see if I can grab the logs and let you know if I find anything interesting. On Tue, Nov 21, 2017 at 7:04 PM, Zachary Turner <zturner at google.com> wrote: > That change was added specifically to workaround a failure