- Apr 17, 2021
-
-
Craig Scott authored
The meaning of "absolute path" was previously assumed knowledge, but a number of special cases were left unspecified. The way some of these are handled differs to the way that cmake_path(IS_ABSOLUTE) works, so document those special cases so that the differing behavior between these two commands is clearly defined.
-
Craig Scott authored
-
- Apr 14, 2021
-
-
317a4772 OpenBSD: Fix system feature definitions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6000
-
Since commit f034b0f6 (CMake compilation: do not use compiler extensions, 2020-03-14, v3.18.0-rc1~494^2), some sources explicitly enable needed system APIs on some platforms using definitions like `_POSIX_C_SOURCE` and `_XOPEN_SOURCE`. Drop the definitions for OpenBSD, which provides the POSIX APIs by default.
-
3fd2cffb ci: limit builds by machine load 6317f921 ci: pay attention to the machine load when running tests Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5989
-
- Apr 08, 2021
-
-
3953dfcb Restore support for backslashes in initial language-wide flags Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5995
-
8e38985d Makefiles: Fix dependency extraction with CUDA < 10.2 and host compiler Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Raul Tambre <raul@tambre.ee> Acked-by:
Robert Maynard <robertjmaynard@gmail.com> Merge-request: !5992
-
9ef82d95 FindBLAS: Fix detection of OpenMP as dependency of BLA_STATIC Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5993
- Apr 07, 2021
-
-
Brad King authored
Refactoring in commit bdc40742 (CMakeDetermineCompilerId: Test without COMPILER_ID_FLAGS if REQUIRE_SUCCESS, 2021-02-27, v3.20.0-rc3~6^2) added an extra macro layer through which flag strings are passed. That caused an extra level of argument re-parsing, and broke flags with backslashes. Pass flags to the helper macro through variable names instead. Fixes: #22041
-
Brad King authored
Update the change from commit f7f3d898 (FindBLAS: Add dependency of OpenBLAS on OpenMP for BLA_STATIC, 2020-11-10, v3.20.0-rc1~492^2): * If C is not enabled, find CXX OpenMP libraries instead. * Do not use BLA_STATIC's custom CMAKE_FIND_LIBRARY_SUFFIXES for OpenMP. It can break projects that already call `find_package(OpenMP)` and expect a shared library. Whether OpenMP is static is orthogonal to whether BLAS is static. Fixes: #22039 Issue: #16221
-
Brad King authored
Since commit 2c71d051 (Makefiles Generators: use compiler for dependencies generation, 2020-10-18, v3.20.0-rc1~392^2) we invoke `nvcc` for CUDA < 10.2 a second time in order to generate a depfile. When `CMAKE_CUDA_HOST_COMPILER` is set, the second invocation is missing its `-ccbin=` option, even after refactoring in commit 8981e3e7 (NVIDIA-CUDA: rely on new capabilities for deps generation, 2020-12-02, v3.20.0-rc1~362^2). Ideally we should move the `-ccbin=` flag into `Compiler/NVIDIA-CUDA`, but that will add `CMAKE_CUDA_HOST_COMPILER` support on Windows in command-line generators but not the Visual Studio generators. For now, add the flag to the depfile command specifically. Fixes: #22037
-
4d786dfc BinUtils: Avoid clobbering a variable named without a private prefix Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5986
-
4aed96e2 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
-
- Apr 06, 2021
-
-
Brad King authored
-
Ben Boeckel authored
To avoid starving test jobs, the build jobs should also back off if there is a lot of machine load.
-
Ben Boeckel authored
CMake's test suite is sensitive to machine load and can cause spurious timeouts. To acknowledge this, prevent CTest from spawning tests into a busy machine.
-
c6a45968 ci: Enable jq-based tests on Linux builds 8ca8b74a ci: add jq and DevIL to Debian and Fedora base images Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5987
-
Brad King authored
-
Brad King authored
-
Brad King authored
-
e17006c4 Utilities/Release: Add deprecation fields to File Table v1 89ab6132 Utilities/Release: Update file table for 3.20.0 c5777e54 Merge branch 'backport-3.19-rel-file-table' into rel-file-table f9f59fb0 Merge branch 'release-3.19' into backport-3.19-rel-file-table 30959aec Utilities/Release: Update file table for 3.19.3 d206c8f1 Merge tag 'v3.19.3' into backport-3.19-rel-file-table 004dbbad Utilities/Release: Update file table for 3.19.2 1e3301a2 Merge tag 'v3.19.2' into backport-3.19-rel-file-table ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Craig Scott <craig.scott@crascit.com> Merge-request: !5961
-
Brad King authored
-
Brad King authored
-
Brad King authored
Merge-request: !5961
-
764606e2 CMakeDetermineCompilerABI: Extract lib arch from implicit object file paths 5d44d73b CMakeDetermineCompilerABI: Revert "Parse library arch from versioned paths" Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5984
-
c3d0b255 UseSWIG: Transform swig depfile to match Ninja generator paths 8c525d7e UseSWIG: Run using policy settings from includer Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5983
-
ff84a80b FindHDF5: search for the new Fortran HL library name Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5976
-
Brad King authored
-
Brad King authored
Merge-request: !5981
-
a9fc751e libarchive: Use uint8_t instead of u_char Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5981
-
3538f1c6 Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5982
-
- Apr 05, 2021
-
-
Craig Scott authored
Since CMake 3.19, we no longer support macOS SDKs older than 10.5, which corresponds to Xcode 3. Supporting older Xcode versions for device platforms is also not realistic. We therefore expect the -rpath linker option should always be supported now. When targeting iOS, tvOS or watchOS, the previous disabling of -rpath support meant that the install_name_dir of shared libraries and frameworks was unable to use @rpath. This resulted in embedding absolute paths for their install_name. When they were embedded in an app bundle, this would cause the app to fail at runtime. By enabling the -rpath linker option, the default install_name_dir is now @rpath for these platforms, which results in binaries that do work at runtime. Fixes: #20036
-
Robert Maynard authored
The NVHPC compiler does not have any implicit link directories that can be used to detect `CMAKE_LIBRARY_ARCHITECTURE`, but it does have implicit object files. Extract implicit object file paths from link lines and check them for the `CMAKE_LIBRARY_ARCHITECTURE` pattern. Issue: #22024
-
The change in commit 657fc3a9 (CMakeDetermineCompilerABI: Parse library arch from versioned paths, 2021-02-03, v3.20.0-rc1~40^2) caused `CMAKE_LIBRARY_ARCHITECTURE` to be populated on non-multiarch platforms if their compilers happen to use `$arch/$version` library directories. Revert the use of versioned library paths. Fixes: #22024
-
Brad King authored
Since commit 89b01b04 (UseSWIG: use swig tool to generate dependencies, 2021-01-12, v3.20.0-rc1~120^2) we use a tool-provided depfile to extract dependencies under the Ninja generator. Enable `CMP0116` to ensure depfile paths are translated to match what the Ninja generator writes to the build manfiest. Fixes: #22029
-
Backport commit de7f0aa6 (UseSWIG: avoid spurious policy warnings, 2021-02-11) to the 3.20 release branch. Projects need to be able to control policies. Issue: #22029
-
Brad King authored
Provide a field for clients to check now so that we can deprecate things later.
-