summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMakeFindFrameworks: Deprecate the module subject to policy CMP0173Craig Scott2024-08-1620-4/+135
| | | | Fixes: #20446
* Merge branch 'release-3.30'Brad King2024-08-150-0/+0
|\
| * Merge topic 'FindJNI-zero-vm-location' into release-3.30Brad King2024-08-151-0/+2
| |\ | | | | | | | | | | | | | | | | | | 983291669d FindJNI: Support finding libjvm.so for all OpenJDK variants Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9725
* | \ Merge topic 'FindJNI-zero-vm-location'Brad King2024-08-151-0/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 983291669d FindJNI: Support finding libjvm.so for all OpenJDK variants Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9725
| * | FindJNI: Support finding libjvm.so for all OpenJDK variantsWANG Xuerui2024-08-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formerly only the "client" and "server" variant directories are being checked for libjvm.so, but according to a 2021 OpenJDK upstream change present in OpenJDK >= 18, there can be "minimal" and "zero" variants as well. In particular, formerly (OpenJDK <= 17) the Zero variant had its libjvm.so in "server/", but "zero/" in newer versions, which regressed downstream CMake project builds running on systems with OpenJDK Zero VM. Fix it by checking all 4 variant directories for libjvm.so. Link: https://bugs.openjdk.org/browse/JDK-8273494 Link: https://github.com/openjdk/jdk/pull/5440 Link: https://github.com/openjdk/jdk/commit/8fbcc8239a3fc04e56ebbd287c7bb5db731977b7 Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078446
* | | Merge branch 'release-3.30'Brad King2024-08-150-0/+0
|\ \ \ | | |/ | |/|
| * | Merge branch 'release-3.29' into release-3.30Brad King2024-08-150-0/+0
| |\ \
| * \ \ Merge topic 'cppdap-gcc-15' into release-3.30Brad King2024-08-151-0/+1
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | f742c298a0 cppdap: include/dap/network.h: add <stdint.h> include for GCC 15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9713
* | | | Merge branch 'release-3.29'Brad King2024-08-150-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'cppdap-gcc-15' into release-3.29Brad King2024-08-151-0/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | f742c298a0 cppdap: include/dap/network.h: add <stdint.h> include for GCC 15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9713
| | * | cppdap: include/dap/network.h: add <stdint.h> include for GCC 15Christoph Grüninger2024-08-131-0/+1
| |/ / | | | | | | | | | | | | GCC 15 requires the include for the declaration of `uint32_t`. Backport [cppdap PR 133](https://github.com/google/cppdap/pull/133).
* | | Merge topic 'update-cppdap'Brad King2024-08-1510-47/+171
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6745ed29f Merge branch 'upstream-cppdap' into update-cppdap bcfd096ed9 cppdap 2024-08-02 (c69444ed) 5098a08fde cppdap: Update script to get version as of 2024-08-02 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9730
| * \ \ Merge branch 'upstream-cppdap' into update-cppdapBrad King2024-08-139-46/+170
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # By cppdap Upstream * upstream-cppdap: cppdap 2024-08-02 (c69444ed)
| | * | | cppdap 2024-08-02 (c69444ed)cppdap Upstream2024-08-139-46/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/google/cppdap.git at commit c69444ed76f7468b232ac4f989cb8f2bdc100185 (c69444ed76f7468b232ac4f989cb8f2bdc100185).
| * | | | cppdap: Update script to get version as of 2024-08-02Brad King2024-08-131-1/+1
| | | | |
* | | | | Merge topic 'update-expat'Brad King2024-08-1515-322/+659
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b8ab3c282 expat: Hard-code configuration options for our needs 25c2d60c04 Merge branch 'upstream-expat' into update-expat 865006f033 expat 2024-03-13 (fa75b965) fc5bbb1f01 expat: Update script to get Expat 2.6.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9729
| * | | | | expat: Hard-code configuration options for our needsBrad King2024-08-131-1/+1
| | | | | |
| * | | | | Merge branch 'upstream-expat' into update-expatBrad King2024-08-1314-321/+658
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-expat: expat 2024-03-13 (fa75b965)
| | * | | | | expat 2024-03-13 (fa75b965)Expat Upstream2024-08-1315-328/+665
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libexpat/libexpat.git at commit fa75b96546c069d17b8f80d91e0f4ef0cde3790d (R_2_6_2).
| * | | | | | expat: Update script to get Expat 2.6.2Brad King2024-08-131-1/+1
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'iar-missing-license'Brad King2024-08-153-55/+44
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 564d527c04 IAR: Improve error message for missing license Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9723
| * | | | | | IAR: Improve error message for missing licenseFelipe Torrezan2024-08-143-55/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the IAR Compiler without a license, CMake issues a fatal error message about a missing linker and librarian. This message is misleading. In the previous detection, CMakeFindBinUtils.cmake would rely on information collected from try_compile() which depends on a working license. In the new detection scheme, the IAR BinUtils are automatically detected regardless of an existing license, based solely on the compiler's path. The failure point will be when trying to compile a C or a CXX source file, where there will be no CMAKE_${lang}_COMPILER_VERSION available. This change improves the resulting message for when trying to use the compiler without a license.
* | | | | | | Merge topic 'UseJava-verbosity'Brad King2024-08-152-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea62c44b64 UseJava: Reduce add_jar verbosity by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9710
| * | | | | | | UseJava: Reduce add_jar verbosity by defaultGold8562024-08-132-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set "Clean class files" message to verbose. Fixes: #22107
* | | | | | | | Merge topic 'pkg-config'Brad King2024-08-1511-29/+51
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25b947589a Modules: Guard calls to pkg_check_modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9709
| * | | | | | | | Modules: Guard calls to pkg_check_modulesKai Pastor2024-08-0711-29/+51
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before calling pkg_check_modules, modules must check PKG_CONFIG_FOUND. When FindPkgConfig.cmake is loaded, pkg_check_modules is always defined regardless of pkg-config being present. However, the whole module might be disabled on user request with CMAKE_DISABLE_FIND_PACKAGE_PkgConfig. This must not break Find modules which just look for a hint or similar.
* | | | | | | | Merge branch 'release-3.30'Brad King2024-08-150-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Merge topic 'macos-curl-user-agent' into release-3.30Brad King2024-08-151-1/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a74f95656 file(DOWNLOAD): Fix User-Agent to use run-time curl version Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9726
* | \ \ \ \ \ \ \ Merge topic 'macos-curl-user-agent'Brad King2024-08-151-1/+4
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a74f95656 file(DOWNLOAD): Fix User-Agent to use run-time curl version Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9726
| * | | | | | | | file(DOWNLOAD): Fix User-Agent to use run-time curl versionBrad King2024-08-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMake is linked to a system-provided curl shared library, the version at run-time may not match the `LIBCURL_VERSION` at build time. Look up the run-time curl version to populate the User-Agent string. This is particularly important since commit d3cbee99e3 (macOS: Prefer building with system-provided curl, 2024-05-09, v3.30.0-rc1~130^2~1) switched to building our official binaries on macOS against the system provided curl shared library. Fixes: #26209
* | | | | | | | | Merge branch 'release-3.30'Brad King2024-08-150-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'curl-http2' into release-3.30Brad King2024-08-155-4/+18
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7486f468fb curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9728
* | | | | | | | | Merge topic 'curl-http2'Brad King2024-08-155-4/+18
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7486f468fb curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9728
| * | | | | | | | curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codesBrad King2024-08-135-4/+18
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | curl 8.7.x has a bug in HTTP/2 error codes introduced by commit `0dc036225` (HTTP/2: write response directly, 2024-01-31, `curl-8_7_0~230`) and fixed by commit `5c59f9142` (http2 + ngtcp2: pass CURLcode errors from callbacks, 2024-04-18, `curl-8_8_0~181`). Fixes: #26200
* | | | | | | | Merge topic 'fix_condition_android_determine'Craig Scott2024-08-151-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b84596dcf Android: Fix condition detecting no APIs found in the NDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9721
| * | | | | | | | Android: Fix condition detecting no APIs found in the NDKTudy Gourmelen2024-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26210
* | | | | | | | | CMake Nightly Date StampKitware Robot2024-08-151-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'doc-log'Brad King2024-08-141-0/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d03bb13839 Help: version 3.16 added cmake --log-level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9711
| * | | | | | | | | Help: version 3.16 added cmake --log-levelscivision2024-08-081-0/+2
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge topic 'patch-oracle-developer-studio'Brad King2024-08-141-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4086e81e38 Help: Rename Oracle Solaris Studio to Oracle Developer Studio Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9715
| * | | | | | | | | Help: Rename Oracle Solaris Studio to Oracle Developer StudioPeter Kokot2024-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With version 12.5 Oracle Solaris Studio was renamed to Oracle Developer Studio.
* | | | | | | | | | Merge topic 'emacs-cmake-mode'Brad King2024-08-141-1/+1
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8eb8e27fb2 cmake-mode.el: Use line-beginning-position instead of obsolete point-at-bol Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9714
| * | | | | | | | | cmake-mode.el: Use line-beginning-position instead of obsolete point-at-bolPierre Rouleau2024-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That fixes Emacs 29 warning: cmake-mode.el:186:48: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-08-141-1/+1
| |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'cuda_unity'Brad King2024-08-1318-15/+248
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b90ae10dda Add support for unity builds with CUDA sources c99ff40b21 Unity: refactor unity extension logic to single function Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9655
| * | | | | | | | | Add support for unity builds with CUDA sourcesRobert Maynard2024-08-0218-2/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #22750
| * | | | | | | | | Unity: refactor unity extension logic to single functionRobert Maynard2024-07-161-13/+21
| | | | | | | | | |
* | | | | | | | | | Merge topic 'lfortran-link-info'Brad King2024-08-138-8/+78
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 509e8be784 LFortran: Add support for mixed-language linking with Fortran cb6e8698ff CMakeParseImplicitLinkInfo: Refactor conditions to detect specific compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9700
| * | | | | | | | | | LFortran: Add support for mixed-language linking with FortranBrad King2024-08-028-4/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse implicit link information for this compiler to support mixed-language linking. This was missed by commit 98d0f918ba (LFortran: Add support for this compiler, 2024-01-25). Also activate mixed-language test cases that would have caught this. Fixes: #26145
| * | | | | | | | | | CMakeParseImplicitLinkInfo: Refactor conditions to detect specific compilersBrad King2024-08-021-4/+5
| | | | | | | | | | |