Commit Graph

63516 Commits

Author SHA1 Message Date
Cristian Le 8f9f371668 try_compile: Add support for using ALIAS targets
Fixes: #25337
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-10-16 20:22:23 +02:00
Cristian Le 9f8aa94192 Add missing OUTPUT in ExportImport test 2023-10-16 18:26:04 +02:00
Brad King fceeaff949 Merge topic 'linker-user-selection'
96a953b1ed Add options to specify linker tool

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8861
2023-10-16 10:39:51 -04:00
Brad King 418bc7f425 Merge branch 'release-3.28' 2023-10-16 10:38:28 -04:00
Brad King 1ac721b42f Merge topic 'bootstrap-known-compilers'
7662d50a1b bootstrap: update known compilers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8876
2023-10-16 10:38:27 -04:00
Brad King 7080b4ae83 Merge topic 'bootstrap-known-compilers' into release-3.28
7662d50a1b bootstrap: update known compilers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8876
2023-10-16 10:38:26 -04:00
Brad King b71f0c1d94 Merge branch 'release-3.28' 2023-10-16 10:37:33 -04:00
Brad King 48acf2be19 Merge topic 'nvfortran-mipa'
44faa3773c PGI/NVHPC: Remove -Mipa compiler option for 23.3+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !8874
2023-10-16 10:37:33 -04:00
Brad King b27dcf293e Merge topic 'nvfortran-mipa' into release-3.28
44faa3773c PGI/NVHPC: Remove -Mipa compiler option for 23.3+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !8874
2023-10-16 10:37:24 -04:00
Brad King c0a066ab27 Merge branch 'release-3.28' 2023-10-16 10:35:59 -04:00
Brad King 5dce52e417 Merge topic 'revert-autogen-exe-per-config'
c074f5c81e Autogen: Revert "AUTO*_EXECUTABLE: add support for per-config values"
06a9b25b17 Tests: Revert "NinjaMultiConfig: Update tests for the new dependency change"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8878
2023-10-16 10:35:59 -04:00
Brad King d624435096 Merge topic 'revert-autogen-exe-per-config' into release-3.28
c074f5c81e Autogen: Revert "AUTO*_EXECUTABLE: add support for per-config values"
06a9b25b17 Tests: Revert "NinjaMultiConfig: Update tests for the new dependency change"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8878
2023-10-16 10:35:58 -04:00
Kitware Robot 4fd3397b6a CMake Nightly Date Stamp 2023-10-16 00:02:05 -04:00
Kitware Robot 734a009dcf CMake Nightly Date Stamp 2023-10-15 00:01:05 -04:00
Kitware Robot 0506d1d382 CMake Nightly Date Stamp 2023-10-14 00:01:19 -04:00
Orkun Tokdemir c074f5c81e Autogen: Revert "AUTO*_EXECUTABLE: add support for per-config values"
Changing the `timestamp` file to `timestamp_$<CONFIG>` causes some user
projects to break when using Qt versions older than 6.6.

Revert commit fddd0f0443 (Autogen: AUTO*_EXECUTABLE: add support for
per-config values, 2023-06-14, v3.28.0-rc1~96^2~1) pending further
investigation.

Issue: #20074
2023-10-13 14:16:26 -04:00
Orkun Tokdemir 06a9b25b17 Tests: Revert "NinjaMultiConfig: Update tests for the new dependency change"
Revert commit e454314daa (NinjaMultiConfig: Update tests for the new
dependency change, 2023-07-05, v3.28.0-rc1~96^2) because we are about
to revert the change for which it updated tests.
2023-10-13 14:12:05 -04:00
مهدي شينون (Mehdi Chinoune) 44faa3773c PGI/NVHPC: Remove -Mipa compiler option for 23.3+
`-Mipa` was removed since 23.3.  The compiler warns about it:

    nvfortran-Warning-The option -Mipa has been deprecated and is ignored.

See: https://docs.nvidia.com/hpc-sdk/archive/23.9/hpc-sdk-release-notes/index.html#deprecations
2023-10-13 14:04:09 -04:00
Brad King 0cd2ada2d1 Merge branch 'release-3.28' 2023-10-13 11:44:15 -04:00
Brad King 9f1928a643 Merge branch 'release-3.27' 2023-10-13 11:44:13 -04:00
Brad King 1d85e60a0a Merge branch 'release-3.26' 2023-10-13 11:43:44 -04:00
Brad King 85fc81c61d Merge branch 'release-3.27' into release-3.28 2023-10-13 11:43:34 -04:00
Brad King df7ae02ede Merge branch 'release-3.28' 2023-10-13 11:42:22 -04:00
Brad King 10d1224b60 Merge topic 'update-curl'
b298ba708a Utilities: Update hard-coded try_compile results for curl 8.4.0
8a9fa27a35 curl: Set build options the way we need for CMake
df4efb72e4 Merge branch 'upstream-curl' into update-curl
e6a6c1abc1 curl 2023-10-11 (d755a5f7)
8f6a6b02e5 curl: Update script to get curl 8.4.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8870
2023-10-13 11:42:22 -04:00
Brad King c966fb70d1 Merge topic 'update-curl' into release-3.28
b298ba708a Utilities: Update hard-coded try_compile results for curl 8.4.0
8a9fa27a35 curl: Set build options the way we need for CMake
df4efb72e4 Merge branch 'upstream-curl' into update-curl
e6a6c1abc1 curl 2023-10-11 (d755a5f7)
8f6a6b02e5 curl: Update script to get curl 8.4.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8870
2023-10-13 11:42:20 -04:00
scivision 7662d50a1b bootstrap: update known compilers
como: Comeau-not updated since 2008, unlikely to work with CMake
icc: discontinued for icx
icc: not for C++, put in 20 years ago, probably never used / worked
2023-10-13 11:26:49 -04:00
Marc Chevrier 96a953b1ed Add options to specify linker tool
Offer the capability, through variable `CMAKE_LINKER_TYPE`, as well as
the target property `LINKER_TYPE` to specify which linker must be used.

The implementation of this capability is specified by variables specific
to the language and linker type: `CMAKE_<LANG>_USING_LINKER_<TYPE>`.
Some definitions are provided as part of `CMake`.

For example, to select the `LLVM` linker rather than the standard one,
the type `LLD` should be specified through the variable `CMAKE_LINKER_TYPE`.
And, on `Apple`, `Linux` and some environments on `Windows`, the variable
`CMAKE_<LANG>_USING_LINKER_LLD` has value `-fuse-ld=lld`. And for `Windows`
environments  based on `MSVC`, where the linker is used directly, the tool
`lld-link.exe` will be used rather than `link.exe`.

Fixes: #19174, #24254, #24990
2023-10-13 11:52:35 +02:00
Kitware Robot ee5f31ba72 CMake Nightly Date Stamp 2023-10-13 00:01:16 -04:00
Brad King e298ffb3ff Merge branch 'release-3.26' into release-3.27 2023-10-12 19:06:27 -04:00
Brad King f2d8c36969 Merge branch 'backport-curl-socks5-fix' into release-3.27
Merge-request: !8872
2023-10-12 19:06:14 -04:00
Brad King d6c81467aa Merge branch 'backport-curl-socks5-fix' into release-3.26
Merge-request: !8872
2023-10-12 19:05:59 -04:00
Brad King 3549c3f86b Merge branch 'release-3.28' 2023-10-12 19:04:24 -04:00
Brad King e8aaa820b7 Merge branch 'release-3.27' 2023-10-12 19:04:22 -04:00
Brad King e752468c89 Merge branch 'release-3.26' 2023-10-12 19:04:20 -04:00
Brad King c272065e63 Merge branch 'release-3.27' into release-3.28 2023-10-12 19:03:55 -04:00
Brad King 1d6fab5537 Merge branch 'release-3.26' into release-3.27 2023-10-12 19:03:42 -04:00
Brad King 244bb7b6bc Merge branch 'backport-ctest_submit-follow-redirects' into release-3.26
Merge-request: !8873
2023-10-12 19:01:53 -04:00
Brad King 701f52670f curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
Backport upstream curl commit `fb4415d8ae` (socks: return error if
hostname too long for remote resolve, 2023-10-11, curl-8_4_0~2) to
address CVE-2023-38545.

Issue: #25329
2023-10-12 15:54:53 -04:00
Zack Galbreath ce661c4399 ctest: Restore support for http redirects during Submit step
After CDash PR 1519 introduced HTTP status codes greater than 200 for
various error cases, CMake commit b7c871f745 (ctest: Update ctest_submit
for CDash behavior change, 2023-07-24, v3.27.1~3^2) modified CTest's
submit handler to check the status returned by CDash and throw an error
when this status is not equal to 200.

That change had the unintended side effect of causing CTest submissions
to fail when uploading results to a URL that returns a redirect status
code (3xx).  Fix this by configuring cURL to follow the redirect.  The
status cURL reports to CTest is now 200 instead of 3xx when CDash is
located behind a redirect.

Fixes: #25159
2023-10-12 15:53:10 -04:00
Brad King b298ba708a Utilities: Update hard-coded try_compile results for curl 8.4.0 2023-10-12 15:29:35 -04:00
Brad King 8a9fa27a35 curl: Set build options the way we need for CMake
Set options added by the update to curl 8.4.0.
2023-10-12 15:29:34 -04:00
Brad King df4efb72e4 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2023-10-11 (d755a5f7)

Issue: #25329
2023-10-12 15:29:20 -04:00
Curl Upstream e6a6c1abc1 curl 2023-10-11 (d755a5f7)
Code extracted from:

    https://github.com/curl/curl.git

at commit d755a5f7c009dd63a61b2c745180d8ba937cbfeb (curl-8_4_0).
2023-10-12 15:28:57 -04:00
Brad King 8f6a6b02e5 curl: Update script to get curl 8.4.0
Issue: #25329
2023-10-12 15:28:40 -04:00
Kitware Robot bf5185ead7 CMake Nightly Date Stamp 2023-10-12 00:01:13 -04:00
Brad King 80fc6faf4c Merge branch 'release-3.28' 2023-10-11 15:10:14 -04:00
Brad King 38643edc2d CMake 3.28.0-rc1 v3.28.0-rc1 2023-10-11 14:33:33 -04:00
Brad King 9c13dbeacf Merge branch 'release-3.28' 2023-10-11 10:31:06 -04:00
Brad King b232269c4f Merge topic 'cxxmodules-try_compile'
fd81024e80 cxxmodules: Honor CMAKE_CXX_SCAN_FOR_MODULES in try_compile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8865
2023-10-11 10:31:06 -04:00
Brad King 581a03a138 Merge topic 'cxxmodules-try_compile' into release-3.28
fd81024e80 cxxmodules: Honor CMAKE_CXX_SCAN_FOR_MODULES in try_compile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8865
2023-10-11 10:31:05 -04:00