Commit Graph

59368 Commits

Author SHA1 Message Date
Brad King 83663325f6 Merge topic 'FindZLIB-no-components'
cf612440dc FindZLIB: Fail if components are requested as it does not provide any

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7767
2022-10-14 09:08:31 -04:00
Brad King b2774b380e Merge topic 'lcc-cleanup'
2de1458c3c Tests: Teach CheckSourceTree test to clean up some specific known files
0dfd939077 cmFindPackageCommand: Suppress LCC false-positive warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7790
2022-10-14 09:07:38 -04:00
Brad King 91d4159978 Merge branch 'release-3.25' 2022-10-14 09:05:39 -04:00
Brad King b19080cb07 Merge topic 'FindGLUT-pkg-config-HINTS'
a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christopher Degawa <cddegawa@gmail.com>
Merge-request: !7770
2022-10-14 09:05:39 -04:00
Brad King 20bfbf7838 Merge topic 'FindGLUT-pkg-config-HINTS' into release-3.25
a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christopher Degawa <cddegawa@gmail.com>
Merge-request: !7770
2022-10-14 09:05:38 -04:00
Brad King c75afa3c82 Merge branch 'release-3.25' 2022-10-14 08:48:23 -04:00
Brad King e4eebacfb6 Merge topic 'doc-typo'
f9fd27a5ee Help: Fix typo that crashes older pygments lexers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !7792
2022-10-14 08:48:23 -04:00
Brad King 06b6cece7b Merge topic 'doc-typo' into release-3.25
f9fd27a5ee Help: Fix typo that crashes older pygments lexers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !7792
2022-10-14 08:48:22 -04:00
Kitware Robot d74b7be90b CMake Nightly Date Stamp 2022-10-14 00:01:12 -04:00
Brad King f9fd27a5ee Help: Fix typo that crashes older pygments lexers
In commit cb14ae2b87 (try_compile: Add SOURCE_FROM_{ARG,VAR},
2022-09-21, v3.25.0-rc1~94^2~2) we accidentally added unbalanced closing
`]` characters in the `try_compile` and `try_run` signatures.

Fixes: #24053
2022-10-13 12:04:00 -04:00
Brad King 2de1458c3c Tests: Teach CheckSourceTree test to clean up some specific known files
Some nightly builds occasionally leave some log files behind due to
local configuration.  Remove them before checking the source tree since
they are known to not be CMake bugs leaving behind source tree
modifications in the test suite.
2022-10-13 10:49:41 -04:00
Brad King 0dfd939077 cmFindPackageCommand: Suppress LCC false-positive warning
Extend the LCC warning suppression from commit 08e7fb3cfa
(cmFindPackageCommand: Compile-time path generator expressions,
2022-07-05, v3.25.0-rc1~361^2~5) to cover a new number for the
same warning, now produced by LCC 1.26.15.
2022-10-13 10:40:23 -04:00
leha-bot a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
Revert commit e0a62b84b5 (FindGLUT: On Windows and with multiple config
generator do not use pkg-config, 2022-09-27, v3.25.0-rc1~69^2). We now
call `select_library_configurations()` even after using pkg-config,
which will handle the absent libraries on Debug/Release configurations.

Issue: #24028
2022-10-13 10:06:57 -04:00
leha-bot a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
Revert commit 8041ca5df0 (FindGLUT: Fix GLUT_INCLUDE_DIRS with
pkg-config and /usr/include, 2022-05-11, v3.24.0-rc1~151^2).
As the main code path will always do `find_path()` which respects the
`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE` variable and will search in system
paths depending on that variable.

Issue: #23474, #24028
2022-10-13 10:04:41 -04:00
leha-bot 4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search
Since commit f90d15458a (FindGLUT: Use pkg-config to find flags if
available, 2021-06-11, v3.22.0-rc1~469^2), pkg-config results are used
directly.  However, this is not compatible with other features of
CMake's find logic such as `CMAKE_FIND_ROOT_PATH` and per-config
results.  Switch to a convention already used by pkg-config support in
other find modules, in which the pkg-config results are only used as
hints for the main search logic.

Fixes: #24028
2022-10-13 10:02:46 -04:00
Brad King ba8f393f78 Merge topic 'post-rel-dev'
5f998bbcb3 Configure CMake itself with policies through CMake 3.24
6bd18eed8e export: Increase maximum policy version in exported files to 3.24
c0e8bb5150 Add deprecation warnings for policies CMP0108 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7786
2022-10-13 09:55:15 -04:00
Brad King 07f34704d3 Merge branch 'release-3.25' 2022-10-13 09:54:07 -04:00
Brad King 7179a89cad Merge topic 'correct_cufile_linkage'
eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7785
2022-10-13 09:54:06 -04:00
Brad King ffad2c44d7 Merge topic 'correct_cufile_linkage' into release-3.25
eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7785
2022-10-13 09:54:05 -04:00
Kitware Robot 0e363520c3 CMake Nightly Date Stamp 2022-10-13 00:01:17 -04:00
koostosh cf612440dc FindZLIB: Fail if components are requested as it does not provide any
Fixes: #18872
2022-10-12 15:08:14 -04:00
Robert Maynard eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static 2022-10-12 13:26:05 -04:00
Brad King 5f998bbcb3 Configure CMake itself with policies through CMake 3.24 2022-10-12 12:43:27 -04:00
Brad King 6bd18eed8e export: Increase maximum policy version in exported files to 3.24
The files generatd by `install(EXPORT)` and `export()` commands
are known to work with policies as of CMake 3.24, so enable them
in sufficiently new CMake versions.
2022-10-12 12:41:25 -04:00
Brad King c0e8bb5150 Add deprecation warnings for policies CMP0108 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.18 and below to encourage projects to port
away from setting policies to OLD.
2022-10-12 12:40:52 -04:00
Brad King f6af01b53d Merge branch 'release-3.25' 2022-10-12 11:33:47 -04:00
Brad King ed084886b7 CMake 3.25.0-rc1 v3.25.0-rc1 2022-10-12 10:23:58 -04:00
Brad King 0a45aa7525 Merge branch 'release-3.25' 2022-10-12 10:21:04 -04:00
Brad King 2c9efa54f2 Merge topic 'doc-gen'
9e8b8bf4ef Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages
16f37ea7a0 Help: Document comma-separation in some generator expressions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7784
2022-10-12 10:21:03 -04:00
Brad King 8cfd8a6486 Merge topic 'doc-gen' into release-3.25
9e8b8bf4ef Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages
16f37ea7a0 Help: Document comma-separation in some generator expressions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7784
2022-10-12 10:21:02 -04:00
Brad King 2dafdca255 Merge branch 'release-3.25' 2022-10-12 10:20:10 -04:00
Brad King 127d732de1 Merge topic 'doc-cmake-E-subcommand-suboptions'
26020fdaae Help: Reference options of sub-commands in some older release notes (>= 3.20)
c3ec1b7411 Help: Replace the ref `cmake --workflow --preset` with `option` role
a0349eb13f Help: Make cmake(1) sub-command options look like other options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7782
2022-10-12 10:20:10 -04:00
Brad King 2df2e1e9df Merge topic 'doc-cmake-E-subcommand-suboptions' into release-3.25
26020fdaae Help: Reference options of sub-commands in some older release notes (>= 3.20)
c3ec1b7411 Help: Replace the ref `cmake --workflow --preset` with `option` role
a0349eb13f Help: Make cmake(1) sub-command options look like other options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7782
2022-10-12 10:20:09 -04:00
Michael Hirsch 9e8b8bf4ef Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages 2022-10-12 09:42:36 -04:00
Michael Hirsch 16f37ea7a0 Help: Document comma-separation in some generator expressions 2022-10-12 09:42:19 -04:00
Alex Turbov 26020fdaae Help: Reference options of sub-commands in some older release notes (>= 3.20) 2022-10-12 09:29:48 -04:00
Alex Turbov c3ec1b7411 Help: Replace the ref cmake --workflow --preset with option role
So, it'll look the same as refs to other commands in this release
notes below.
2022-10-12 09:29:48 -04:00
Alex Turbov a0349eb13f Help: Make cmake(1) sub-command options look like other options
Particularly,

- options for `cmake -E env`
- options for `cmake -E tar`
2022-10-12 09:29:48 -04:00
Brad King 67dc9905b1 Merge branch 'release-3.25' 2022-10-12 09:25:36 -04:00
Brad King 4a0258d58a Merge topic 'GoogleTest-TYPED_TEST_P'
1d340d7cb2 GoogleTest: Add gtest-filter for TYPED_TEST_P

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7778
2022-10-12 09:25:36 -04:00
Brad King 2f2cdb0780 Merge topic 'GoogleTest-TYPED_TEST_P' into release-3.25
1d340d7cb2 GoogleTest: Add gtest-filter for TYPED_TEST_P

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7778
2022-10-12 09:25:35 -04:00
Brad King b6bdf942bf Merge branch 'release-3.25' 2022-10-12 09:22:12 -04:00
Brad King a30c50558f Merge topic 'add_nvptx_compiler_to_findCUDAToolkit'
01cfd0163d FindCUDAToolkit: Add support for the nvptx compiler library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7779
2022-10-12 09:22:12 -04:00
Brad King 9adb3fb733 Merge topic 'add_nvptx_compiler_to_findCUDAToolkit' into release-3.25
01cfd0163d FindCUDAToolkit: Add support for the nvptx compiler library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7779
2022-10-12 09:22:11 -04:00
Brad King 59f8e6e738 Merge branch 'release-3.25' 2022-10-12 09:21:01 -04:00
Brad King 3c0c9deea8 Merge topic 'add_cufile_to_findCUDAToolkit'
ce6de038d9 FindCUDAToolkit: Add support for the cuFile library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7763
2022-10-12 09:21:00 -04:00
Brad King 9615bebe37 Merge topic 'add_cufile_to_findCUDAToolkit' into release-3.25
ce6de038d9 FindCUDAToolkit: Add support for the cuFile library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7763
2022-10-12 09:20:59 -04:00
Brad King d54a8c00ca Merge branch 'release-3.25' 2022-10-12 09:19:51 -04:00
Brad King 8c3edbc4a6 Merge branch 'release-3.24' 2022-10-12 09:19:49 -04:00
Brad King 8391ae085c Merge branch 'release-3.24' into release-3.25 2022-10-12 09:19:38 -04:00