Dan McGregor
6a82852dc2
Allow toolchain suffix without leading dash
...
FreeBSD installs both LLVM and gcc with tools named after the
major version, in the form "clang<major>", such as "clang16".
Detect compilers named this way, and find the related toolchain
tools.
2023-05-08 18:09:27 -06:00
Cory Fields
db9af7e00c
bootstrap: Add support for CXX containing flags
...
Rather than treating the user-provided CXX as a space-separated series of
compilers, treat it as a single command-line fragment which possibly
contains flags.
2023-05-08 17:25:59 -04:00
Cory Fields
2ead798f1d
bootstrap: Add support for CC containing flags
...
Rather than treating the user-provided CC as a space-separated series of
compilers, treat it as a single command-line fragment which possibly
contains flags.
2023-05-08 17:25:55 -04:00
Cory Fields
9a72fed7af
bootstrap: Do not over-quote compiler variables
...
They may contain flags.
2023-05-08 17:22:55 -04:00
Raul Tambre
eacacc70fc
Clang: use -std=c++23 for Clang 17.0+
...
Canonical flag changed in LLVM commit ba15d186e5cef2620d562c6c9d9a6d570382cd0a.
2023-05-08 20:26:39 +03:00
Joakim Lönnberg
7fec8f993b
IAR: Replace extension for compiler and assembler
2023-05-08 15:35:53 +02:00
Kitware Robot
b2d689bc5a
CMake Nightly Date Stamp
2023-05-08 00:01:27 -04:00
Kitware Robot
39d8b92da1
CMake Nightly Date Stamp
2023-05-07 00:01:09 -04:00
Kitware Robot
bab22a1171
CMake Nightly Date Stamp
2023-05-06 00:01:15 -04:00
Brad King
250f66acfe
Merge topic 'ctest-timeout-zero'
...
0a5aeaf302 cmCTestRunTest: Consolidate test timeout selection logic
426e38cc10 cmCTestRunTest: Adopt decision for starting cmProcess timer
59336b29bd cmCTestRunTest: Remove unnecessary arguments to ForkProcess
07b5087ba7 Help: Document meaning of TIMEOUT test property with value 0
3edf7fbb41 ctest: Fix TIMEOUT test property with value 0 with --timeout flag
39a20a56dd Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout`
cd4038fe94 cmCTestTestHandler: Use in-class initialization of properties and results
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8455
2023-05-05 12:43:50 -04:00
Brad King
5924630e6d
Merge topic 'compile-only-genex'
...
c42630ee62 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex
0fb923c460 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8411
2023-05-05 12:42:23 -04:00
Brad King
2b5b09556c
Merge topic 'CreateRulePlaceholderExpander-enhance-memory-management'
...
72faa9a017 CreateRulePlaceholderExpander(): enhance memory management
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8456
2023-05-05 12:36:26 -04:00
Brad King
9bcc70be31
Merge branch 'release-3.26'
2023-05-05 12:34:54 -04:00
Brad King
76940fecde
Merge topic 'FindCUDAToolkit_more_library_root_detection'
...
587c0443cc FindCUDAToolkit: Support CUDA version extraction from version.json
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8451
2023-05-05 12:34:54 -04:00
Brad King
822aa26915
Merge topic 'FindCUDAToolkit_more_library_root_detection' into release-3.26
...
587c0443cc FindCUDAToolkit: Support CUDA version extraction from version.json
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8451
2023-05-05 12:34:52 -04:00
Kitware Robot
95e63aa748
CMake Nightly Date Stamp
2023-05-05 00:01:10 -04:00
Brad King
0a5aeaf302
cmCTestRunTest: Consolidate test timeout selection logic
...
Test timeout selection was previously spread out over several locations.
Consolidate it in a single place to make it easier to follow.
2023-05-04 17:11:19 -04:00
Brad King
426e38cc10
cmCTestRunTest: Adopt decision for starting cmProcess timer
2023-05-04 17:09:00 -04:00
Brad King
59336b29bd
cmCTestRunTest: Remove unnecessary arguments to ForkProcess
2023-05-04 16:58:43 -04:00
Brad King
07b5087ba7
Help: Document meaning of TIMEOUT test property with value 0
...
Document the behavior added by commit 51bb493574 (Test TIMEOUT property
explicitly set to zero should be honored, 2011-01-03, v2.8.4~118^2).
2023-05-04 16:58:03 -04:00
Brad King
3edf7fbb41
ctest: Fix TIMEOUT test property with value 0 with --timeout flag
...
An explicit zero TIMEOUT test property value should not be overridden by
the `--timeout` flag.
2023-05-04 16:58:03 -04:00
Brad King
39a20a56dd
Tests: Move CTestTestZeroTimeout into RunCMake.CTestTimeout
2023-05-04 16:58:03 -04:00
Marc Chevrier
72faa9a017
CreateRulePlaceholderExpander(): enhance memory management
...
This method returns now a std::unique_ptr instance rather than a raw pointer.
2023-05-04 19:34:36 +02:00
Robert Maynard
587c0443cc
FindCUDAToolkit: Support CUDA version extraction from version.json
...
Fixes : #24858
2023-05-04 12:26:04 -04:00
Brad King
cd4038fe94
cmCTestTestHandler: Use in-class initialization of properties and results
2023-05-04 10:27:58 -04:00
Robert Maynard
c42630ee62
cmGeneratorExpressionNode: implement COMPILE_ONLY genex
...
This generator expression is the inverse of `LINK_ONLY` and only coveys
usage requirements for the purposes of compilation. Its intended use is
to avoid needing to export targets that do not have link usage
requirements (e.g., header-only libraries) when used by another target.
See: #15415
2023-05-04 09:39:06 -04:00
Brad King
0d2d5a229c
Merge topic 'use-linker-depfile'
...
375e6fdbbe Link step: use linker dependency linker file
24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8443
2023-05-04 09:06:23 -04:00
Brad King
bf36ce2ff6
Merge topic 'FindPython-doc-unversioned'
...
202b2e1abd FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8454
2023-05-04 09:02:51 -04:00
Brad King
cb76152e36
Merge topic 'Pospelove-master-patch-11353'
...
c64f6d5a5a Help: Document append functionality of string(JSON)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8453
2023-05-04 09:02:10 -04:00
Brad King
28dd02c3ba
Merge topic 'autogen-system-include'
...
7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
8ba16db163 Tests/RunCMake: Add option for dynamic expected output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8400
2023-05-04 09:01:08 -04:00
Kitware Robot
7a4ec8d6cc
CMake Nightly Date Stamp
2023-05-04 00:01:10 -04:00
Marc Chevrier
375e6fdbbe
Link step: use linker dependency linker file
...
Based on work done by @ben.boeckel (!8051 )
Fixes : #22217
2023-05-03 17:08:07 +02:00
Brad King
202b2e1abd
FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}
...
Mention each variable in the documentation of the other.
Issue: #24878
2023-05-03 09:45:36 -04:00
Orkun Tokdemir
7bf4e30090
Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
...
Add policy CMP0151 to preserve the old behavior by default.
2023-05-03 09:03:46 -04:00
Orkun Tokdemir
033dc7ee2f
Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
...
`AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE`
is a boolean property that can be set on a target to indicate that the
autogen target include directory should be added as a system include
directory or normal include directory to the target.
2023-05-03 09:03:46 -04:00
Brad King
52dde6f012
Merge topic 'add-aocl-blas-vendor'
...
272fe88ac6 Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAME
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8450
2023-05-03 08:57:07 -04:00
Leonid Pospelov
c64f6d5a5a
Help: Document append functionality of string(JSON)
2023-05-03 04:41:53 -04:00
Kitware Robot
26ca1026c7
CMake Nightly Date Stamp
2023-05-03 00:01:15 -04:00
Marc Chevrier
24a3e5cda0
cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases
2023-05-02 17:47:04 +02:00
Cordell Bloor
272fe88ac6
Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAME
...
The AMD Optimizing CPU Libraries (AOCL) provide forks of BLIS and
libFLAME that are optimized for AMD "Zen" core architectures.
Closes : #23605
2023-05-02 10:56:15 -04:00
Brad King
2488d6dbf7
Merge topic 'ci-intel-windows'
...
195339e7ac gitlab-ci: Add job testing Intel 2021.9.0 compilers on Windows
1b44973343 gitlab-ci: Add job testing IntelLLVM 2023.1.0 compilers on Windows
a5fd03a53d Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic
1b7649604e Tests: Teach RunCMake to ignore Intel Classic deprecation on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8447
2023-05-02 08:49:35 -04:00
Brad King
c4cc346203
Merge topic 'FortranCInterface-verify-reuse'
...
967feaa435 FortranCInterface: Reuse primary detection results in VERIFY function
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8448
2023-05-02 08:47:47 -04:00
Brad King
339f220575
Merge topic 'vs-debugger-init'
...
35566b48b4 VS: Add variables to initialize debugger-related properties
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8445
2023-05-02 08:45:41 -04:00
Brad King
30c8b44b29
Merge topic 'doc-xref-find-env-vars'
...
c584882b26 Help: change links to point to the env.vars, not to the cmake vars
e40d4eb644 Help: add documentation for some CMAKE_XXX_PATH env.vars
73ce0b792f Help: minor improvement for the CMAKE_PREFIX_PATH docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8444
2023-05-02 08:44:48 -04:00
Brad King
5b4ed96ddc
Merge topic 'FindX11-even-more-xcb-components'
...
65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests
b1b7298b17 FindX11: Fix typo bug, xvmc -> xv
922a97f38a FindX11: Add tests for newly added xcb libraries
7a2b02e000 FindX11: Fix existing tests
9d21d115c6 FindX11: Add more components to FindX11 tests
858fd8ece8 FindX11: Add many new xcb modules
45c3831369 FindX11: Arrange xcb modules in proper alphabetical order
a0d8556bf7 FindX11: Change find_path search string for Xaw
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8366
2023-05-02 08:41:43 -04:00
Brad King
c096fec689
Merge topic 'ci-linkcheck'
...
84122e6ca1 Help: Remove outdated link to Absoft Fortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8446
2023-05-02 08:40:51 -04:00
Brad King
efe28afba2
Merge branch 'release-3.26'
2023-05-02 08:39:53 -04:00
Brad King
2e7932054b
Merge topic 'findjni_new_ubuntu_versions'
...
7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8449
2023-05-02 08:39:53 -04:00
Brad King
5532fcb8f9
Merge topic 'findjni_new_ubuntu_versions' into release-3.26
...
7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8449
2023-05-02 08:39:51 -04:00
Kitware Robot
c3e37cbb9b
CMake Nightly Date Stamp
2023-05-02 00:01:13 -04:00