Compare commits

...
Sign in to create a new pull request.

238 commits

Author SHA1 Message Date
Miro Hrončok
aaa289ec8e Declarative %generate_buildrequires: Keep the BRs stable
Make the rpm-macros implementation add new BuildRequires, but not removing some.
This makes the individual rounds of %generate_buildrequires behave more predictably.

Nothing says the previous approach is wrong, but is might blow up unexpectedly.
2025-12-12 22:48:14 +01:00
Neal Gompa
fef4fab786 macros: Enable support for RPM 4.20+ declarative buildsystem feature
The new cmake-srpm-macros package definition is required for supporting
Koji and COPR's two-stage build process where the SRPM isn't made
in the full build environment.
2025-12-11 17:08:07 -05:00
Neal Gompa
3445533b75 macros: Add section comment explaining cmakeX macros 2025-12-11 17:04:46 -05:00
Adam Williamson
063d6e7fc9 cmake-testsuite-sanity: fix for RPM 4.19.90 build dir change
See https://github.com/rpm-software-management/rpm/issues/3147
for the background. RPM 4.19.90 changed RPM's build directory
behavior; the tl;dr is that everything's one level deeper now.
This code was expecting something like:

/tmp/tmp.dheZFHDA0M/BUILD/cmake-3.31.10

but now we actually get something like:

/tmp/tmp.dheZFHDA0M/BUILD/cmake-3.31.10-build/cmake-3.31.10

this uses the trick from
https://github.com/rpm-software-management/rpm/issues/3147#issuecomment-2154192419
to figure out the base build directory and then go from there,
which *should* make this work on both older and newer RPM.

Without this fix, the tests are failing like this:

:: [ 21:03:33 ] :: [  BEGIN   ] :: Running 'CMakeDir='
:: [ 21:03:33 ] :: [   PASS   ] :: Command 'CMakeDir=' (Expected 0, got 0)
:: [ 21:03:33 ] :: [  BEGIN   ] :: Running 'cd /tmp/tmp.dheZFHDA0M/BUILD/'
:: [ 21:03:33 ] :: [   PASS   ] :: Command 'cd /tmp/tmp.dheZFHDA0M/BUILD/' (Expected 0, got 0)
:: [ 21:03:33 ] :: [  BEGIN   ] :: Running 'su -c './bootstrap &>/tmp/tmp.dheZFHDA0M/bootstrap.log' cmkbld'
:: [ 21:03:33 ] :: [   FAIL   ] :: Command 'su -c './bootstrap &>/tmp/tmp.dheZFHDA0M/bootstrap.log' cmkbld' (Expected 0, got 127)

you can see it doesn't get the directory right - it's trying
to run `./bootstrap` in `/tmp/tmp.dheZFHDA0M/BUILD/`, because
the attempt to discover `CMakeDir` failed and returned an
empty string. That's never going to work. See:
https://artifacts.dev.testing-farm.io/974c2a93-5d4c-4896-a48a-b2a54d2dd01d/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-11 12:19:12 -08:00
Yaakov Selkowitz
e615fbe997 Update to 3.31.10 2025-12-02 16:38:10 -05:00
Fedora Release Engineering
864529c3fb Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:26:49 +00:00
Python Maint
851a4c373d Rebuilt for Python 3.14 2025-06-03 11:00:58 +02:00
Yaakov Selkowitz
b3bf0e8abc Revert to 3.31.6
Rebuild (jsoncpp)
Fix build with latest curl

https://pagure.io/fesco/issue/3377
2025-03-18 18:41:41 -04:00
Björn Esser
4a9c46f936
Exclude RunCMake.ParseImplicitLinkInfo from tests 2025-03-12 18:55:02 +01:00
Björn Esser
696e959fd5
cmake-4.0.0-rc4 2025-03-12 11:14:26 +01:00
Björn Esser
ff50d850d5
macros: Set CMAKE_POLICY_VERSION_MINIMUM as environment variable 2025-03-12 11:07:02 +01:00
Yaakov Selkowitz
8d9eeb10df Set CMAKE_POLICY_VERSION_MINIMUM as environment variable
While passing this as a cmake argument works for top-level projects, it
does not carry over automatically to subprojects.  Setting this in the
environment works for both.
2025-03-11 08:26:52 -04:00
Yaakov Selkowitz
66fb93f976 Define CMAKE_POLICY_VERSION_MINIMUM in %cmake
cmake 4.0 drops compatibility with CMake < 3.5, meaning that any packages
with an earlier CMAKE_MINIMUM_REQUIRED will fail.  In many cases though,
no further modification is required to build with newer versions, includes 4.0.
As such, overriding this by policy will avoid the need for patching a lot
of packages to fix their builds.

https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#policy-version
2025-03-07 15:24:54 -05:00
Cristian Le
ae4f1fd869 Drop non-standard *_INSTALL options
Signed-off-by: Cristian Le <git@lecris.dev>
2025-03-07 12:09:41 +01:00
Björn Esser
d8fe77bab9
cmake-4.0.0-rc3 2025-03-06 10:18:06 +01:00
Björn Esser
90810d6226
Provide cmake3 for legacy 2025-02-27 10:53:35 +01:00
Björn Esser
a3a0079a12
Disable bootstrap build 2025-02-27 09:33:03 +01:00
Björn Esser
1f2cca05f1
Rebuild (jsoncpp) 2025-02-27 09:19:57 +01:00
Björn Esser
c45037a52e
macros.cmake: Restore compatibility with cmake3 macros 2025-02-27 08:58:41 +01:00
Björn Esser
3604f33f87
tests/cmake-testsuite-sanity: Adapt for new builddir layout 2025-02-26 23:36:55 +01:00
Björn Esser
f304eb1c7d
cmake-4.0.0-rc2 2025-02-26 21:16:42 +01:00
Björn Esser
c52839340c
cmake-3.31.6
Fixes rhbz#2347346
2025-02-24 19:48:32 +01:00
Björn Esser
7029572a9d
cmake-3.31.5
Fixes rhbz#2341786
2025-01-24 10:11:22 +01:00
Orion Poplawski
5041867958 Define CMAKE_INSTALL_FULL_SBINDIR/CMAKE_INSTALL_SBINDIR to help with sbin merge 2025-01-23 08:13:25 -07:00
Fedora Release Engineering
4318f10b1f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 14:01:48 +00:00
Björn Esser
461007aa96
cmake-3.31.4
Fixes rhbz#2336980
2025-01-12 13:33:04 +01:00
Björn Esser
7cc36b3cf1
cmake-3.31.3
Fixes rhbz#2333376
2024-12-22 22:25:21 +01:00
Björn Esser
f7c27888e0
cmake-3.31.2
Fixes rhbz#2330603
2024-12-05 23:09:43 +01:00
Björn Esser
580359116c
macros: Fix missing asterisk in ctest macro 2024-12-02 17:21:05 +01:00
Björn Esser
dfb5aebef3
macros: Simplify lua code for ctest argument processing 2024-12-02 17:15:53 +01:00
Björn Esser
91e5143359
Skip some test that fail for Fedora 41 2024-12-01 15:16:16 +01:00
Björn Esser
9e821b9697
Fix macro-in-%changelog 2024-12-01 15:12:57 +01:00
Björn Esser
bc73177678
cmake-3.31.1
Fixes rhbz#2324190
2024-12-01 12:21:32 +01:00
Björn Esser
6eb0082a1d
macros: Fix handling of double-dash without argument for ctest. 2024-12-01 12:18:07 +01:00
Björn Esser
ae4cdafd95 cmake-3.31.0
Fixes rhbz#2324190
2024-11-08 19:43:47 +01:00
Björn Esser
a02c626742 cmake-findruby.patch: Update for alignment 2024-11-04 11:18:25 +01:00
Björn Esser
49317eb0f2 cmake-3.30.5
Fixes rhbz#2262837
2024-11-03 21:06:14 +01:00
Miro Hrončok
7f9289bf4c FindPython: Add Python 3.14 to the list of hardcoded Python versions 2024-10-23 20:16:56 +02:00
Yaakov Selkowitz
a0dcf332ee Assure that network-dependent tests are not run
mock builds do not have network access, and any automatic detection in the
test environment is not consistently reliable.
2024-09-19 23:19:19 -04:00
Fedora Release Engineering
8c9971820e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 19:33:43 +00:00
Python Maint
7cf9b37a2e Rebuilt for Python 3.13 2024-06-07 14:08:19 +02:00
Sandro
7fdd987674
Add python3-cmake sub package
The sub package provides metadata only for Python packages depending on
CMake facilitating automatic dependency resolution.
2024-05-16 13:56:56 +02:00
Orion Poplawski
103d8d98cf Build with gui again 2024-04-22 21:51:27 -06:00
Orion Poplawski
fd9f6505a2 Build without gui to avoid circular dep on self 2024-04-22 20:49:02 -06:00
Orion Poplawski
b6af92ee63 Rebuild for rhash 1.4.4 soname bump 2024-04-22 20:39:07 -06:00
David Abdurachmanov
335568208d Disable another timeout test on riscv64
We are timing out on Qt6Autogen.MocIncludeSymlink.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-06 10:58:09 +00:00
Orion Poplawski
809dad0080 Update to 3.28.3 (should fix bz#2261013) 2024-02-27 17:35:22 -07:00
Richard W.M. Jones
8d718fa234 Add %ctest timeout on riscv64
Since our riscv64 builders are slow at the moment some tests fail with
timeouts, eg:
https://src.fedoraproject.org/rpms/kokkos/pull-request/11

Adding the --timeout flag on riscv64 only increases the timeout and
makes the tests pass.  Adding this centrally makes it easier to remove
it later once faster hardware becomes widely available.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2024-02-20 17:16:38 +00:00
František Zatloukal
815f5fcb16 cmake-3.28.2 2024-02-01 16:39:55 +01:00
Fedora Release Engineering
ceb582021b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 07:33:16 +00:00
Fedora Release Engineering
8330761951 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 15:44:18 +00:00
Florian Weimer
2081d2ee8b Improve C compatibility of LoadCommand tests
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-11-23 10:05:41 +01:00
Björn Esser
a2c98e0624
cmake-3.28.0-rc3
Fixes rhbz#2243343
2023-10-24 21:07:54 +02:00
Björn Esser
40e5ea4b51
cmake-3.28.0-rc2
Fixes rhbz#2243343
2023-10-19 12:40:37 +02:00
Björn Esser
317a334610
cmake-3.28.0-rc1
Fixes rhbz#2243343
2023-10-12 10:49:02 +02:00
Björn Esser
e4497063d8
cmake-3.27.7
Fixes rhbz#2242491
2023-10-07 18:03:10 +02:00
Björn Esser
b8b1ab716d
Include new upstream patches 2023-10-03 16:32:06 +02:00
Björn Esser
c12643cb55
tests/cmake-testsuite-sanity: Adapt directory regex to allow RC versions 2023-09-28 01:45:56 +02:00
Björn Esser
e9463cc03d
cmake-3.27.6, include new upstream patch
Fixes rhbz#2239015, rhbz#2240311
2023-09-27 21:07:33 +02:00
Björn Esser
140aec0b79
cmake-3.27.5
Fixes rhbz#2239015
2023-09-27 21:07:33 +02:00
Michal Kolar
9d61b705e7 tests/cmake-testsuite-sanity: build test dependency for RunCMake.GetPrerequisites 2023-09-24 16:39:05 +00:00
Michal Kolar
94fdf0975f tests/cmake-testsuite-sanity: disable color output for terminal 2023-09-24 16:35:51 +00:00
Björn Esser
e3ad0b0e2e
Fix CI failure finally 2023-09-15 12:37:27 +02:00
Björn Esser
b105e87742
Fix CI failure, second try 2023-09-14 21:54:02 +02:00
Björn Esser
1ca25b2fbc
Fix CI failure 2023-09-14 21:34:36 +02:00
Björn Esser
dadba242b0
Add upstream patches from milestone to cmake-3.27.5 2023-09-14 18:57:23 +02:00
Panu Matilainen
4b282d073f Only require cmake-rpm-macros when rpm-build is installed part II
Turns out there's a duplicate dependency on cmake-rpm-macros
in the -data package. This looks redundant but...
Should've been in commit 9802a8d657
2023-09-06 10:52:07 +03:00
Tom Stellard
18bbba6a1b Convert license to SPDX 2023-09-02 09:48:47 +00:00
Björn Esser
1c4c4226f4
Fix outdated CI configuration 2023-09-01 13:18:35 +02:00
Panu Matilainen
9802a8d657 Only require cmake-rpm-macros when rpm-build is installed
There are other use-cases for cmake besides building rpms, for which a hard
requirement of rpm is absurd. Ironically enough, this hard dependency also
causes an ugly conflict requiring --nodeps hacks when building rpm's own
test-suite.

A conditional dependency on rpm-build sorts the issue nicely with no
regressions to the use-case of building packages.
2023-08-31 14:24:06 +03:00
Björn Esser
cbd49edade
Add upstream patch to fix linking non-builtin libatomic on some arches 2023-08-28 17:51:07 +02:00
Björn Esser
94df49d123
cmake-3.27.4
Fixes rhbz#2233852
2023-08-24 08:51:29 +02:00
Björn Esser
3cbfafffa5
cmake-3.27.3
Fixes rhbz#2232421
2023-08-17 08:16:54 +02:00
Björn Esser
bd82644a09
cmake-3.27.2
Fixes rhbz#2231131
2023-08-10 21:33:51 +02:00
Björn Esser
576059f704
Fix baserelease 2023-07-26 01:02:02 +02:00
Björn Esser
82675b9369
cmake-3.27.1
Fixes rhbz#2226276
2023-07-26 00:56:27 +02:00
Fedora Release Engineering
47184c29d9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 15:56:59 +00:00
Björn Esser
4e11520f2d
cmake-3.27.0
Fixes rhbz#2223754
2023-07-18 23:02:44 +02:00
Björn Esser
2c0f546ee8
cmake-3.27.0-rc5
Fixes rhbz#2222977
2023-07-14 19:55:02 +02:00
Björn Esser
cad39465ff
Re-include tests that were failing with rc1 2023-07-06 16:24:41 +02:00
Björn Esser
91fff81fc3
Fix FTBFS for redhat-rpm-config v260 and later 2023-07-06 15:11:26 +02:00
Björn Esser
0c33c34b3a
cmake-3.27.0-rc4
Fixes rhbz#2218941
2023-06-30 18:49:53 +02:00
Björn Esser
ed8f42b443
cmake-3.27.0-rc3
Fixes rhbz#2214407
2023-06-20 21:08:07 +02:00
Björn Esser
4065822b5e
Backport some upstream patches which will be included in rc3 2023-06-19 21:25:27 +02:00
Björn Esser
a6a357b9e1
cmake-3.27.0-rc2 2023-06-12 20:16:21 +02:00
Björn Esser
6412e59e91
Exclude tests that started failing 2023-06-09 06:09:50 +02:00
Björn Esser
37488cd73f
Fix copy-rename of cppdap license files 2023-06-08 22:07:58 +02:00
Björn Esser
bda724cdc3
Fix evaluation of license tag 2023-06-08 21:42:06 +02:00
Björn Esser
b48f5368e6
Add licensing information for cppdap to packaged files if needed 2023-06-08 21:34:35 +02:00
Björn Esser
f71762392d
Use CMake-provided cppdap
It is currently shipped as a static lib from the upstream developers,
and for that reason we do not have it in the repos.
2023-06-08 21:06:27 +02:00
Björn Esser
29494dc734
cmake-3.27.0-rc1 2023-06-08 19:58:39 +02:00
Björn Esser
fb7816c555
Backport several bugfixes and support for Boost v1.82 from upstream 2023-06-01 15:00:49 +02:00
Björn Esser
ae71be464b
Exclude tests that are failing for rpm 4.19 2023-05-27 21:44:47 +02:00
Björn Esser
3b50d283fc
Fix %%changelog 2023-05-27 19:18:38 +02:00
Björn Esser
2a93bfd1de
macros: Directly use %set_build_flags, as it is supported since EPEL 7 2023-05-27 19:18:08 +02:00
Björn Esser
e8ab29358a
macros: Fix formatting and indentation 2023-05-27 19:17:43 +02:00
Björn Esser
3de71f1787
Rename macros.cmake -> macros.cmake.in 2023-05-27 19:13:01 +02:00
Neal Gompa
16329cac89 macros: use the language build flag macros for compiler flags
These macros have existed since 2018 and can be relied on in
RHEL 8+ and all current Fedora releases.
2023-05-19 07:16:59 -04:00
Björn Esser
24f5e409dd
cmake-3.26.4
Fixes rhbz#2208383
2023-05-19 09:53:34 +02:00
Björn Esser
ef292f9524
Bump baserelease 2023-05-08 11:57:24 +02:00
Björn Esser
607bce3339
Fix changelog entry 2023-05-08 11:56:40 +02:00
Jan Grulich
40655d2d51 Build cmake-gui with Qt6 2023-05-08 10:13:01 +02:00
Björn Esser
c30812977f
Bump baserelease 2023-05-08 09:27:57 +02:00
Nianqing Yao
da3d78c9a2 Fix build on riscv64
Co-authored-by: Liu Yang <Yang.Liu.sn@gmail.com>
2023-05-05 21:18:33 +08:00
Björn Esser
fa5e51275a
cmake-3.26.3
Fixes rhbz#2184478
2023-04-05 15:38:00 +02:00
Björn Esser
8ca05850f9
cmake-3.26.2
Fixes rhbz#2182863
2023-03-30 10:18:55 +02:00
Björn Esser
7719ee4665
cmake-3.26.1
Fixes rhbz#2181278
2023-03-23 15:51:08 +01:00
Björn Esser
60f61a7432
cmake-3.26.0
Fixes rhbz#2178221
2023-03-14 18:58:31 +01:00
Björn Esser
c1b5dc70f6
cmake-3.26.0-rc6
Fixes rhbz#2176581
2023-03-09 12:36:14 +01:00
Björn Esser
9de9f679ec
cmake-3.26.0-rc5 2023-03-01 17:59:40 +01:00
Björn Esser
2c60d9d74c
cmake-3.26.0-rc4
Fixes rhbz#2172604
2023-02-22 18:22:11 +01:00
Björn Esser
c652753592
cmake-3.26.0-rc3
Fixes rhbz#2170100
2023-02-15 18:39:16 +01:00
Björn Esser
fc92667512
cmake-3.26.0-rc2
Fixes rhbz#2167064
2023-02-09 23:37:20 +01:00
Björn Esser
a758a406b9
Purge patch for custom release flags in Fedora 2023-01-19 20:23:20 +01:00
Björn Esser
20cb796f3f
cmake-3.25.2
Fixes rhbz#2162459
2023-01-19 19:58:25 +01:00
Fedora Release Engineering
069fdb1d8c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:06:30 +00:00
Björn Esser
6f2559e4ae
Backport upstream patch for Boost v1.81 support 2023-01-15 13:05:09 +01:00
Björn Esser
e813f8279b
Small indentation fix 2023-01-15 13:00:03 +01:00
Neal Gompa
77b93ad1b9 Adjust ctest macro to use native out-of-tree support
With CMake 3.20, ctest(1) learned how to be told where the generated
working directory is, so we no longer have to change directories
(and thus, rely on shell semantics to get back out of that directory)
to make CTest work properly.

This change tweaks the %ctest macro such that we are leveraging that
new option and eliminates our usage of cd(1) as a workaround.
2023-01-13 05:01:20 -05:00
Björn Esser
697509ac7d
cmake-3.25.1
Fixes rhbz#2149681
2022-12-05 06:15:59 +01:00
Björn Esser
dbe4a674ef
cmake-3.25.0
Fixes rhbz#2143345
2022-11-16 22:03:14 +01:00
Björn Esser
098fd9fa15
cmake-3.25.0-rc4
Fixes rhbz#2141122
2022-11-09 08:07:16 +01:00
Björn Esser
b02a9d979e
Re-enable kwsys.testProcess-{4,5} on s390x 2022-11-02 09:36:12 +01:00
Björn Esser
e609e81f27
Re-enable some more tests that are passing now 2022-11-02 09:34:44 +01:00
Björn Esser
aa5cce21c6
Re-enable ExternalProject and CTest.UpdateGIT on testsuite run
This reverts commit 7df9be99dc.
2022-11-02 08:21:23 +01:00
Björn Esser
c0e29fc6cb
cmake-3.25.0-rc3
Fixes rhbz#2062783
2022-11-02 07:54:11 +01:00
Björn Esser
198fb99c98
Allow valid short arguments for %%ctest macro
Fixes rhbz#2127650
2022-10-30 13:56:05 +01:00
Björn Esser
59c57b9caa
Drop non-upstream CMAKE_DL_LIBS windows patch
Fixes rhbz#2127529
2022-10-30 13:09:50 +01:00
Björn Esser
a538e8d057
cmake-3.25.0-rc2
Fixes rhbz#2062783
2022-10-29 17:52:31 +02:00
Björn Esser
7df9be99dc
Exclude ExternalProject and CTest.UpdateGIT from testsuite 2022-10-29 17:50:24 +02:00
Björn Esser
01a89ac7b2
Update to 3.24.2 2022-10-29 11:57:54 +02:00
Björn Esser
7cf46b9e77
Update to 3.24.1 2022-08-18 09:45:05 +02:00
Leigh Scott
08e6d37afb Update to 3.24.0 2022-08-05 13:02:02 +01:00
Rex Dieter
c18e747be3 fixup changelog dates 2022-07-29 13:30:56 -05:00
Leigh Scott
c87b6228ec Update to 3.23.3 2022-07-29 17:30:45 +01:00
Fedora Release Engineering
449b8c6bb1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:10:54 +00:00
Björn Esser
3249491fb3
Exclude BundleUtilities from testsuite 2022-02-23 18:10:18 +01:00
Björn Esser
a299111fe1
cmake-3.23.0-rc2
Fixes rhbz#2052100
2022-02-23 17:52:30 +01:00
Björn Esser
b707c6805c
cmake-3.22.2
Fixes rhbz#2045074
2022-01-25 17:10:43 +01:00
Björn Esser
e4e979aedd
Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild 2022-01-20 14:17:25 +01:00
Björn Esser
2b6e5b1d85
Update Patch108 with upstreamed version 2022-01-19 20:51:21 +01:00
Björn Esser
41dff1ec88
Skip tests failing with GCC 12 2022-01-19 19:41:48 +01:00
Björn Esser
a451774852
Update Patch108 with upstreamed version 2022-01-19 18:45:40 +01:00
Björn Esser
8ae403196d
Add patch to fix compatibility of FortranCInterface with GCC gfortran 12 LTO
Fixes rhbz#2041904
2022-01-19 18:14:46 +01:00
Björn Esser
4663bf397a
Backport two patches fixing regressions in FindBoost and FindGLUT 2021-12-26 16:49:58 +01:00
Björn Esser
c106851f54
Backport patch to add support for Python >= 3.10 in FindBoost.cmake 2021-12-17 23:57:30 +01:00
Björn Esser
1ddd4423ba
Backport patch to add Boost 1.78 support 2021-12-16 16:46:40 +01:00
Tomáš Hrnčiar
d15cbd20ce Backport upstream patch to add support to Python 3.11 2021-12-16 12:10:03 +01:00
Björn Esser
7e2cfc8785
cmake-3.22.1
Fixes rhbz#2029974
2021-12-07 19:37:37 +01:00
Stephan Bergmann
baa8129dbb Fixes RPATH_CHANGE fails when shared object is a GNU ld script
<https://gitlab.kitware.com/cmake/cmake/-/issues/22963>
2021-12-02 22:49:49 +01:00
Björn Esser
4da2a4b8c1
Update fix for rhbz#2027118 with upstream solution 2021-12-01 18:41:40 +01:00
Björn Esser
c8720654f4
Add patch to partially revert incompatible changes in GNUInstallDirs.cmake
Fixes rhbz#2027118
2021-11-28 21:07:28 +01:00
Rex Dieter
12df3dd3f7 cmake-3.22.0 (#2024712) 2021-11-18 14:41:58 -06:00
Björn Esser
3909660989
cmake-3.22.0-rc3
Fixes rhbz#2022785
2021-11-12 21:05:56 +01:00
Björn Esser
38dd024421
Disable bootstrap build for jsoncpp 2021-11-03 21:47:04 +01:00
Björn Esser
2c104d87da
Revert "Build without gui, and without tests"
This reverts commit e2ea5cd999.
2021-11-03 21:26:38 +01:00
Björn Esser
e2ea5cd999
Build without gui, and without tests
This partially reverts commit c10f3133b9.
2021-11-03 21:24:58 +01:00
Björn Esser
c10f3133b9
Revert "Enable bootstrap, without gui, and without tests"
This reverts commit 43d177fa45.
2021-11-03 21:03:15 +01:00
Björn Esser
43d177fa45
Enable bootstrap, without gui, and without tests 2021-11-03 21:00:39 +01:00
Björn Esser
887221a3da
Disable bootstrap build 2021-11-03 20:17:42 +01:00
Björn Esser
ad120f2a4c
Rebuild (jsoncpp) 2021-11-03 20:03:38 +01:00
Björn Esser
6bbf683451
Remove debug compiler flag in macros.cmake (CMAKE_Fortran_FLAGS_RELEASE)
Fixes rhbz#2017942

Complements: ff8467c934
2021-10-28 18:36:01 +02:00
Björn Esser
47534abef0
cmake-3.22.0-rc2
Fixes rhbz#2018235
2021-10-28 18:30:41 +02:00
Björn Esser
8ad8eb9214
Fix typo 2021-10-28 10:34:56 +02:00
Björn Esser
ff8467c934
Revert previous changes to marcos.cmake (-O2 -g)
Fixes rhbz#2017942
2021-10-28 10:31:51 +02:00
Björn Esser
7e4503e30d
Explicitly force optimization level 2 and debuginfo for release builds 2021-10-14 18:28:43 +02:00
Björn Esser
ff5639876b
Do not build non-lto objects to reduce build time significantly 2021-10-14 17:56:14 +02:00
Björn Esser
53b926554c
cmake-3.22.0-rc1
Fixes rhbz#2014190
2021-10-14 17:44:21 +02:00
Björn Esser
090b4a0767
cmake-3.21.3
Fixes rhbz#2006054
2021-09-20 21:57:59 +02:00
Marie Loise Nolden
aec38b0832 Update cmake.spec 2021-09-04 05:53:44 +00:00
Björn Esser
6b692336ec
cmake-3.21.2
Fixes rhbz#1997708
2021-08-25 19:54:26 +02:00
Michal Kolar
f5b116c2a5 drop unwanted scratch build rule for gating 2021-08-17 16:37:07 +00:00
Michal Kolar
d2c731e954 init FMF CI gating 2021-08-17 16:37:07 +00:00
Björn Esser
c6ce53bc36
cmake-3.21.1
Fixes rhbz#1986449
2021-07-27 18:07:18 +02:00
Fedora Release Engineering
ed5ec6c0ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:40:26 +00:00
Fedora Release Engineering
52aebae41c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:42:48 +00:00
Björn Esser
4426da220f
cmake-3.21.0 2021-07-15 12:02:36 +02:00
Björn Esser
c1d581dd94
cmake-3.21.0-rc3 2021-07-08 20:37:57 +02:00
Björn Esser
1d2c31f13f
Drop libdl patch for glibc >= 2.34, as it is upstreamed 2021-07-05 21:54:08 +02:00
Björn Esser
e096c7c3fd
cmake-3.21.0-rc2 2021-07-05 21:47:46 +02:00
Björn Esser
982fc376fe
Rebuilt with upstreamed cmake-3.20.4-glibc_libdl.patch 2021-06-29 14:18:29 +02:00
Björn Esser
b5ab411014
Update cmake-3.20.4-glibc_libdl.patch with upstreamed version 2021-06-28 22:57:55 +02:00
Björn Esser
4bee260a33
Update cmake-3.20.4-glibc_libdl.patch 2021-06-23 21:33:37 +02:00
Björn Esser
e2873452a2
cmake-3.21.0-rc1 (#1975377) 2021-06-23 21:28:26 +02:00
Björn Esser
cc03ad334f
cmake-3.20.5 (#1942118) 2021-06-21 20:39:51 +02:00
Rex Dieter
f52c15acca workaround libdl-related FTBFS (#1972535) 2021-06-18 15:06:54 -05:00
Rex Dieter
58d72bbcee cmake-3.20.4 (#1942118) 2021-06-18 12:56:28 -05:00
Rex Dieter
759f15949a cmake-3.20.3 2021-05-30 22:06:22 -05:00
Rex Dieter
c50f9727e8 cmake-3.20.2 (#1942118)
bash-completion fixes (#1924340)
Release build type optimization options differ from upstream package (#1751155)
parse parallel build from %_smp_mflags instead of _NPROCESSORS_ONLN
drop old dist references (rhel6)
2021-04-30 09:19:23 -05:00
Rex Dieter
ec77e26a43 cmake-3.19.7 2021-03-15 15:05:56 -05:00
Rex Dieter
63c436655e cmake-3.19.6 2021-02-25 10:17:21 -06:00
Rex Dieter
77583d3966 CMake warning when searching for Boost 1.75 (#1925355) 2021-02-06 22:31:22 -06:00
Rex Dieter
90c00fbf34 cmake-3.19.4 2021-01-28 15:43:16 -06:00
Fedora Release Engineering
27354e45c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:10:45 +00:00
Rex Dieter
3284292dcd cmake-3.19.3 2021-01-13 09:30:49 -06:00
Rex Dieter
87a1114ba4 memory-hungry tests when building on koji builders with *lots* of cores
... so limit it to some reasonable number (4)
2021-01-12 16:50:36 -06:00
Rex Dieter
c99e94ccd3 one test (sometimes?) runs out of memory on i686, so limit parallelism as a workaround 2021-01-12 12:24:48 -06:00
Cristian Morales Vega
a6595cacfa Update to 3.19.2 2021-01-11 17:27:28 +00:00
Tom Stellard
a3fc67c060 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:14:27 +00:00
Tom Stellard
61280587ec Update BuildRequires for eln
jsoncpp and rhash are going to be removed from eln.
2020-12-15 20:11:42 +00:00
Neal Gompa
5db8037248 Ensure CMake does not strip binaries with package builds 2020-11-20 08:33:31 -05:00
Miro Hrončok
1ab5d69fab Add Python 3.10 to the hadcoded lists of Python versions 2020-11-09 17:49:03 +01:00
Björn Esser
946181a294
Update to 3.18.4 2020-10-13 10:04:14 +02:00
Björn Esser
4ad1e486f5
Add patch to support FlexiBLAS 2020-09-30 13:00:27 +02:00
Björn Esser
372a70dc79
Explicitly require make 2020-09-30 12:56:24 +02:00
Björn Esser
bdf3093d62
Update to 3.18.3 2020-09-30 12:55:31 +02:00
Christoph Junghans
c9bb4a4953 Make %ctest non-verbose by default 2020-09-29 10:32:06 -06:00
Björn Esser
6d388a4073 Update to 3.18.2 2020-08-20 22:01:22 +02:00
Björn Esser
7ec8c694fa Update to 3.18.1 2020-08-01 12:29:55 +02:00
Orion Poplawski
8674426d57 Handle arguments for ctest3 macro 2020-07-29 22:03:29 -06:00
Fedora Release Engineering
43677c13f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:10:50 +00:00
Björn Esser
5bf1d33bf1 Default to --verbose for ctest as well 2020-07-22 22:24:22 +02:00
Orion Poplawski
5d587929de Default to --verbose for ctest as well 2020-07-21 20:36:38 -06:00
Neal Gompa
4b115b40c7 Bump release 2020-07-19 08:59:00 -04:00
Neal Gompa
672b300dfb Make in-source builds behave like before 2020-07-19 08:45:08 -04:00
Igor Raits
85ead68072
Enable out-of-source builds by default
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-18 09:02:15 +02:00
Björn Esser
91d8dab882 Update to 3.18.0 2020-07-16 12:05:38 +02:00
Björn Esser
8135e77c5b Update to 3.18.0-rc3 2020-07-04 13:05:57 +02:00
Igor Raits
fbadbabca6
Revert "Enable out-of-source builds"
This reverts commit 419924585f.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-03 22:36:43 +02:00
Igor Raits
419924585f
Enable out-of-source builds
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-03 22:35:31 +02:00
Neal Gompa
f626219c98 Fix __cmake_builddir macro definition 2020-07-03 12:11:19 -04:00
Neal Gompa
8158da8089 Temporarily switch back to in-source builds 2020-07-03 11:51:15 -04:00
Neal Gompa
169c293f4c Switch to implementation that is backwards compatible to older RPM
- Change control macro for in-source/out-of-source to %__cmake_in_source_build
2020-07-03 11:43:04 -04:00
Igor Raits
2af1671e51
Add out-of-source builds controlled by a macro
This will allow us to port packages to the %cmake_build/%cmake_install
even on older Fedora with possibility to easily opt-in for out-of-source
builds by `%global __cmake_out_of_source_build 1`. In future we will
make it opt-out (`%global __cmake_out_of_source_build 0` will do
in-source builds again).

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-03 17:12:56 +02:00
Igor Raits
134e994816
Revert "Setup CMake to do out-of-tree builds by default"
This reverts commit 50646f0efa.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-01 08:27:40 +02:00
Tom Callaway
a63a3e2b71 fix FindLua to support lua 5.4 2020-06-30 15:37:16 -04:00
Björn Esser
a86fd237d4 Apply change: CMake to do out-of-source builds (#1852036) 2020-06-29 19:42:03 +02:00
Neal Gompa
4e79ea6773 Add build, install, and test macros for CMake
CMake supports multiple generator types for builds, such as GNU Make
and Ninja. As of CMake 3.15, there are now analogs for build and install
steps typically managed directly by build tools, where CMake controls
the logic to correctly call out.

Consequently, it is now rather easy to support any given type of
build tool (as long as it's available in the build environment) and
have a CMake build "work" as expected.

This also brings CMake in line with the same build/install process
that is used for packaging Meson-based projects.
2020-06-23 09:41:38 +00:00
Neal Gompa
50646f0efa Setup CMake to do out-of-tree builds by default
This brings CMake in line with upstream best practices for building
with CMake and lines up with how most people expect CMake to behave.
2020-06-23 09:41:38 +00:00
Björn Esser
77c5d42f75 Update to 3.18.0-rc2 2020-06-20 11:37:49 +02:00
Björn Esser
8b4138a684 Update to 3.18.0-rc1 2020-06-17 11:54:13 +02:00
Björn Esser
aa9db08f96 Refresh FindRuby patch 2020-06-12 18:14:41 +02:00
Björn Esser
645a99bedd Disable curl test during bootstrap only 2020-05-30 14:19:55 +02:00
Björn Esser
cfff94149b Disable bootstrap for Rebuild (jsoncpp) 2020-05-30 13:52:15 +02:00
Björn Esser
01c03f182c Disable curl test 2020-05-30 13:49:02 +02:00
Björn Esser
d0248a96bf Revert "Disable bootstrap for Rebuild (jsoncpp)"
This reverts commit f076d38e5e.
2020-05-30 13:47:58 +02:00
Björn Esser
f076d38e5e Disable bootstrap for Rebuild (jsoncpp) 2020-05-30 12:00:55 +02:00
Björn Esser
7aedef19dd Bootstrap for Rebuild (jsoncpp) 2020-05-30 11:45:29 +02:00
16 changed files with 1104 additions and 323 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

View file

@ -1,168 +0,0 @@
Index: cmake-3.17.0-rc1/Modules/Compiler/Absoft-Fortran.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/Absoft-Fortran.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/Absoft-Fortran.cmake
@@ -1,7 +1,7 @@
string(APPEND CMAKE_Fortran_FLAGS_INIT " ")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " ")
-string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")
+string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O2")
string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " -O2 -g")
set(CMAKE_Fortran_MODDIR_FLAG "-YMOD_OUT_DIR=")
set(CMAKE_Fortran_MODPATH_FLAG "-p")
Index: cmake-3.17.0-rc1/Modules/Compiler/G95-Fortran.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/G95-Fortran.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/G95-Fortran.cmake
@@ -1,7 +1,7 @@
string(APPEND CMAKE_Fortran_FLAGS_INIT " ")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " -Os")
-string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")
+string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O2")
string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " -O2 -g")
set(CMAKE_Fortran_MODDIR_FLAG "-fmod=")
set(CMAKE_Fortran_VERBOSE_FLAG "-v")
Index: cmake-3.17.0-rc1/Modules/Compiler/GNU.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/GNU.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/GNU.cmake
@@ -55,7 +55,7 @@ macro(__compiler_gnu lang)
string(APPEND CMAKE_${lang}_FLAGS_INIT " ")
string(APPEND CMAKE_${lang}_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_${lang}_FLAGS_MINSIZEREL_INIT " -Os -DNDEBUG")
- string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O3 -DNDEBUG")
+ string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O2 -DNDEBUG")
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -O2 -g -DNDEBUG")
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
Index: cmake-3.17.0-rc1/Modules/Compiler/GNU-Fortran.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/GNU-Fortran.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/GNU-Fortran.cmake
@@ -14,7 +14,7 @@ set(CMAKE_Fortran_POSTPROCESS_FLAG "-fpr
# No -DNDEBUG for Fortran.
string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " -Os")
-string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O3")
+string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -O2")
# No -isystem for Fortran because it will not find .mod files.
unset(CMAKE_INCLUDE_SYSTEM_FLAG_Fortran)
Index: cmake-3.17.0-rc1/Modules/Compiler/Intel.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/Intel.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/Intel.cmake
@@ -22,7 +22,7 @@ else()
string(APPEND CMAKE_${lang}_FLAGS_INIT " ")
string(APPEND CMAKE_${lang}_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_${lang}_FLAGS_MINSIZEREL_INIT " -Os")
- string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O3")
+ string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O2")
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -O2 -g")
set(CMAKE_${lang}_COMPILER_PREDEFINES_COMMAND "${CMAKE_${lang}_COMPILER}")
Index: cmake-3.17.0-rc1/Modules/Compiler/NVIDIA-CUDA.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/NVIDIA-CUDA.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/NVIDIA-CUDA.cmake
@@ -36,7 +36,7 @@ if(NOT "x${CMAKE_CUDA_SIMULATE_ID}" STRE
set(CMAKE_SHARED_LIBRARY_CUDA_FLAGS -fPIC)
string(APPEND CMAKE_CUDA_FLAGS_INIT " ")
string(APPEND CMAKE_CUDA_FLAGS_DEBUG_INIT " -g")
- string(APPEND CMAKE_CUDA_FLAGS_RELEASE_INIT " -O3 -DNDEBUG")
+ string(APPEND CMAKE_CUDA_FLAGS_RELEASE_INIT " -O2 -DNDEBUG")
string(APPEND CMAKE_CUDA_FLAGS_MINSIZEREL_INIT " -O1 -DNDEBUG")
string(APPEND CMAKE_CUDA_FLAGS_RELWITHDEBINFO_INIT " -O2 -g -DNDEBUG")
endif()
Index: cmake-3.17.0-rc1/Modules/Compiler/PathScale.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/PathScale.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/PathScale.cmake
@@ -16,6 +16,6 @@ macro(__compiler_pathscale lang)
string(APPEND CMAKE_${lang}_FLAGS_INIT " ")
string(APPEND CMAKE_${lang}_FLAGS_DEBUG_INIT " -g -O0")
string(APPEND CMAKE_${lang}_FLAGS_MINSIZEREL_INIT " -Os")
- string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O3")
+ string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O2")
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -g -O2")
endmacro()
Index: cmake-3.17.0-rc1/Modules/Compiler/PGI.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/PGI.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/PGI.cmake
@@ -18,7 +18,7 @@ macro(__compiler_pgi lang)
string(APPEND CMAKE_${lang}_FLAGS_INIT " ")
string(APPEND CMAKE_${lang}_FLAGS_DEBUG_INIT " -g -O0")
string(APPEND CMAKE_${lang}_FLAGS_MINSIZEREL_INIT " -O2 -s")
- string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -fast -O3")
+ string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -fast -O2")
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -O2 -gopt")
if(CMAKE_HOST_WIN32)
Index: cmake-3.17.0-rc1/Modules/Compiler/SunPro-ASM.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/SunPro-ASM.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/SunPro-ASM.cmake
@@ -11,7 +11,7 @@ set(CMAKE_SHARED_LIBRARY_SONAME_ASM_FLAG
string(APPEND CMAKE_ASM_FLAGS_INIT " ")
string(APPEND CMAKE_ASM_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -xO2 -xspace -DNDEBUG")
-string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -xO3 -DNDEBUG")
+string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -xO2 -DNDEBUG")
string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -g -xO2 -DNDEBUG")
# Initialize ASM link type selection flags. These flags are used when
Index: cmake-3.17.0-rc1/Modules/Compiler/SunPro-C.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/SunPro-C.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/SunPro-C.cmake
@@ -19,7 +19,7 @@ set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "
string(APPEND CMAKE_C_FLAGS_INIT " ")
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -xO2 -xspace -DNDEBUG")
-string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -xO3 -DNDEBUG")
+string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -xO2 -DNDEBUG")
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -g -xO2 -DNDEBUG")
set(CMAKE_DEPFILE_FLAGS_C "-xMD -xMF <DEPFILE>")
Index: cmake-3.17.0-rc1/Modules/Compiler/SunPro-CXX.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/SunPro-CXX.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/SunPro-CXX.cmake
@@ -19,7 +19,7 @@ set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG
string(APPEND CMAKE_CXX_FLAGS_INIT " ")
string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -xO2 -xspace -DNDEBUG")
-string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -xO3 -DNDEBUG")
+string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -xO2 -DNDEBUG")
string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " -g -xO2 -DNDEBUG")
set(CMAKE_DEPFILE_FLAGS_CXX "-xMD -xMF <DEPFILE>")
Index: cmake-3.17.0-rc1/Modules/Compiler/SunPro-Fortran.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Compiler/SunPro-Fortran.cmake
+++ cmake-3.17.0-rc1/Modules/Compiler/SunPro-Fortran.cmake
@@ -17,7 +17,7 @@ set(CMAKE_EXECUTABLE_RUNTIME_Fortran_FLA
string(APPEND CMAKE_Fortran_FLAGS_INIT " ")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -g")
string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " -xO2 -xspace -DNDEBUG")
-string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -xO3 -DNDEBUG")
+string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " -xO2 -DNDEBUG")
string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " -g -xO2 -DNDEBUG")
set(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
set(CMAKE_Fortran_MODPATH_FLAG "-M")
Index: cmake-3.17.0-rc1/Modules/Platform/Windows-Clang.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Platform/Windows-Clang.cmake
+++ cmake-3.17.0-rc1/Modules/Platform/Windows-Clang.cmake
@@ -79,7 +79,7 @@ macro(__windows_compiler_clang_gnu lang)
string(APPEND CMAKE_${lang}_FLAGS_DEBUG_INIT " -g -Xclang -gcodeview -O0 ${__ADDED_FLAGS_DEBUG}")
string(APPEND CMAKE_${lang}_FLAGS_MINSIZEREL_INIT " -Os -DNDEBUG ${__ADDED_FLAGS}")
- string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O3 -DNDEBUG ${__ADDED_FLAGS}")
+ string(APPEND CMAKE_${lang}_FLAGS_RELEASE_INIT " -O2 -DNDEBUG ${__ADDED_FLAGS}")
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -O2 -g -DNDEBUG -Xclang -gcodeview ${__ADDED_FLAGS}")
endif()
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")

View file

@ -1,21 +1,22 @@
Index: cmake-3.17.0-rc1/Modules/FindRuby.cmake
Index: cmake-3.31.4/Modules/FindRuby.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/FindRuby.cmake
+++ cmake-3.17.0-rc1/Modules/FindRuby.cmake
@@ -110,14 +110,8 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSIO
_RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
--- cmake-3.31.4.orig/Modules/FindRuby.cmake
+++ cmake-3.31.4/Modules/FindRuby.cmake
@@ -307,14 +307,9 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
_RUBY_CONFIG_VAR("sitearchdir" Ruby_SITEARCH_DIR)
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
- # vendor_ruby available ?
- execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
- OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
- execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'"
- OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET)
-
- if(RUBY_HAS_VENDOR_RUBY)
- _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
- _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
- if(Ruby_HAS_VENDOR_RUBY)
- _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
- _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
- endif()
+ _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
+ _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
+ # vendor_ruby
+ _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
+ _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
# save the results in the cache so we don't have to run ruby the next time again
set(RUBY_VERSION_MAJOR ${RUBY_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)
set(Ruby_VERSION_MAJOR ${Ruby_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)

View file

@ -1,21 +0,0 @@
Index: cmake-3.17.0-rc1/Modules/Platform/Windows-GNU.cmake
===================================================================
--- cmake-3.17.0-rc1.orig/Modules/Platform/Windows-GNU.cmake
+++ cmake-3.17.0-rc1/Modules/Platform/Windows-GNU.cmake
@@ -25,12 +25,14 @@ endif()
if(MINGW)
set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
- set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a" ".lib")
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib")
set(CMAKE_C_STANDARD_LIBRARIES_INIT "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32")
set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
+ set(CMAKE_DL_LIBS "dl")
+else()
+ set(CMAKE_DL_LIBS "")
endif()
-set(CMAKE_DL_LIBS "")
set(CMAKE_LIBRARY_PATH_FLAG "-L")
set(CMAKE_LINK_LIBRARY_FLAG "-l")
set(CMAKE_LINK_DEF_FILE_FLAG "") # Empty string: passing the file is enough

View file

@ -16,7 +16,7 @@
# Run git tests
%bcond_without git_test
# Set to bcond_with or use --without gui to disable qt4 gui build
# Set to bcond_with or use --without gui to disable qt gui build
%bcond_without gui
# Use ncurses for colorful output
@ -32,21 +32,31 @@
# Enable RPM dependency generators for cmake files written in Python
%bcond_without rpm
# Sphinx-build cannot import CMakeLexer on EPEL <= 6
%if 0%{?rhel} && 0%{?rhel} <= 6
%bcond_with sphinx
%else
%bcond_without sphinx
%if !0%{?rhel}
%bcond_with bundled_jsoncpp
%bcond_with bundled_rhash
%else
%bcond_without bundled_jsoncpp
%bcond_without bundled_rhash
%endif
# cppdap is currently shipped as a static lib from upstream,
# so we do not have it in the repos.
%bcond_without bundled_cppdap
# Run tests
%bcond_without test
# Enable X11 tests
%bcond_without X11_test
# Place rpm-macros into proper location
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
# Do not build non-lto objects to reduce build time significantly.
%global build_cflags %(echo '%{build_cflags}' | sed -e 's!-ffat-lto-objects!-fno-fat-lto-objects!g')
%global build_cxxflags %(echo '%{build_cxxflags}' | sed -e 's!-ffat-lto-objects!-fno-fat-lto-objects!g')
%global build_fflags %(echo '%{build_fflags}' | sed -e 's!-ffat-lto-objects!-fno-fat-lto-objects!g')
%global build_fcflags %(echo '%{build_fflags}' | sed -e 's!-ffat-lto-objects!-fno-fat-lto-objects!g')
# Setup _pkgdocdir if not defined already
%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -55,19 +65,30 @@
%{!?_vpath_builddir:%global _vpath_builddir %{_target_platform}}
%global major_version 3
%global minor_version 17
# Set to RC version if building RC, else %%{nil}
#global rcsuf rc3
%{?rcsuf:%global relsuf .%{rcsuf}}
%{?rcsuf:%global versuf -%{rcsuf}}
%global minor_version 31
%global patch_version 10
# For handling bump release by rpmdev-bumpspec and mass rebuild
%global baserelease 3
# Set to RC version if building RC, else comment out.
#%%global rcsuf rc3
%if 0%{?rcsuf:1}
%global pkg_version %{major_version}.%{minor_version}.%{patch_version}~%{rcsuf}
%global tar_version %{major_version}.%{minor_version}.%{patch_version}-%{rcsuf}
%else
%global pkg_version %{major_version}.%{minor_version}.%{patch_version}
%global tar_version %{major_version}.%{minor_version}.%{patch_version}
%endif
# Uncomment if building for EPEL
#global name_suffix %%{major_version}
%global orig_name cmake
Name: %{orig_name}%{?name_suffix}
Version: %{major_version}.%{minor_version}.3
Release: 1%{?relsuf}%{?dist}
Version: %{pkg_version}
Release: %{baserelease}%{?dist}
Summary: Cross-platform make system
# most sources are BSD
@ -75,15 +96,16 @@ Summary: Cross-platform make system
# Source/kwsys/MD5.c is zlib
# some GPL-licensed bison-generated files, which all include an
# exception granting redistribution under terms of your choice
License: BSD and MIT and zlib
License: BSD-3-Clause AND MIT-open-group AND Zlib%{?with_bundled_cppdap: AND Apache-2.0}
URL: http://www.cmake.org
Source0: http://www.cmake.org/files/v%{major_version}.%{minor_version}/%{orig_name}-%{version}%{?versuf}.tar.gz
Source0: http://www.cmake.org/files/v%{major_version}.%{minor_version}/%{orig_name}-%{tar_version}.tar.gz
Source1: %{name}-init.el
Source2: macros.%{name}
Source2: macros.%{name}.in
Source3: macros.aaa-%{name}-srpm
# See https://bugzilla.redhat.com/show_bug.cgi?id=1202899
Source3: %{name}.attr
Source4: %{name}.prov
Source5: %{name}.req
Source4: %{name}.attr
Source5: %{name}.prov
Source6: %{name}.req
# Always start regular patches with numbers >= 100.
# We need lower numbers for patches in compat package.
@ -93,19 +115,10 @@ Source5: %{name}.req
# http://public.kitware.com/Bug/view.php?id=12965
# https://bugzilla.redhat.com/show_bug.cgi?id=822796
Patch100: %{name}-findruby.patch
# replace release flag -O3 with -O2 for fedora
Patch101: %{name}-fedora-flag_release.patch
# Add dl to CMAKE_DL_LIBS on MINGW
# https://gitlab.kitware.com/cmake/cmake/issues/17600
Patch102: %{name}-mingw-dl.patch
# Patch for renaming on EPEL
%if 0%{?name_suffix:1}
Patch1: %{name}-rename.patch
%if 0%{?rhel} && 0%{?rhel} <= 6
Patch2: %{name}-libarchive3.patch
%endif
Patch1: %{name}-rename.patch
%endif
BuildRequires: coreutils
@ -131,17 +144,31 @@ BuildRequires: %{_bindir}/sphinx-build
%if %{without bootstrap}
BuildRequires: bzip2-devel
BuildRequires: curl-devel
%if %{with bundled_cppdap}
Provides: bundled(cppdap)
%else
BuildRequires: cppdap-devel
%endif
BuildRequires: expat-devel
%if %{with bundled_jsoncpp}
Provides: bundled(jsoncpp)
%else
BuildRequires: jsoncpp-devel
%endif
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: libarchive-devel
%else
BuildRequires: libarchive3-devel
%endif
BuildRequires: libuv-devel
%if %{with bundled_rhash}
Provides: bundled(rhash)
%else
BuildRequires: rhash-devel
%endif
BuildRequires: xz-devel
BuildRequires: zlib-devel
BuildRequires: vim-filesystem
%endif
%if %{with emacs}
BuildRequires: emacs
@ -155,9 +182,10 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python2-devel
%endif
%endif
#BuildRequires: xmlrpc-c-devel
%if %{with gui}
%if 0%{?fedora} || 0%{?rhel} > 7
%if 0%{?fedora} || 0%{?rhel} > 9
BuildRequires: pkgconfig(Qt6Widgets)
%elif 0%{?rhel} > 7
BuildRequires: pkgconfig(Qt5Widgets)
%else
BuildRequires: pkgconfig(QtGui)
@ -165,15 +193,22 @@ BuildRequires: pkgconfig(QtGui)
BuildRequires: desktop-file-utils
%endif
BuildRequires: pkgconfig(bash-completion)
%global bash_completionsdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null || echo '%{_datadir}/bash-completion/completions')
%if %{without bootstrap}
# Ensure we have our own rpm-macros in place during build.
BuildRequires: %{name}-rpm-macros
%endif
BuildRequires: make
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-rpm-macros = %{version}-%{release}
Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
# Explicitly require make. (rhbz#1862014)
Requires: make
# Provide the major version name
Provides: %{orig_name}%{major_version} = %{version}-%{release}
@ -197,12 +232,13 @@ generation, code generation, and template instantiation.
Summary: Common data-files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name}-filesystem = %{version}-%{release}
Requires: %{name}-rpm-macros = %{version}-%{release}
Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
%if %{with emacs}
%if 0%{?fedora} || 0%{?rhel} >= 7
Requires: emacs-filesystem%{?_emacs_version: >= %{_emacs_version}}
%endif
%endif
Requires: vim-filesystem
BuildArch: noarch
@ -250,8 +286,29 @@ BuildArch: noarch
This package contains common RPM macros for %{name}.
%package srpm-macros
Summary: Common SRPM macros for %{name}
Requires: rpm
BuildArch: noarch
%description srpm-macros
This package contains common SRPM macros for %{name}.
%package -n python3-cmake
Summary: Python metadata for packages depending on %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
BuildArch: noarch
%description -n python3-cmake
Package provides metadata for Python packages depending on cmake.
This is to make automatic dependency resolution work. The package is NOT
using anything from the PyPI package called cmake.
%prep
%autosetup -n %{orig_name}-%{version}%{?versuf} -p 1
%autosetup -n %{orig_name}-%{tar_version} -p 1
%if %{with rpm}
%if %{with python3}
@ -261,37 +318,61 @@ echo '#!%{__python3}' > %{name}.req
echo '#!%{__python2}' > %{name}.prov
echo '#!%{__python2}' > %{name}.req
%endif
tail -n +2 %{SOURCE4} >> %{name}.prov
tail -n +2 %{SOURCE5} >> %{name}.req
tail -n +2 %{SOURCE5} >> %{name}.prov
tail -n +2 %{SOURCE6} >> %{name}.req
%endif
%build
%if 0%{?set_build_flags:1}
%{set_build_flags}
%else
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}
%endif
SRCDIR="$(/usr/bin/pwd)"
mkdir %{_vpath_builddir}
pushd %{_vpath_builddir}
$SRCDIR/bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \
--docdir=/share/doc/%{name} --mandir=/share/man \
$SRCDIR/bootstrap --prefix=%{_prefix} \
--datadir=/share/%{name} \
--docdir=/share/doc/%{name} \
--mandir=/share/man \
--%{?with_bootstrap:no-}system-libs \
--parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
--parallel="$(echo %{?_smp_mflags} | sed -e 's|-j||g')" \
%if %{with bundled_cppdap}
--no-system-cppdap \
%endif
%if %{with bundled_rhash}
--no-system-librhash \
%endif
%if %{with bundled_jsoncpp}
--no-system-jsoncpp \
%endif
%if %{with sphinx}
--sphinx-man --sphinx-html \
%else
--sphinx-build=%{_bindir}/false \
%endif
--%{!?with_gui:no-}qt-gui \
;
-- \
-DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \
-DCMake_TEST_NO_NETWORK:BOOL=ON
popd
%make_build -C %{_vpath_builddir} VERBOSE=1
%make_build -C %{_vpath_builddir}
# Provide Python metadata
%global cmake_distinfo cmake-%{major_version}.%{minor_version}.%{patch_version}%{?rcsuf}.dist-info
mkdir %{cmake_distinfo}
cat > %{cmake_distinfo}/METADATA << EOF
Metadata-Version: 2.1
Name: cmake
Version: %{major_version}.%{minor_version}.%{patch_version}%{?rcsuf}
Summary: %{summary}
Description-Content-Type: text/plain
Metadata only package for automatic dependency resolution in the RPM
ecosystem. This package is separate from the PyPI package called cmake.
EOF
echo rpm > %{cmake_distinfo}/INSTALLER
%install
@ -303,27 +384,24 @@ find %{buildroot}%{_datadir}/%{name}/Modules -type f | xargs chmod -x
exit 1
# Install major_version name links
%{!?name_suffix:for f in ccmake cmake cpack ctest; do ln -s $f %{buildroot}%{_bindir}/${f}%{major_version}; done}
# Install bash completion symlinks
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
for f in %{buildroot}%{_datadir}/%{name}/completions/*
do
ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
done
%if %{with emacs}
# Install emacs cmake mode
mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name}
install -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el
mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name} %{buildroot}%{_emacs_sitestartdir}
mv %{buildroot}%{_emacs_sitelispdir}/%{name}-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name}
%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el
mkdir -p %{buildroot}%{_emacs_sitestartdir}
install -p -m 0644 %{SOURCE1} %{buildroot}%{_emacs_sitestartdir}
%else
rm -f %{buildroot}%{_emacs_sitelispdir}
%endif
# RPM macros
install -p -m0644 -D %{SOURCE2} %{buildroot}%{rpm_macros_dir}/macros.%{name}
sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" -e "s|@@CMAKE_MAJOR_VERSION@@|%{major_version}|" %{buildroot}%{rpm_macros_dir}/macros.%{name}
touch -r %{SOURCE2} %{buildroot}%{rpm_macros_dir}/macros.%{name}
install -p -m0644 -D %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.%{name}
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_rpmmacrodir}/macros.aaa-%{name}-srpm
sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" -e "s|@@CMAKE_MAJOR_VERSION@@|%{major_version}|" %{buildroot}%{_rpmmacrodir}/macros.%{name}
touch -r %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.%{name}
%if %{with rpm} && 0%{?_rpmconfigdir:1}
# RPM auto provides
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/fileattrs/%{name}.attr
install -p -m0644 -D %{SOURCE4} %{buildroot}%{_prefix}/lib/rpm/fileattrs/%{name}.attr
install -p -m0755 -D %{name}.prov %{buildroot}%{_prefix}/lib/rpm/%{name}.prov
install -p -m0755 -D %{name}.req %{buildroot}%{_prefix}/lib/rpm/%{name}.req
%endif
@ -336,6 +414,10 @@ do
dname=$(basename $dir)
cp -p $f ./${fname}_${dname}
done
%if %{with bundled_cppdap}
cp -p Utilities/cmcppdap/LICENSE LICENSE.cppdap
cp -p Utilities/cmcppdap/NOTICE NOTICE.cppdap
%endif
# Cleanup pre-installed documentation
%if %{with sphinx}
mv %{buildroot}%{_docdir}/%{name}/html .
@ -407,27 +489,39 @@ find %{buildroot}%{_libdir}/%{orig_name} -type f | \
find %{buildroot}%{_bindir} -type f -or -type l -or -xtype l | \
sed -e '/.*-gui$/d' -e '/^$/d' -e 's!^%{buildroot}!"!g' -e 's!$!"!g' >> lib_files.mf
# Install Python metadata
mkdir -p %{buildroot}%{python3_sitelib}
cp -a %{cmake_distinfo} %{buildroot}%{python3_sitelib}
%if %{with test}
%check
%if 0%{?rhel} && 0%{?rhel} <= 6
mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled
%endif
pushd %{_vpath_builddir}
# CTestTestUpload require internet access
# CPackComponentsForAll-RPM-IgnoreGroup failing wih rpm 4.15 - https://gitlab.kitware.com/cmake/cmake/issues/19983
NO_TEST="CTestTestUpload|CPackComponentsForAll-RPM-IgnoreGroup"
# kwsys.testProcess-{4,5} are flaky on s390x.
%ifarch s390x
NO_TEST="$NO_TEST|kwsys.testProcess-4|kwsys.testProcess-5"
# CTestTestUpload requires internet access.
NO_TEST="CTestTestUpload"
# Likely failing for hardening flags from system.
NO_TEST="$NO_TEST|CustomCommand|RunCMake.PositionIndependentCode"
# Failing for rpm 4.19
NO_TEST="$NO_TEST|CPackComponentsForAll-RPM-default"
NO_TEST="$NO_TEST|CPackComponentsForAll-RPM-OnePackPerGroup"
NO_TEST="$NO_TEST|CPackComponentsForAll-RPM-AllInOne"
# curl test may fail during bootstrap
%if %{with bootstrap}
NO_TEST="$NO_TEST|curl"
%endif
%ifarch riscv64
# These three tests timeout on riscv64, skip them.
NO_TEST="$NO_TEST|Qt5Autogen.ManySources|Qt5Autogen.MocInclude|Qt5Autogen.MocIncludeSymlink|Qt6Autogen.MocIncludeSymlink"
%endif
%if 0%{?fedora} == 41
# Test failing on Fedora 41, only.
NO_TEST="$NO_TEST|RunCMake.Make|RunCMake.BuildDepends|Qt6Autogen.RerunMocBasic|Qt6Autogen.RerunRccDepends"
%endif
bin/ctest%{?name_suffix} %{?_smp_mflags} -V -E "$NO_TEST" --output-on-failure
## do this only periodically, not for every build -- besser82 20221102
# Keep an eye on failing tests
bin/ctest%{?name_suffix} %{?_smp_mflags} -V -R "$NO_TEST" --output-on-failure || :
#bin/ctest%{?name_suffix} %{?_smp_mflags} -V -R "$NO_TEST" --output-on-failure || :
popd
%if 0%{?rhel} && 0%{?rhel} <= 6
mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%endif
%endif
@ -435,6 +529,10 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%doc %dir %{_pkgdocdir}
%license Copyright.txt*
%license COPYING*
%if %{with bundled_cppdap}
%license LICENSE.cppdap
%license NOTICE.cppdap
%endif
%if %{with sphinx}
%{_mandir}/man1/c%{name}.1.*
%{_mandir}/man1/%{name}.1.*
@ -446,7 +544,7 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%files data -f data_files.mf
%{_datadir}/aclocal/%{name}.m4
%{_datadir}/bash-completion
%{bash_completionsdir}/c*
%if %{with emacs}
%if 0%{?fedora} || 0%{?rhel} >= 7
%{_emacs_sitelispdir}/%{name}
@ -456,6 +554,8 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%{_emacs_sitestartdir}
%endif
%endif
%{vimfiles_root}/indent/%{name}.vim
%{vimfiles_root}/syntax/%{name}.vim
%files doc
@ -484,15 +584,554 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%files rpm-macros
%{rpm_macros_dir}/macros.%{name}
%{_rpmmacrodir}/macros.%{name}
%if %{with rpm} && 0%{?_rpmconfigdir:1}
%{_rpmconfigdir}/fileattrs/%{name}.attr
%{_rpmconfigdir}/%{name}.prov
%{_rpmconfigdir}/%{name}.req
%endif
%files srpm-macros
%{_rpmmacrodir}/macros.aaa-%{name}-srpm
%files -n python3-cmake
%{python3_sitelib}/%{cmake_distinfo}
%changelog
* Fri Dec 12 2025 Miro Hrončok <mhroncok@redhat.com> - 3.31.10-3
- Declarative %%generate_buildrequires: Keep the BRs stable
* Thu Dec 11 2025 Neal Gompa <ngompa@fedoraproject.org> - 3.31.10-2
- macros: Enable support for RPM 4.20+ declarative buildsystem feature
* Tue Dec 02 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 3.31.10-1
- Update to 3.31.10
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.31.6-3
- Rebuilt for Python 3.14
* Tue Mar 18 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 3.31.6-2
- Revert to 3.31.6
- Rebuild (jsoncpp)
- Fix build with latest curl
* Mon Feb 24 2025 Björn Esser <besser82@fedoraproject.org> - 3.31.6-1
- cmake-3.31.6
Fixes rhbz#2347346
* Fri Jan 24 2025 Björn Esser <besser82@fedoraproject.org> - 3.31.5-1
- cmake-3.31.5
Fixes rhbz#2341786
* Thu Jan 23 2025 Orion Poplawski <orion@nwra.com> - 3.31.4-3
- Define CMAKE_INSTALL_FULL_SBINDIR/CMAKE_INSTALL_SBINDIR to help with sbin
merge
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Jan 12 2025 Björn Esser <besser82@fedoraproject.org> - 3.31.4-1
- cmake-3.31.4
Fixes rhbz#2336980
* Sun Dec 22 2024 Björn Esser <besser82@fedoraproject.org> - 3.31.3-1
- cmake-3.31.3
Fixes rhbz#2333376
* Thu Dec 05 2024 Björn Esser <besser82@fedoraproject.org> - 3.31.2-1
- cmake-3.31.2
Fixes rhbz#2330603
* Sun Dec 01 2024 Björn Esser <besser82@fedoraproject.org> - 3.31.1-1
- cmake-3.31.1
Fixes rhbz#2324190
- macros: Fix handling of double-dash without argument for ctest
* Fri Nov 08 2024 Björn Esser <besser82@fedoraproject.org> - 3.31.0-1
- cmake-3.31.0
Fixes rhbz#2324190
* Sun Nov 03 2024 Björn Esser <besser82@fedoraproject.org> - 3.30.5-1
- cmake-3.30.5
Fixes rhbz#2262837
* Thu Oct 17 2024 Miro Hrončok <mhroncok@redhat.com> - 3.28.3-8
- FindPython: Add Python 3.14 to the list of hardcoded Python versions
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.28.3-6
- Rebuilt for Python 3.13
* Wed May 15 2024 Sandro <devel@penguinpee.nl> - 3.28.3-5
- Add python3-cmake sub package providing metadata for Python packages
depending on CMake to facilitate automatic dependency resolution.
* Tue Apr 23 2024 Orion Poplawski <orion@nwra.com> - 3.28.3-4
- Build with gui again
* Tue Apr 23 2024 Orion Poplawski <orion@nwra.com> - 3.28.3-3
- Rebuild for rhash 1.4.4 soname bump
- Build without gui to avoid circular dep on self
* Wed Mar 06 2024 David Abdurachmanov <davidlt@rivosinc.com> - 3.28.3-2
- Disable another timeout test on riscv64
* Tue Feb 27 2024 Orion Poplawski <orion@nwra.com> - 3.28.3-1
- Update to 3.28.3 (should fix bz#2261013)
* Thu Feb 01 2024 Frantisek Zatloukal <fzatlouk@redhat.com> - 3.28.2-1
- cmake-3.28.2 (fixes RHBZ#2261037 and RHBZ#2243343)
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0~rc3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0~rc3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Nov 23 2023 Florian Weimer <fweimer@redhat.com> - 3.28.0~rc3-2
- Improve C compatibility of LoadCommand tests
* Tue Oct 24 2023 Björn Esser <besser82@fedoraproject.org> - 3.28.0~rc3-1
- cmake-3.28.0-rc3
Fixes rhbz#2243343
* Thu Oct 19 2023 Björn Esser <besser82@fedoraproject.org> - 3.28.0~rc2-1
- cmake-3.28.0-rc2
Fixes rhbz#2243343
* Thu Oct 12 2023 Björn Esser <besser82@fedoraproject.org> - 3.28.0~rc1-1
- cmake-3.28.0-rc1
Fixes rhbz#2243343
* Sat Oct 07 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.7-1
- cmake-3.27.7
Fixes rhbz#2242491
* Tue Oct 03 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.6-2
- Include new upstream patches
* Wed Sep 27 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.6-1
- cmake-3.27.6
Fixes rhbz#2239015, rhbz#2240311
- Include new upstream patch
* Fri Sep 15 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.5-1
- cmake-3.27.5
Fixes rhbz#2239015
* Fri Sep 15 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-9
- Fix CI failure finally
* Thu Sep 14 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-8
- Fix CI failure
* Thu Sep 14 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-7
- Add upstream patches from milestone to cmake-3.27.5
* Wed Sep 06 2023 Panu Matilainen <pmatilai@redhat.com> - 3.27.4-6
- Only require cmake-rpm-macros when rpm-build is installed part II
* Sat Sep 02 2023 Tom Stellard <tstellar@redhat.com> - 3.27.4-5
- Convert license to SPDX
* Fri Sep 01 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-4
- Fix outdated CI configuration
* Thu Aug 31 2023 Panu Matilainen <pmatilai@redhat.com> - 3.27.4-3
- Only require cmake-rpm-macros when rpm-build is installed
* Mon Aug 28 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-2
- Add upstream patch to fix linking non-builtin libatomic on some arches
* Thu Aug 24 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.4-1
- cmake-3.27.4
Fixes rhbz#2233852
* Thu Aug 17 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.3-1
- cmake-3.27.3
Fixes rhbz#2232421
* Thu Aug 10 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.2-1
- cmake-3.27.2
Fixes rhbz#2231131
* Tue Jul 25 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.1-1
- cmake-3.27.1
Fixes rhbz#2226276
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.27.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 18 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0-1
- cmake-3.27.0
Fixes rhbz#2223754
* Fri Jul 14 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc5-1
- cmake-3.27.0-rc5
Fixes rhbz#2222977
* Thu Jul 06 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc4-2
- Fix FTBFS for redhat-rpm-config v260 and later
- Re-include tests that were failing with rc1
* Fri Jun 30 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc4-1
- cmake-3.27.0-rc4
Fixes rhbz#2218941
* Tue Jun 20 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc3-1
- cmake-3.27.0-rc3
Fixes rhbz#2214407
* Mon Jun 19 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc2-2
- Backport some upstream patches which will be included in rc3
* Mon Jun 12 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc2-1
- cmake-3.27.0-rc2
* Thu Jun 08 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.0~rc1-1
- cmake-3.27.0-rc1
- Use CMake-provided cppdap
- Add licensing information for cppdap to packaged files if needed
- Exclude tests that started failing
* Thu Jun 01 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.4-4
- Backport several bugfixes and support for Boost v1.82 from upstream
* Sat May 27 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.4-3
- Rename macros.cmake -> macros.cmake.in
- macros: Fix formatting and indentation
- macros: Directly use %%set_build_flags, as it is supported since EPEL 7
- Exclude tests that are failing for rpm 4.19
* Fri May 19 2023 Neal Gompa <ngompa@fedoraproject.org> - 3.26.4-2
- macros: Use the language build flag macros for compiler flags
* Fri May 19 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.4-1
- cmake-3.26.4
Fixes rhbz#2208383
* Mon May 08 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.3-3
- Build cmake-gui with Qt6
* Fri May 05 2023 Nianqing Yao <imbearchild@outlook.com> - 3.26.3-2
- Fix build on riscv64
* Wed Apr 05 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.3-1
- cmake-3.26.3
Fixes rhbz#2184478
* Thu Mar 30 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.2-1
- cmake-3.26.2
Fixes rhbz#2182863
* Thu Mar 23 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.1-1
- cmake-3.26.1
Fixes rhbz#2181278
* Tue Mar 14 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0-1
- cmake-3.26.0
Fixes rhbz#2178221
* Thu Mar 09 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0~rc6-1
- cmake-3.26.0-rc6
Fixes rhbz#2176581
* Wed Mar 01 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0~rc5-1
- cmake-3.26.0-rc5
* Wed Feb 22 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0~rc4-1
- cmake-3.26.0-rc4
Fixes rhbz#2172604
* Wed Feb 15 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0~rc3-1
- cmake-3.26.0-rc3
Fixes rhbz#2170100
* Thu Feb 09 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.0~rc2-1
- cmake-3.26.0-rc2
Fixes rhbz#2167064
* Thu Jan 19 2023 Björn Esser <besser82@fedoraproject.org> - 3.25.2-1
- cmake-3.25.2
Fixes rhbz#2162459
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 15 2023 Björn Esser <besser82@fedoraproject.org> - 3.25.1-3
- Backport upstream patch for Boost v1.81 support
* Fri Jan 13 2023 Neal Gompa <ngompa@fedoraproject.org> - 3.25.1-2
- Adjust ctest macro to use native out-of-tree support
* Mon Dec 05 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.1-1
- cmake-3.25.1
Fixes rhbz#2149681
* Wed Nov 16 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-1
- cmake-3.25.0
Fixes rhbz#2143345
* Wed Nov 09 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.6.rc4
- cmake-3.25.0-rc4
Fixes rhbz#2141122
* Wed Nov 02 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.5.rc3
- Re-enable BundleUtilities, CMakeLib.testCTestResourceAllocator,
CMakeLib.testCTestResourceSpec, CTest.UpdateGIT, ExternalProject
during testsuite run
- Re-enable kwsys.testProcess-{4,5} on s390x
* Wed Nov 02 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.4.rc3
- cmake-3.25.0-rc3
Fixes rhbz#2062783
* Sun Oct 30 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.3.rc2
- Allow valid short arguments for %%ctest macro
Fixes rhbz#2127650
* Sun Oct 30 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.2.rc2
- Drop non-upstream CMAKE_DL_LIBS windows patch
Fixes rhbz#2127529
* Sat Oct 29 2022 Björn Esser <besser82@fedoraproject.org> - 3.25.0-0.1.rc2
- cmake-3.25.0-rc2
Fixes rhbz#2062783
* Sat Oct 29 2022 Björn Esser <besser82@fedoraproject.org> - 3.24.2-1
- cmake-3.24.2
* Thu Aug 18 2022 Björn Esser <besser82@fedoraproject.org> - 3.24.1-1
- cmake-3.24.1
* Fri Aug 05 2022 Leigh Scott <leigh123linux@gmail.com> - 3.24.0-1
- cmake-3.24.0
* Fri Jul 29 2022 Leigh Scott <leigh123linux@gmail.com> - 3.23.3-1
- cmake-3.23.3
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.0-0.2.rc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Feb 23 2022 Björn Esser <besser82@fedoraproject.org> - 3.23.0-0.1.rc2
- cmake-3.23.0-rc2
Fixes rhbz#2052100
* Tue Jan 25 2022 Björn Esser <besser82@fedoraproject.org> - 3.22.2-1
- cmake-3.22.2
Fixes rhbz#2045074
* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 3.22.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 19 2022 Björn Esser <besser82@fedoraproject.org> - 3.22.1-6
- Add patch to fix compatibility of FortranCInterface with GCC gfortran 12 LTO
Fixes rhbz#2041904
- Skip tests failing with GCC 12
* Sun Dec 26 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.1-5
- Backport two patches fixing regressions in FindBoost and FindGLUT
* Fri Dec 17 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.1-4
- Backport patch to add support for Python >= 3.10 in FindBoost.cmake
* Thu Dec 16 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.1-3
- Backport patch to add Boost 1.78 support
* Thu Dec 16 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.22.1-2
- Backport patch to add Python 3.11 support
* Tue Dec 07 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.1-1
- cmake-3.22.1
Fixes rhbz#2029974
* Thu Dec 02 2021 Stephan Bergmann <sbergman@redhat.com> - 3.22.0-4
- Fixes RPATH_CHANGE fails when shared object is a GNU ld script
* Wed Dec 01 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-3
- Update fix for rhbz#2027118 with upstream solution
* Sun Nov 28 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-2
- Add patch to partially revert incompatible changes in GNUInstallDirs.cmake
Fixes rhbz#2027118
* Thu Nov 18 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.22.0-1
- cmake-3.22.0 (#2024712)
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.6.rc3
- cmake-3.22.0-rc3
Fixes rhbz#2022785
* Wed Nov 03 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.5.rc2
- Disable bootstrap build for jsoncpp
* Wed Nov 03 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.4.rc2
- Rebuild (jsoncpp)
* Thu Oct 28 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.3.rc2
- cmake-3.22.0-rc2
Fixes rhbz#2018235
- Remove debug compiler flag in macros.cmake (CMAKE_Fortran_FLAGS_RELEASE)
Fixes rhbz#2017942
* Thu Oct 28 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.2.rc1
- Revert previous changes to macros.cmake (-O2 -g)
Fixes rhbz#2017942
* Thu Oct 14 2021 Björn Esser <besser82@fedoraproject.org> - 3.22.0-0.1.rc1
- cmake-3.22.0-rc1
Fixes rhbz#2014190
- Do not build non-lto objects to reduce build time significantly
- Explicitly force optimization level 2 and debuginfo for release builds
* Mon Sep 20 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.3-1
- cmake-3.21.3
Fixes rhbz#2006054
* Wed Aug 25 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.2-1
- cmake-3.21.2
Fixes rhbz#1997708
* Tue Jul 27 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.1-1
- cmake-3.21.1
Fixes rhbz#1986449
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.21.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.0-5
- cmake-3.21.0
* Thu Jul 08 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.0-4.rc3
- cmake-3.21.0-rc3
* Mon Jul 05 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.0-3.rc2
- cmake-3.21.0-rc2
- Drop libdl patch for glibc >= 2.34, as it is upstreamed
* Tue Jun 29 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.0-2.rc1
- Rebuilt with upstreamed cmake-3.20.4-glibc_libdl.patch
* Wed Jun 23 2021 Björn Esser <besser82@fedoraproject.org> - 3.21.0-1.rc1
- cmake-3.21.0-rc1 (#1975377)
* Mon Jun 21 2021 Björn Esser <besser82@fedoraproject.org> - 3.20.5-1
- cmake-3.20.5 (#1942118)
* Fri Jun 18 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.20.4-1
- cmake-3.20.4 (#1942118)
- workaround libdl-related FTBFS (#1972535)
* Sun May 30 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.20.3-1
- cmake-3.20.3
* Thu Apr 29 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.20.2-1
- cmake-3.20.2 (#1942118)
- bash-completion fixes (#1924340)
- Release build type optimization options differ from upstream package (#1751155)
- parse parallel build from %%_smp_mflags instead of _NPROCESSORS_ONLN
- drop old dist references (rhel6)
* Mon Mar 15 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.7-1
- cmake-3.19.7
* Thu Feb 25 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.6-2
- cmake-3.19.6
* Sat Feb 06 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.4-2
- CMake warning when searching for Boost 1.75 (#1925355)
* Thu Jan 28 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.4-1
- cmake-3.19.4
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jan 13 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.3-1
- cmake-3.19.3
* Mon Jan 11 2021 Cristian Morales Vega <christian.morales.vega@gmail.com> - 3.19.2-1
- Update to 3.19.2
* Tue Dec 15 2020 Tom Stellard <tstellar@redhat.com> - 3.18.4-4
- Update BuildRequires for eln
* Fri Nov 20 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.4-3
- Ensure CMake does not strip binaries with package builds
* Mon Nov 09 2020 Miro Hrončok <mhroncok@redhat.com> - 3.18.4-2
- Add support for Python 3.10
* Tue Oct 13 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.4-1
- Update to 3.18.4
* Wed Sep 30 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.3-1
- Update to 3.18.3
- Explicitly require make
- Add patch to support FlexiBLAS
* Tue Sep 29 2020 Christoph Junghans <junghans@votca.org> - 3.18.2-2
- Make %%ctest non-verbose by default
* Thu Aug 20 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.2-1
- Update to 3.18.2
* Sat Aug 01 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.1-1
- Update to 3.18.1
* Wed Jul 29 2020 Orion Poplawski <orion@nwra.com> - 3.18.0-5
- Handle arguments for ctest3 macro
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-3
- Default to --verbose for ctest as well
* Sun Jul 19 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-2
- Make in-source builds behave like before
* Sat Jul 18 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-1.1
- Enable out-of-source builds by default
* Thu Jul 16 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-1
- Update to 3.18.0
* Sat Jul 04 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.8.rc3
- Update to 3.18.0-rc3
* Fri Jul 03 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-0.7.rc2
- Switch to implementation that is backwards compatible to older RPM
- Change control macro for in-source/out-of-source to %%__cmake_in_source_build
* Fri Jul 03 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-0.6.rc2
- Add out-of-source builds controlled by a macro (%%__cmake_out_of_source_build)
* Wed Jul 01 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-0.5.rc2
- Undo out-of-source-builds
* Tue Jun 30 2020 Tom Callaway <spot@fedoraproject.org> - 3.18.0-0.4.rc2
- fix FindLua to support lua 5.4
* Mon Jun 29 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.3.rc2
- Apply change: CMake to do out-of-source builds (#1852036)
* Sat Jun 20 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.2.rc2
- Update to 3.18.0-rc2
* Fri Jun 12 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.1.rc1
- Update to 3.18.0-rc1
* Sat May 30 2020 Björn Esser <besser82@fedoraproject.org> - 3.17.3-2
- Rebuild (jsoncpp)
* Fri May 29 2020 Björn Esser <besser82@fedoraproject.org> - 3.17.3-1
- Update to cmake-3.17.3

21
gating.yaml Normal file
View file

@ -0,0 +1,21 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional
baseos-ci.brew-build.tier1.functional}
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional
baseos-ci.brew-build.tier1.functional}

12
macros.aaa-cmake-srpm Normal file
View file

@ -0,0 +1,12 @@
# Declarative buildsystem macros (usable with rpm >= 4.20)
# https://rpm-software-management.github.io/rpm/manual/buildsystem.html
# When this file is installed but macros.cmake is not,
# this macro will just cause the real macros to get installed.
%cmake_generate_buildrequires(-) echo "cmake-rpm-macros"
%buildsystem_cmake_generate_buildrequires() %cmake_generate_buildrequires %{*}
%buildsystem_cmake_conf() %{nil}
%buildsystem_cmake_build() %{nil}
%buildsystem_cmake_install() %{nil}
%buildsystem_cmake_check() %{nil}

View file

@ -1,41 +0,0 @@
#
# Macros for cmake
#
%_cmake_lib_suffix64 -DLIB_SUFFIX=64
%_cmake_shared_libs -DBUILD_SHARED_LIBS:BOOL=ON
%_cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
%_cmake_version @@CMAKE_VERSION@@
%__cmake /usr/bin/cmake
# - Set default compile flags
# - CMAKE_*_FLAGS_RELEASE are added *after* the *FLAGS environment variables
# and default to -O3 -DNDEBUG. Strip the -O3 so we can override with *FLAGS
# - Turn on verbose makefiles so we can see and verify compile flags
# - Set default install prefixes and library install directories
# - Turn on shared libraries by default
%cmake \
%if 0%{?set_build_flags:1} \
%set_build_flags \
%else \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
%endif \
%__cmake \\\
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
%if "%{?_lib}" == "lib64" \
%{?_cmake_lib_suffix64} \\\
%endif \
%{?_cmake_shared_libs}
%cmake@@CMAKE_MAJOR_VERSION@@ %cmake

76
macros.cmake.in Normal file
View file

@ -0,0 +1,76 @@
#
# Macros for cmake
#
%_cmake_lib_suffix64 -DLIB_SUFFIX=64
%_cmake_shared_libs -DBUILD_SHARED_LIBS:BOOL=ON
%_cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
%_cmake_version @@CMAKE_VERSION@@
%__cmake /usr/bin/cmake
%__ctest /usr/bin/ctest
%__cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}
# - Set default compile flags
# - CMAKE_*_FLAGS_RELEASE are added *after* the *FLAGS environment variables
# and default to -O3 -DNDEBUG. Strip the -O3 so we can override with *FLAGS
# - Turn on verbose makefiles so we can see and verify compile flags
# - Turn off stripping by default so RPM can do it separately
# - Set default install prefixes and library install directories
# - Turn on shared libraries by default
%cmake \
%{set_build_flags} \
%__cmake \\\
%{!?__cmake_in_source_build:-S "%{_vpath_srcdir}"} \\\
%{!?__cmake_in_source_build:-B "%{__cmake_builddir}"} \\\
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-DCMAKE_INSTALL_FULL_SBINDIR:PATH=%{_sbindir} \\\
-DCMAKE_INSTALL_SBINDIR:PATH=%(s=%{_sbindir}; echo ${s##*/}) \\\
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
%if "%{?_lib}" == "lib64" \
%{?_cmake_lib_suffix64} \\\
%endif \
%{?_cmake_shared_libs}
%cmake_build \
%__cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose
%cmake_install \
DESTDIR="%{buildroot}" %__cmake --install "%{__cmake_builddir}"
%ctest(:-:h:j:u:v:A:C:D:E:F:H:I:L:M:N:O:Q:R:S:T:U:V:) \
%__ctest --test-dir "%{__cmake_builddir}" \\\
--output-on-failure \\\
--force-new-ctest-process \\\
%ifarch riscv64 \
--timeout 6000 \\\
%endif \
%{?_smp_mflags} \\\
%{lua:print((string.gsub(rpm.expand('%{**}'),"%-%-%s","")))}
# Declarative buildsystem macros (usable with rpm >= 4.20)
# https://rpm-software-management.github.io/rpm/manual/buildsystem.html
%cmake_generate_buildrequires(-) echo "cmake-rpm-macros"; echo "cmake"
%buildsystem_cmake_generate_buildrequires() %cmake_generate_buildrequires %{*}
%buildsystem_cmake_conf() %cmake %{*}
%buildsystem_cmake_build() %cmake_build %{*}
%buildsystem_cmake_install() %cmake_install %{*}
%buildsystem_cmake_check() %{?with_ctest:%ctest %{*}} %{!?with_ctest:%{nil}}
# Legacy cmakeX macros for multiversioned CMake
%cmake@@CMAKE_MAJOR_VERSION@@ %cmake
%cmake@@CMAKE_MAJOR_VERSION@@_build %cmake_build
%cmake@@CMAKE_MAJOR_VERSION@@_install %cmake_install
%ctest@@CMAKE_MAJOR_VERSION@@(:-:h:j:u:v:A:C:D:E:F:H:I:L:M:N:O:Q:R:S:T:U:V:) \
%ctest %{**}

6
plans/ci.fmf Normal file
View file

@ -0,0 +1,6 @@
summary: CI Gating Plan
discover:
how: fmf
directory: tests
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (cmake-3.17.3.tar.gz) = 13479bd48ef8a8c95277a62b4f42e63152a5979292a98b5456022ca42ad3963cad75e917cc8b92a8485dbf5a2b59cde3fdc90fd9abdb806bc97c8570d03c1c69
SHA512 (cmake-3.31.10.tar.gz) = ae1eed42c143b5afd70124853367dab130b3a668fd161a8fd794a44d2eb42f0a64367d152eb43edbf167ffa95612ffe10f8f18c6db9410ff473b97d4f04a978e

View file

@ -0,0 +1,63 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /tools/cmake/Sanity/cmake-testsuite-sanity
# Description: cmake testing by upstream testsuite
# Author: Michal Kolar <mkolar@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2021 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/tools/cmake/Sanity/cmake-testsuite-sanity
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE tests
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
test -x runtest.sh || chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Michal Kolar <mkolar@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: cmake testing by upstream testsuite" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 1h" >> $(METADATA)
@echo "RunFor: cmake" >> $(METADATA)
@echo "Requires: cmake dnf-utils rpm-build" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2+" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7 -RHEL8" >> $(METADATA)
rhts-lint $(METADATA)

View file

@ -0,0 +1,3 @@
PURPOSE of /tools/cmake/Sanity/cmake-testsuite-sanity
Description: cmake testing by upstream testsuite
Author: Michal Kolar <mkolar@redhat.com>

View file

@ -0,0 +1,15 @@
summary: cmake testing by upstream testsuite
description: ''
contact:
- Michal Kolar <mkolar@redhat.com>
component:
- cmake
test: ./runtest.sh
framework: beakerlib
recommend:
- cmake
- dnf-utils
- rpm-build
duration: 1h
extra-summary: /tools/cmake/Sanity/cmake-testsuite-sanity
extra-task: /tools/cmake/Sanity/cmake-testsuite-sanity

View file

@ -0,0 +1,89 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /tools/cmake/Sanity/cmake-testsuite-sanity
# Description: cmake testing by upstream testsuite
# Author: Michal Kolar <mkolar@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2021 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
BUILD_USER=${BUILD_USER:-cmkbld}
TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-50}
PACKAGE="cmake"
REQUIRES="$PACKAGE rpm-build"
if rlIsFedora; then
REQUIRES="$REQUIRES dnf-utils"
else
REQUIRES="$REQUIRES yum-utils"
fi
export CLICOLOR=0
rlJournalStart
rlPhaseStartSetup
rlShowRunningKernel
rlAssertRpm --all
rlRun "TmpDir=`mktemp -d`"
rlRun "cp tests $TmpDir"
rlRun "pushd $TmpDir"
rlFetchSrcForInstalled $PACKAGE
rlRun "useradd -M -N $BUILD_USER" 0,9
[ "$?" == "0" ] && rlRun "del=yes"
rlRun "chown -R $BUILD_USER:users $TmpDir"
rlPhaseEnd
rlPhaseStartSetup "build cmake"
rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm"
rlRun "dnf builddep -y $TmpDir/SPECS/*.spec"
rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER"
rlRun "rlFileSubmit $TmpDir/rpmbuild.log"
rlRun "BuildDir=`rpmbuild -D \"_topdir $TmpDir\" -bc --short-circuit --define '__spec_build_pre echo %{_builddir}; exit 0' $TmpDir/SPECS/*.spec | tail -1`"
rlRun "CMakeDir=`ls $BuildDir | grep -E '^cmake-[0-9]+(\.[0-9]+)+(-rc[0-9]+)?$' | tail -n 1`"
rlRun "cd $BuildDir/$CMakeDir"
rlRun "su -c './bootstrap &>$TmpDir/bootstrap.log' $BUILD_USER"
rlRun "rlFileSubmit $TmpDir/bootstrap.log"
rlRun "ln -fs /usr/bin/cmake bin/cmake"
rlRun "make exit_code"
rlPhaseEnd
rlPhaseStartTest "run testsuite"
while read test; do
rlRun "su -c '/usr/bin/ctest -R \"$test\" &>>$TmpDir/testsuite.log' $BUILD_USER"
done <$TmpDir/tests
rlRun "rlFileSubmit $TmpDir/testsuite.log"
rlPhaseEnd
rlPhaseStartTest "evaluate results"
rlRun "cd $TmpDir"
rlRun "grep -E '\*\*\*(F|f)ailed' testsuite.log" 1 "There should be no failure"
rlRun "tests_count=\$(grep -E 'Test #[0-9]+: .+\.\.\. (P|p)assed' testsuite.log | wc -l)"
[ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $TmpDir"
[ "$del" == "yes" ] && rlRun "userdel -f $BUILD_USER"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

View file

@ -0,0 +1,85 @@
RunCMake.CMakeRoleGlobalProperty
RunCMake.CompilerChange
RunCMake.CompilerNotFound
RunCMake.DisallowedCommands
RunCMake.ExportCompileCommands
RunCMake.ExcludeFromAll
RunCMake.ExternalData
RunCMake.FeatureSummary
RunCMake.GeneratorInstance
RunCMake.GeneratorPlatform
RunCMake.GeneratorToolset
RunCMake.GetPrerequisites
RunCMake.GNUInstallDirs
RunCMake.Languages
RunCMake.LinkStatic
RunCMake.ParseImplicitIncludeInfo
RunCMake.ParseImplicitLinkInfo
RunCMake.ScriptMode
RunCMake.TargetObjects
RunCMake.TargetProperties
RunCMake.ToolchainFile
RunCMake.find_dependency
RunCMake.CompileDefinitions
RunCMake.PolicyScope
RunCMake.WriteBasicConfigVersionFile
RunCMake.SourceProperties
RunCMake.WorkingDirectory
RunCMake.add_custom_target
RunCMake.add_dependencies
RunCMake.add_executable
RunCMake.build_command
RunCMake.cmake_minimum_required
RunCMake.cmake_parse_arguments
RunCMake.continue
RunCMake.ctest_cmake_error
RunCMake.ctest_configure
RunCMake.ctest_coverage
RunCMake.ctest_start
RunCMake.ctest_disabled_test
RunCMake.ctest_skipped_test
RunCMake.ctest_update
RunCMake.ctest_upload
RunCMake.file-CHMOD
RunCMake.find_file
RunCMake.find_library
RunCMake.find_path
RunCMake.find_program
RunCMake.foreach
RunCMake.function
RunCMake.get_filename_component
RunCMake.get_property
RunCMake.if
RunCMake.include
RunCMake.include_directories
RunCMake.include_guard
RunCMake.load_cache
RunCMake.math
RunCMake.message
RunCMake.option
RunCMake.project_injected
RunCMake.return
RunCMake.separate_arguments
RunCMake.set_property
RunCMake.string
RunCMake.test_include_dirs
RunCMake.BundleUtilities
RunCMake.try_run
RunCMake.set
RunCMake.variable_watch
RunCMake.while
RunCMake.TargetPolicies
RunCMake.no_install_prefix
RunCMake.SymlinkTrees
RunCMake.File_Archive
RunCMake.File_Configure
RunCMake.ExportWithoutLanguage
RunCMake.target_compile_definitions
RunCMake.target_compile_options
RunCMake.target_include_directories
RunCMake.target_sources
RunCMake.CommandLineTar
RunCMake.CPackCommandLine
RunCMake.CacheNewline
RunCMake.CPackSymlinks
RunCMake.CTestCommandExpandLists