Brad King
06278ed352
Merge topic 'llvm-rc'
...
a25a4abc01 llvm-rc: Fix regression on .rc sources with LLVM/Clang tooling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10285
2025-02-05 09:00:30 -05:00
Kitware Robot
b11085c2be
CMake Nightly Date Stamp
2025-02-05 00:06:31 -05:00
Alex Overchenko
a25a4abc01
llvm-rc: Fix regression on .rc sources with LLVM/Clang tooling
...
Refactoring in commit 2b2344b412 (MSVC: Add abstraction for runtime
checks, 2025-01-22) switched to using local compiler id variables to
recognize compilers that target the MSVC ABI. However, those variables
may be modified modified in a special case for `lang == "RC"` that does
not apply to the ABI check. Check the target ABI before applying the
special case.
Fixes : #26663
2025-02-04 09:16:02 -05:00
Brad King
8dfb1f40b7
Merge topic 'execute_process-cmd-bat'
...
74c9d40876 execute_process: Fix invocation of .cmd/.bat with spaces
104ca10208 cmWorkerPool: Adopt MaybePrependCmdExe calls to reduce duplication
cf7ba6d43d cmWorkerPool: Convert RunCommand signature to move semantics
c091fd1420 cmUVProcessChain: Convert AddCommand signature to move semantics
c1f6b04176 cmSystemTools: Teach MaybePrependCmdExe to always use backslashes
817b3967f8 cmSystemTools: Teach MaybePrependCmdExe to return GetShortPathNameW failure
611a3000f7 cmSystemTools: Make MaybePrependCmdExe case-insensitive
98fed0f116 cmSystemTools: Adopt MaybePrependCmdExe
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10270
2025-02-04 09:02:48 -05:00
Brad King
568a9795a6
Merge topic 'ci-fedora41-dnf-cache'
...
f398a517be ci: Update to rebuilt Fedora base images
e9fb64f3b7 Source: Drop incorrect class documentation that had typos
2844296c7b FindMPI: Fix typo in comment
72cce810ce ci(fedora41-hip): update the image in sync w/ `fedora41`
fa08bd803d ci(fedora41): refactor tests removal from Python packages
0e5159656a ci(fedora41): split install prerequisites and build for Rust packages
88c5cf809a ci(fedora41): split install prerequisites and build RBEnv into separate phases
86e96322eb ci(fedora41): tune RVM build to speedup and minimize the final image
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10283
2025-02-04 09:00:59 -05:00
Brad King
796db3a229
Merge topic 'ExternalData-add-httpheader'
...
5106f34eed ExternalData: Add option to specify HTTP headers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10275
2025-02-04 08:59:42 -05:00
Brad King
b0849dfa4f
Merge topic 'FindRuby-comments'
...
21a5ca5fc2 FindRuby: Update comments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10280
2025-02-04 08:57:59 -05:00
Brad King
038c4ac93a
Merge topic 'fixargs'
...
b7a6be18c2 CommandLineTest: Fix outdated arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10279
2025-02-04 08:56:41 -05:00
Brad King
903ad75616
Merge topic 'use-math-hex'
...
2c3df0237d Modules: Use math() for hex to decimal conversion
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !10281
2025-02-04 08:54:50 -05:00
Brad King
b88f9b1d29
Merge topic 'help-mobile'
...
3822e95aee Help: Add responsive layout for small screens
bf9ccc8427 Help: Theme improvements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !10278
2025-02-04 08:53:13 -05:00
Brad King
e2ab33d689
Merge topic 'instrumentation-ctest-find-labels'
...
1595713596 instrumentation: Fix expected location of Labels when using CTest launchers
d2a3d596d6 instrumentation: Fix expected location of Labels when using CTest launchers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10264
2025-02-04 08:51:11 -05:00
Brad King
83a298f1b8
Merge branch 'release-3.31'
2025-02-04 08:47:56 -05:00
Brad King
ee35812ddf
Merge topic 'fix-swift-whole-archive'
...
c894bc0831 Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10266
2025-02-04 08:47:56 -05:00
Brad King
370fcfe10a
Merge topic 'fix-swift-whole-archive' into release-3.31
...
c894bc0831 Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10266
2025-02-04 08:47:53 -05:00
Kitware Robot
c10cb0fde9
CMake Nightly Date Stamp
2025-02-04 00:06:17 -05:00
Brad King
76d874386a
Merge topic 'fix-rst-code'
...
8d8fd9de2c Help: Fix typos in RST found by the `rst-backticks` hook
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10277
2025-02-03 13:21:56 -05:00
Brad King
f398a517be
ci: Update to rebuilt Fedora base images
2025-02-03 12:03:07 -05:00
Brad King
e9fb64f3b7
Source: Drop incorrect class documentation that had typos
2025-02-03 12:03:07 -05:00
Brad King
2844296c7b
FindMPI: Fix typo in comment
2025-02-03 12:03:07 -05:00
Charlie Savage
21a5ca5fc2
FindRuby: Update comments
2025-02-03 11:44:02 -05:00
Jakob Ronestjärna
5106f34eed
ExternalData: Add option to specify HTTP headers
...
Add a `ExternalData_HTTPHEADERS` variable to specify them.
Fixes : #26638
2025-02-03 11:30:59 -05:00
Alex Turbov
72cce810ce
ci(fedora41-hip): update the image in sync w/ fedora41
...
- Use the correct path for the DNF cache.
- There is not much sense in having a DNF cache image separately when
the only `RUN` command is to install required packages.
2025-02-03 11:05:58 -05:00
Alex Turbov
fa08bd803d
ci(fedora41): refactor tests removal from Python packages
2025-02-03 11:05:57 -05:00
Alex Turbov
0e5159656a
ci(fedora41): split install prerequisites and build for Rust packages
2025-02-03 11:05:55 -05:00
Alex Turbov
88c5cf809a
ci(fedora41): split install prerequisites and build RBEnv into separate phases
...
It improves parallelization and speeds up the build by reusing cached layers.
2025-02-03 11:05:54 -05:00
Alex Turbov
86e96322eb
ci(fedora41): tune RVM build to speedup and minimize the final image
...
- Do not waste time looking for pre-built images for Fedora.
Tell to `rvm` to always build from sources.
- No need to update startup files (in the intermediate image).
- Exclude useless (documentation) files from the final archive.
2025-02-03 11:05:52 -05:00
Alex Turbov
264c902403
ci(fedora41): split install prerequisites and build RVM into separate phases
...
It improves parallelization and speeds up the build by reusing cached layers.
2025-02-03 11:05:51 -05:00
Alex Turbov
59383f6509
ci(fedora41): use cache for IWYU build
2025-02-03 11:05:49 -05:00
Alex Turbov
dc9b7a15c0
ci(fedora41): split install prerequisites and build IWYU into separate phases
...
It improves parallelization and speeds up the build by reusing cached layers.
2025-02-03 11:05:48 -05:00
Alex Turbov
4b0ac15b49
ci(fedora41): use CMake to build and install IWYU
...
… instead of calling underlaid buildsystem tool. Also, add parallelization.
2025-02-03 11:05:46 -05:00
Alex Turbov
1edede9276
ci(fedora41): move Perforce download to a separate image
...
It improves parallelization and speeds up the build.
Since downloading is a quick task, put the results to the final image
at the beginning to avoid waiting for other (longer) tasks.
2025-02-03 11:05:45 -05:00
Alex Turbov
8946e0a3ba
ci(fedora41): drop unused cache mount
2025-02-03 11:05:44 -05:00
Alex Turbov
d2c34c95d9
ci(fedora41): restore the path to dnf cache
...
So, images would really use it again!
This reduce build time up to 25%!
This was accidentally broken by commit 46d89b8524 (ci: update Linux
image to Fedora 41, 2024-10-23, v3.31.0-rc3~7^2~2) by misdiagnosing an
error.
2025-02-03 11:05:42 -05:00
Alex Turbov
5eb8f47b67
ci(fedora41): use dnf.conf for options and simplify dnf install CLI
2025-02-03 11:05:40 -05:00
Alex Turbov
b5a36e1efc
ci(fedora41): sort dependency lists
2025-02-03 11:05:38 -05:00
Alex Turbov
31f0e8dd92
ci(fedora41): remove duplicate dependency package
2025-02-03 11:05:24 -05:00
Alexandra Cherdantseva
c894bc0831
Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
...
Add Swift linker information modules missed by commit c1c4cf9545 (Linker
configuration: introduce a new architecture, 2024-06-05,
v3.31.0-rc1~307^2~1) and needed since commit 1e35163ae8 (WHOLE_ARCHIVE
link feature: rely now on linker configuration, 2024-07-01,
v3.31.0-rc1~307^2).
Fixes : #26657
2025-02-03 10:32:34 -05:00
Brad King
0c5898558e
Merge topic 'find-cps-components'
...
894f256a12 find_package: Find CPS components
ac20cd43c0 find_package: Fix reporting of transitive dependency errors
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10262
2025-02-03 10:07:25 -05:00
Brad King
56ee75a135
Merge topic 'create-test-source-list-extern'
...
78983cb85e create_test_source_list: declare functions as `extern`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10274
2025-02-03 10:06:12 -05:00
Brad King
74c9d40876
execute_process: Fix invocation of .cmd/.bat with spaces
...
The `CreateProcessW` documentation states "to run a batch file, you must
start the command interpreter". Use `cmd /c the.bat` to run batch files.
Also, use a "short path" to the `.bat` file if needed to avoid spaces.
Previously this worked in some cases only due to undocumented behavior
of `CreateProcessW` when given a `.bat` file.
Fixes : #26655
2025-02-03 09:13:26 -05:00
Brad King
104ca10208
cmWorkerPool: Adopt MaybePrependCmdExe calls to reduce duplication
2025-02-03 09:13:26 -05:00
Brad King
cf7ba6d43d
cmWorkerPool: Convert RunCommand signature to move semantics
2025-02-03 09:13:26 -05:00
Brad King
c091fd1420
cmUVProcessChain: Convert AddCommand signature to move semantics
2025-02-03 09:13:26 -05:00
Brad King
c1f6b04176
cmSystemTools: Teach MaybePrependCmdExe to always use backslashes
2025-02-03 09:13:18 -05:00
Brad King
817b3967f8
cmSystemTools: Teach MaybePrependCmdExe to return GetShortPathNameW failure
2025-02-03 09:09:29 -05:00
Martin Duffy
1595713596
instrumentation: Fix expected location of Labels when using CTest launchers
2025-02-03 09:08:44 -05:00
Brad King
611a3000f7
cmSystemTools: Make MaybePrependCmdExe case-insensitive
2025-02-03 09:05:47 -05:00
Nikita Nemkin
2c3df0237d
Modules: Use math() for hex to decimal conversion
...
math() can parse hex numbers prefixed with "0x" since 3.13.
2025-02-03 15:04:57 +05:00
Kitware Robot
6ca13692a8
CMake Nightly Date Stamp
2025-02-03 00:04:56 -05:00
Vitaly Stakhovsky
b7a6be18c2
CommandLineTest: Fix outdated arguments
2025-02-02 14:55:37 -05:00