search for: cmake_version

Displaying 10 results from an estimated 10 matches for "cmake_version".

Did you mean: make_version
2016 Apr 26
3
Fwd: [cfe-dev] Raising CMake minimum version to 3.4.3
...without being on CMake 3.4 or newer. These limitations make using ExternalProject to build the LLVM test-suite and runtime libraries (compiler-rt, libcxx, etc) difficult. > > The other big motivation that I have for this is the ability to cleanup code. We have a lot of CMake code that checks CMAKE_VERSION and enables and disables features used on the version. None of the places where we currently have CMAKE_VERSION checks should impact build correctness, but most people don’t realize that if you’re using Ninja your build will be faster on a newer CMake than on an older one. It would be nice if we ju...
2016 Apr 27
4
[cfe-dev] Fwd: Raising CMake minimum version to 3.4.3
...ould be a lot of work... > One approach commonly used with CMake modules that change frequently upstream is for the project to keep a local copy and have a check in place to use CMake's version if new enough. For instance, in llvm's source tree: cmake/modules/ExternalProject.cmake: if(CMAKE_VERSION VERSION_LESS "3.5.1") include(${PROJECT_SOURCE_DIR}/cmake/modules/newcmake/ExternalProject.cmake) else() include(${CMAKE_ROOT}/Modules/ExternalProject.cmake) endif() cmake/modules/newcmake/ExternalProject.cmake - Copy of the ExternalProject.cmake shipped with 3.5.1 Then in the top le...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...OR DEFINED ARG_LINK_COMPONENTS) + if (LLVM_LINK_LLVM_DYLIB AND NOT ARG_DISABLE_LLVM_LINK_LLVM_DYLIB) + set(llvm_libs LLVM) + else() + llvm_map_components_to_libnames(llvm_libs + ${ARG_LINK_COMPONENTS} + ${LLVM_LINK_COMPONENTS} + ) + endif() endif() if(CMAKE_VERSION VERSION_LESS 2.8.12) Index: cmake/modules/LLVM-Config.cmake =================================================================== --- cmake/modules/LLVM-Config.cmake (revision 259743) +++ cmake/modules/LLVM-Config.cmake (working copy) @@ -40,10 +40,17 @@ # done in case libLLVM does not c...
2016 Apr 27
3
[cfe-dev] Fwd: Raising CMake minimum version to 3.4.3
...> newer. These limitations make using ExternalProject to build the LLVM >> test-suite and runtime libraries (compiler-rt, libcxx, etc) difficult. >> >> The other big motivation that I have for this is the ability to cleanup >> code. We have a lot of CMake code that checks CMAKE_VERSION and enables and >> disables features used on the version. None of the places where we >> currently have CMAKE_VERSION checks should impact build correctness, but >> most people don’t realize that if you’re using Ninja your build will be >> faster on a newer CMake than on an...
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...OR DEFINED ARG_LINK_COMPONENTS) + if (LLVM_LINK_LLVM_DYLIB AND NOT ARG_DISABLE_LLVM_LINK_LLVM_DYLIB) + set(llvm_libs LLVM) + else() + llvm_map_components_to_libnames(llvm_libs + ${ARG_LINK_COMPONENTS} + ${LLVM_LINK_COMPONENTS} + ) + endif() + endif() + if(CMAKE_VERSION VERSION_LESS 2.8.12) # Link libs w/o keywords, assuming PUBLIC. target_link_libraries(${name} @@ -885,11 +891,18 @@ add_llvm_executable(${test_name} IGNORE_EXTERNALIZE_DEBUGINFO ${ARGN}) set(outdir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}) set_output_directory(${test_name}...
2019 Oct 21
3
RFC: LLVM Build System Future Direction
...build system to better facilitate LLVM development and provide a usable, extensible, and stable build system for LLVM and all sub-projects. ### Updating CMake More Regularly In the past we have clung to old versions of CMake for extended periods of time. This has resulted in significant checking `CMAKE_VERSION` to enable some features or being completely unable to use others. In particular recent CMake development extending generator expressions could provide substantial benefit to the project. If we stick to current upgrade policies, we may not be able to use the current CMake release for another few ye...
2019 Oct 24
2
RFC: LLVM Build System Future Direction
...o better facilitate LLVM development and provide a usable, extensible, and stable build system for LLVM and all sub-projects. > > ### Updating CMake More Regularly > In the past we have clung to old versions of CMake for extended periods of time. This has resulted in significant checking `CMAKE_VERSION` to enable some features or being completely unable to use others. In particular recent CMake development extending generator expressions could provide substantial benefit to the project. If we stick to current upgrade policies, we may not be able to use the current CMake release for another few ye...
2019 Oct 29
11
RFC: LLVM Build System Future Direction
...ilitate LLVM development and provide a usable, extensible, and stable build system for LLVM and all sub-projects. >> >> ### Updating CMake More Regularly >> In the past we have clung to old versions of CMake for extended periods of time. This has resulted in significant checking `CMAKE_VERSION` to enable some features or being completely unable to use others. In particular recent CMake development extending generator expressions could provide substantial benefit to the project. If we stick to current upgrade policies, we may not be able to use the current CMake release for another few ye...
2019 Oct 29
2
RFC: LLVM Build System Future Direction
...ble, > and stable build system for LLVM and all > sub-projects. > > ### Updating CMake More Regularly > In the past we have clung to old versions of > CMake for extended periods of time. This has > resulted in significant checking > `CMAKE_VERSION` to enable some features or > being completely unable to use others. In > particular recent CMake development extending > generator expressions could provide > substantial benefit to the project. If we > stick to current upgrade policies, we may not >...
2016 Apr 27
3
[cfe-dev] Fwd: Raising CMake minimum version to 3.4.3
Most of the comments I have are actually very well captured by Chandler's email, so I'm not going to pile on. I do have a few things to add. Renato, in your most recent email you comment about differentiating *stable* vs random versions of CMake built from source. I believe as a community our recommendation should be that people download CMake sources from https://CMake.org/download/