summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'find_package_module_mode_print_debug_message'Brad King2020-09-251-0/+16
|\ | | | | | | | | | | | | | | b423a20ce1 FindPackage: Provide better debug message when <PKG_FOUND> is false a7acafc977 FindPackage: find_package(MODULE) respects CMAKE_FIND_DEBUG_MODE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5256
| * FindPackage: Provide better debug message when <PKG_FOUND> is falseRobert Maynard2020-09-221-0/+11
| |
| * FindPackage: find_package(MODULE) respects CMAKE_FIND_DEBUG_MODERobert Maynard2020-09-221-0/+5
| | | | | | | | Fixes #21216
* | Merge topic 'cuda_clang_separable'Brad King2020-09-2522-124/+502
|\ \ | | | | | | | | | | | | | | | | | | c63fe01835 CUDA: Clang separable compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5221
| * | CUDA: Clang separable compilationRaul Tambre2020-09-2422-124/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For NVCC the compiler takes care of device linking when passed the "-dlink" flag. Clang doesn't support such magic and requires the buildsystem to do the work that NVCC does behind the scenes. The implementation is based on Bazel's device linking documentation: https://github.com/tensorflow/tensorflow/blob/7cabcdf073abad8c46e9dda62bb8fa4682d2061e/third_party/nccl/build_defs.bzl.tpl#L259 Closes: #20726
* | | Merge topic 'xcode-12-new-build-system'Brad King2020-09-252-16/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a67c3ebe1 Xcode: Remove dependency Makefile hacks under the "new build system" c6c7f6fbeb Xcode: Remove remnants of ancient XCODE_DEPEND_HELPER utility target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5267
| * | | Xcode: Remove dependency Makefile hacks under the "new build system"Brad King2020-09-241-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The original Xcode build system did not properly re-link targets that consumed object libraies. We worked around that with a post-build command on the object libraries themselves that removed their consumers if out of date. The "new build system" does not appear to need such help, so drop the workaround.
| * | | Xcode: Remove remnants of ancient XCODE_DEPEND_HELPER utility targetBrad King2020-09-242-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | The target has not been generated since commit d92d51429e (BUG: fix for bug 6193, fix xcode depend helper, 2008-01-10, v2.6.0~553). Remove it from the list of special targets.
* | | | Merge branch 'release-3.18'Brad King2020-09-250-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'clang-llvm-lib' into release-3.18Brad King2020-09-251-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5d3da091b Clang: Look for llvm-lib when using MSVC-like front-end Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Thomas Bernard <thomas@famillebernardgouriou.fr> Merge-request: !5264
* | \ \ \ \ Merge topic 'clang-llvm-lib'Brad King2020-09-251-1/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5d3da091b Clang: Look for llvm-lib when using MSVC-like front-end Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Thomas Bernard <thomas@famillebernardgouriou.fr> Merge-request: !5264
| * | | | | Clang: Look for llvm-lib when using MSVC-like front-endShoaib Meenai2020-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 55196a1440 (MSVC: Use 'lib' instead of 'link /lib' to create static libraries, 2020-01-10, v3.18.0-rc1~625^2) we changed CMake to use lib instead of `link /lib` to create static libraries, but it didn't search for `llvm-lib`. If you have `llvm-lib` but not `lib` (e.g. when cross-compiling), when `CMakeFindBinutils` is invoked for the `C` and `CXX` languages, `CMAKE_AR` is not found. When it's subsequently invoked for the ASM language, `CMAKE_ASM_SIMULATE_ID` and `CMAKE_ASM_COMPILER_FRONTEND_VARIANT` are not set (because `CMakeDetermineASMCompiler` doesn't call `CMAKE_DETERMINE_COMPILER_ID`, which sets those variables), so we go down the non-MSVC conditional and set `CMAKE_AR` to a GNU-style `ar`, which of course does not understand lib flags. Explicitly search for `llvm-lib` to avoid this situation.
* | | | | | Merge topic 'linux-_FILE_OFFSET_BITS-64'Brad King2020-09-251-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b10f96793 Linux: Compile with _FILE_OFFSET_BITS=64 on 32-bit Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !5258
| * | | | | | Linux: Compile with _FILE_OFFSET_BITS=64 on 32-bit LinuxMarc Chevrier2020-09-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid problems accessing filesystem, use 64-bit file offsets when compilation model is 32-bit. This explicit definition is needed now that KWSys does not provide LFS settings in its headers anymore. Fixes: #20568
* | | | | | | CMake Nightly Date StampKitware Robot2020-09-251-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Merge topic 'update-libuv'Brad King2020-09-2449-536/+1602
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a0506bafe libuv: Suppress conversion warning on Windows 2269ad6a0a libuv: Add fs_copy stub to cmake-bootstrap.c e21325c2c6 Merge branch 'upstream-libuv' into update-libuv c1463f959f libuv 2020-09-22 (ed5b42d5) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5259
| * | | | | | libuv: Suppress conversion warning on WindowsBrad King2020-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a cast to avoid the conversion warning with minimal changes to third-party code.
| * | | | | | libuv: Add fs_copy stub to cmake-bootstrap.cBrad King2020-09-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now called by `uv__fs_sendfile` in `src/unix/fs.c` but we do not need that feature during CMake bootstrap.
| * | | | | | Merge branch 'upstream-libuv' into update-libuvBrad King2020-09-2348-536/+1594
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-libuv: libuv 2020-09-22 (ed5b42d5)
| | * | | | | | libuv 2020-09-22 (ed5b42d5)libuv upstream2020-09-2348-537/+1593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libuv/libuv.git at commit ed5b42d5b70b69f4c84f99e4112233375b17d6a4 (v1.x).
* | | | | | | | Merge topic 'zstd-1.4.5'Brad King2020-09-2466-3972/+7723
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ca54e7179 zstd: version 1.4.5 update 0b3e9259dd Merge branch 'upstream-zstd' 4676ad8c32 zstd 2020-05-21 (b706286a) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5260
| * | | | | | | | zstd: version 1.4.5 updateCristian Adam2020-09-232-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add source files needed to properly compile / link to zstd version 1.4.5
| * | | | | | | | Merge branch 'upstream-zstd'Cristian Adam2020-09-2364-3971/+7719
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By zstd upstream * upstream-zstd: zstd 2020-05-21 (b706286a)
| | * | | | | | | | zstd 2020-05-21 (b706286a)zstd upstream2020-09-2364-3971/+7719
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/facebook/zstd.git at commit b706286adbba780006a47ef92df0ad7a785666b6 (v1.4.5).
* | | | | | | | | | Merge topic 'cmake-gui-tests'Brad King2020-09-2424-9/+458
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dcc569828 gitlab-ci: Add GUI testing to each OS 4c6e5cd0fa Tests: Add some basic tests for CMake GUI 41e223deb3 CMake GUI: Split up into libraries, add test shim b7995b62f0 QCMakeCacheView: Default to nullptr for parent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5224
| * | | | | | | | | | gitlab-ci: Add GUI testing to each OSKyle Edwards2020-09-238-1/+20
| | | | | | | | | | |
| * | | | | | | | | | Tests: Add some basic tests for CMake GUIKyle Edwards2020-09-2312-0/+406
| | | | | | | | | | |
| * | | | | | | | | | CMake GUI: Split up into libraries, add test shimKyle Edwards2020-09-233-7/+31
| | | | | | | | | | |
| * | | | | | | | | | QCMakeCacheView: Default to nullptr for parentKyle Edwards2020-09-231-1/+1
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge topic 'proper_device_libraries_architecture'Brad King2020-09-241-0/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1cd4a37c12 Tests: Use sm_35 in Cuda.ProperDeviceLibraries for CUDA <10.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5261
| * | | | | | | | | | Tests: Use sm_35 in Cuda.ProperDeviceLibraries for CUDA <10.0Raul Tambre2020-09-231-0/+5
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the cublas device libraries seems to require at least sm_35. Set the architecture explicitly to sm_35 for old CUDA versions, which still have the cublas device library.
* | | | | | | | | | Merge topic 'check-source-modules'Brad King2020-09-2445-763/+665
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 357e2ef429 CheckSoureRuns: Add a unified way to check if a source runs 10ae907de0 CheckSoureCompiles: Add a unified way to check if a source compiles f5c928f73c Add a test to verify '\' handling in CHECK_CXX_SOURCE_COMPILES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5223
| * | | | | | | | | | CheckSoureRuns: Add a unified way to check if a source runsRobert Maynard2020-09-2323-387/+330
| | | | | | | | | | |
| * | | | | | | | | | CheckSoureCompiles: Add a unified way to check if a source compilesRobert Maynard2020-09-2324-376/+331
| | | | | | | | | | |
| * | | | | | | | | | Add a test to verify '\' handling in CHECK_CXX_SOURCE_COMPILESRobert Maynard2020-09-231-0/+4
| |/ / / / / / / / /
* | | | | | | | | | Merge topic 'obj-lib-per-config-source'Brad King2020-09-245-10/+50
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f76e7429b OBJECT libraries: Properly recognize if sources depend on configuration d575ecc9de cmGeneratorTarget: Better name for internal variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5252
| * | | | | | | | | | OBJECT libraries: Properly recognize if sources depend on configurationDeniz Bahadir2020-09-235-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21198
| * | | | | | | | | | cmGeneratorTarget: Better name for internal variableDeniz Bahadir2020-09-222-5/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'release-3.18'Brad King2020-09-240-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | |
| * | | | | | | | | | Merge topic 'FindPython-fix-regex' into release-3.18Brad King2020-09-241-1/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c094c1c1e FindPython: Fix erroneous regex in ABI check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5257
* | | | | | | | | | | Merge topic 'FindPython-fix-regex'Brad King2020-09-241-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | / / | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c094c1c1e FindPython: Fix erroneous regex in ABI check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5257
| * | | | | | | | | FindPython: Fix erroneous regex in ABI checkMarc Chevrier2020-09-231-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A regex added by commit 6fdfe2428d (FindPython: enhance ABI checks against include directory, 2020-09-02, v3.18.3~17^2) was missing a backslash. Fixes: #21223
* | | | | | | | | Merge topic 'find_package-version-range'Craig Scott2020-09-2452-237/+1099
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b3356263c CMakePackageConfigHelpers: Add version range support 6bfc442fde FPHSA: add support of version range d7df81067b find_package: Add support of version range 09095dbcd2 cmFindPackageCommand: Refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5226
| * | | | | | | | | CMakePackageConfigHelpers: Add version range supportMarc Chevrier2020-09-238-5/+64
| | | | | | | | | |
| * | | | | | | | | FPHSA: add support of version rangeMarc Chevier2020-09-2321-58/+242
| | | | | | | | | |
| * | | | | | | | | find_package: Add support of version rangeMarc Chevier2020-09-2323-80/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enhancement is the first step for solving issue #21107
| * | | | | | | | | cmFindPackageCommand: RefactoringMarc Chevrier2020-09-232-99/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use member initialisation at declaration * AddFindDefinition: same signature as cmMakefile::AddDefinition for consistency * Factorise version variables creation
* | | | | | | | | | CMake Nightly Date StampKitware Robot2020-09-241-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge topic 'intel-dpcpp'Brad King2020-09-233-0/+9
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 887f3a88a6 Intel: Add Intel DPC++ compiler identification Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5255
| * | | | | | | | | Intel: Add Intel DPC++ compiler identificationHarini Chilamantula2020-09-223-0/+9
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiler identifies itself with the `__INTEL_DPCPP_COMPILER__` preprocessor definition.