summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'binutils-strip-macos'Brad King2023-03-311-1/+9
|\ | | | | | | | | | | | | ac2562afb3 BinUtils: Avoid llvm-strip on Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8372
| * BinUtils: Avoid llvm-strip on Apple platformsBrad King2023-03-301-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we prefer `llvm-strip` over `strip` when using Clang. However, `llvm-strip` seems to produce unusable binaries in cases involving chained fixups. Prefer Apple's `strip` over `llvm-strip` on `APPLE` platforms. We still need to consider `llvm-strip` as a fallback as explained for `llvm-ar` by commit fee36b7a78 (BinUtils: Restore llvm-ar fallback on Apple platforms, 2022-03-15, v3.23.0-rc4~12^2). Issue: #24601
* | CMake Nightly Date StampKitware Robot2023-03-311-1/+1
| |
* | Merge topic 'presets-json-errors'Brad King2023-03-30114-1213/+1930
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 19305afd8a presets: Improve JSON parser and error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8290
| * | presets: Improve JSON parser and error messagesMartin Duffy2023-03-29114-1213/+1930
| | |
* | | Merge topic 'ci-FindHDF5'Brad King2023-03-3013-23/+234
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d38c752de2 ci: Enable FindHDF5 tests on Linux builds 28c4945a8a ci: Add HDF5 to Debian and Fedora base images ad9e151045 Tests: Add cases covering FindHDF5 variables and imported targets 0e87e6c1a4 Tests: Add FindMPI test environment modification option ee075a53c8 FindHDF5: Record compiler wrapper checks to configure log 72915b1068 FindHDF5: Fix compiler wrapper checks with spaces in path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8378
| * | | ci: Enable FindHDF5 tests on Linux buildsBrad King2023-03-293-0/+44
| | | |
| * | | ci: Add HDF5 to Debian and Fedora base imagesBrad King2023-03-294-3/+12
| | | |
| * | | Tests: Add cases covering FindHDF5 variables and imported targetsBrad King2023-03-293-0/+143
| | | |
| * | | Tests: Add FindMPI test environment modification optionBrad King2023-03-293-1/+4
| | | | | | | | | | | | | | | | | | | | Provide a way to configure an environment specific to this test. Avoid setting the environment globally for it in CI jobs.
| * | | FindHDF5: Record compiler wrapper checks to configure logBrad King2023-03-291-9/+21
| | | |
| * | | FindHDF5: Fix compiler wrapper checks with spaces in pathBrad King2023-03-291-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Some HDF5 compiler wrappers do not support source file paths that contain spaces. Pass source files to them using a file name in the current working directory to avoid spaces.
* | | | Merge topic 'clang-tidy-module-gitignore'Brad King2023-03-301-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 550f6b40bd clang-tidy module: copy .gitignore from top level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8377
| * | | | clang-tidy module: copy .gitignore from top levelKyle Edwards2023-03-291-0/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | Since 8b094845, .gitignore entries have been pinned to the top-level .gitignore file. Copy these entries into a .gitignore for the clang-tidy module.
* | | | Merge topic 'codespellrc-no-count'Brad King2023-03-301-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7d978d371 ci: remove "count =" from .codespellrc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8376
| * | | | ci: remove "count =" from .codespellrcKyle Edwards2023-03-291-1/+0
| |/ / / | | | | | | | | | | | | | | | | Since 42445b2c, we've been printing a message for each invocation of codespell. The count print is redundant and clutters the log.
* | | | Merge topic 'ninja-performance'Brad King2023-03-304-34/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 426f3295f6 Ninja: Use more efficient data structures to collect outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8371
| * | | | Ninja: Use more efficient data structures to collect outputsNicolas van Kempen2023-03-284-34/+22
| | | | |
* | | | | Merge topic 'FindOpenAL-framework'Brad King2023-03-306-14/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f05bd762f5 ci: Enable FindOpenAL test on macOS jobs 1d06554fc6 Tests: Fix FindOpenAL test for macOS framework 5f5476ee31 FindOpenAL: Fix imported target for macOS framework Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8373
| * | | | | ci: Enable FindOpenAL test on macOS jobsnega2023-03-293-0/+3
| | | | | |
| * | | | | Tests: Fix FindOpenAL test for macOS frameworknega2023-03-292-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use framework-style includes. - Hush deprecation warnings when compiling test.
| * | | | | FindOpenAL: Fix imported target for macOS frameworknega2023-03-291-12/+10
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | If a framework is found, specify it through `INTERFACE_LINK_LIBRARIES` because `IMPORTED_LOCATION` requires a file and not a framework directory.
* | | | | CMake Nightly Date StampKitware Robot2023-03-301-1/+1
| |_|/ / |/| | |
* | | | Merge branch 'release-3.26'Brad King2023-03-291-3/+3
|\ \ \ \
| * | | | CMake 3.26.2v3.26.2Brad King2023-03-292-4/+4
| | | | |
* | | | | Merge topic 'install-namelink-no-rpath'Brad King2023-03-293-4/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c14f14848 install(TARGETS): Do not apply installation tweaks to NAMELINK files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8370
| * | | | | install(TARGETS): Do not apply installation tweaks to NAMELINK filesBrad King2023-03-283-4/+30
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These files are symlinks to the real binaries, and we already apply tweaks to those. Previously we generated installation tweak code guarded by a `NOT IS_SYMLINK` condition that is never true. Drop the code altogether. Add a test covering the motivating use case, in which a `POST_BUILD` step modifies the namelink file to not actually be a symlink. Fixes: #24647
* | | | | Merge topic 'doc-compile-options'Brad King2023-03-292-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2830cf16b Help: Link to COMPILE_LANGUAGE genex from target_compile_options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8369
| * | | | | Help: Link to COMPILE_LANGUAGE genex from target_compile_optionsBrad King2023-03-282-0/+8
| |/ / / / | | | | | | | | | | | | | | | Issue: #24639
* | | | | Merge branch 'release-3.26'Brad King2023-03-290-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'swift-old-driver' into release-3.26Brad King2023-03-293-3/+72
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 006e1995eb Swift: Restore compatibility with old C++ driver Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8365
* | \ \ \ \ Merge topic 'swift-old-driver'Brad King2023-03-293-3/+72
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 006e1995eb Swift: Restore compatibility with old C++ driver Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8365
| * | | | | Swift: Restore compatibility with old C++ driverYR Chen2023-03-283-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `-wmo` flag added by commit 6063428de7 (Swift: Update default build flags, 2022-10-03, v3.26.0-rc1~585^2~1) behaves differently with the old driver. Detect when the old driver is being used, and avoid adding that flag. Fixes: #24641
* | | | | | CMake Nightly Date StampKitware Robot2023-03-291-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'lint-genex'Brad King2023-03-2812-15/+108
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 099934e313 Add generator expression support to static code analysis hooks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8361
| * | | | | Add generator expression support to static code analysis hooksStefan Schober2023-03-2712-15/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* | | | | | Merge topic 'gitignore-cleanup'Brad King2023-03-281-17/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b09484588 gitignore: Pin directory exclusions to top-level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8364
| * | | | | | gitignore: Pin directory exclusions to top-levelBrad King2023-03-271-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, new files in test directories named `Build*` on case-insensitive filesystems were being incorrectly ignored. While at it, add more comments justifying some entries.
* | | | | | | Merge topic 'FindPython-Windows-ARM'Brad King2023-03-282-26/+89
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9913c28ebb FindPython: Add Windows/ARM support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: David Lechner <david@lechnology.com> Merge-request: !8354
| * | | | | | | FindPython: Add Windows/ARM supportMarc Chevrier2023-03-262-26/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24587
* | | | | | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-windows-casing'Brad King2023-03-283-10/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5922c86ed6 file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on Windows 7dffe99ad8 Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !8367
| * | | | | | | | file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on WindowsBrad King2023-03-272-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we neglected to update associated documentation.
| * | | | | | | | Tests: Restore CudaOnly.RuntimeControls cudart verification on WindowsBrad King2023-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we may find the cudart runtime library with its on-disk casing instead of always lower-case.
* | | | | | | | | Merge branch 'release-3.26'Brad King2023-03-280-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | |
| * | | | | | | | Merge topic 'mingw-slashes' into release-3.26Brad King2023-03-282-5/+7
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a67cd9c39c Ninja: Restore slash style for MinGW tools when extra languages are enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8368
* | \ \ \ \ \ \ \ \ Merge topic 'mingw-slashes'Brad King2023-03-282-5/+7
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a67cd9c39c Ninja: Restore slash style for MinGW tools when extra languages are enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8368
| * | | | | | | | | Ninja: Restore slash style for MinGW tools when extra languages are enabledBrad King2023-03-272-5/+7
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f3ca199c9b (cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows, 2023-03-18, v3.26.1~2^2~6), we accidentally "unrecognize" MinGW tools on Windows if a language other than C or CXX is enabled. This causes the wrong slash style to be generated in paths in `build.ninja`. Fixes: #24642
* | | | | | | | | CMake Nightly Date StampKitware Robot2023-03-281-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'crosscompiling-warn-reset'Brad King2023-03-276-5/+22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d23636694 Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME set Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8358
| * | | | | | | | | Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME setMartin Storsjö2023-03-246-5/+22
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also clarify the `CMAKE_CROSSCOMPILING` documentation to state that CMake sets the variable automatically.