Compare commits
49 Commits
Author | SHA256 | Date | |
---|---|---|---|
bf65e97e66 | |||
b241d547c2 | |||
b6c37f9a92 | |||
6007b5b8bb | |||
83a6e28efe | |||
a58e54e6b8 | |||
762b4c6d96 | |||
a807d743f1 | |||
0f47282945 | |||
336c4009da | |||
3f1157bd13 | |||
0d578b3036 | |||
5e8951e3ef | |||
7e640eee0e | |||
e522065a20 | |||
e57f92fe83 | |||
c1883da3ec | |||
17ac9518b6 | |||
6f3ce5b1f3 | |||
668516984f | |||
d13cd59e9e | |||
9d84d8a21a | |||
b3fd23e81e | |||
53b0933ada | |||
c6e83396d8 | |||
5139abc4b3 | |||
0b575d8d16 | |||
63e360de57 | |||
31cd6fb19d | |||
357cf2f584 | |||
5ccc8b87df | |||
5751c58031 | |||
d2dbbe3141 | |||
d2c108176b | |||
d415c85999 | |||
e2db82e999 | |||
abab63baa9 | |||
7a51a95df7 | |||
b58a62ba1e | |||
6b8bb758e7 | |||
8c72cc29d0 | |||
e6bb0309f9 | |||
2834a16e19 | |||
cc24391305 | |||
c744771f50 | |||
c1b3d01721 | |||
076e2d5224 | |||
41a51d0fe5 | |||
22bd47c7d8 |
@@ -1,7 +1,7 @@
|
|||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
<disk>
|
<disk>
|
||||||
<size unit="G">10</size>
|
<size unit="G">9</size>
|
||||||
</disk>
|
</disk>
|
||||||
</hardware>
|
</hardware>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
15
cmake-3.20.4-SHA-256.txt
Normal file
15
cmake-3.20.4-SHA-256.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
9aa2607c3d96b63fb0899ad05c18fb3ff3651ce4564459f200f654ad06a57df5 cmake-3.20.4-files-v1.json
|
||||||
|
d0c0d0b474ce9226fb97082b5b35bab473b1b36f8ef457c068faa06081210f33 cmake-3.20.4-linux-aarch64.sh
|
||||||
|
d66869db7c0da56f2e32271e264756382f2f17e2421ac67f1372953cf8ec51a2 cmake-3.20.4-linux-aarch64.tar.gz
|
||||||
|
497ba08b694afca57e8c808e0b8db0be1e26398c455e399609dfb1905f3ba49c cmake-3.20.4-linux-x86_64.sh
|
||||||
|
067feed25b76b3adf5863f5a5f7e2b8cafb2dcd6feeaac39a713372ef2c3584c cmake-3.20.4-linux-x86_64.tar.gz
|
||||||
|
4db0d5f0f7bbbe19302067f21e5a2be8235b44b1b465c117006fb154432f6873 cmake-3.20.4-macos-universal.dmg
|
||||||
|
df90016635e3183834143c6d94607f0804fe9762f7cc6032f6a4afd7c19cd43b cmake-3.20.4-macos-universal.tar.gz
|
||||||
|
2a7242cebe6d2f570c40f88b0ee4c29d9a9c81cc7eb7ca76d851752fbfa3f62f cmake-3.20.4-macos10.10-universal.dmg
|
||||||
|
368bf3bedac38a931a334b9b515d83879c82dacd55eed2adb1ef2725b9038607 cmake-3.20.4-macos10.10-universal.tar.gz
|
||||||
|
72d05ce962dc97eda9e1fbd40b4c8c60f64da2d870136ca760c7826e59f7f926 cmake-3.20.4-windows-i386.msi
|
||||||
|
e571c0cebb237da800198ef89d1c874d15f04dfe13dc44d85c2a56e90a4a5209 cmake-3.20.4-windows-i386.zip
|
||||||
|
2a6fa766187812bb2a4db1746ad119a8f215fb1b57debe8a5ef66b9757e0b8db cmake-3.20.4-windows-x86_64.msi
|
||||||
|
965d2f001c3ca807d288f2b6b15c42b25579a0e73ef12c2a72c95f4c69123638 cmake-3.20.4-windows-x86_64.zip
|
||||||
|
87a4060298f2c6bb09d479de1400bc78195a5b55a65622a7dceeb3d1090a1b16 cmake-3.20.4.tar.gz
|
||||||
|
943a80de2520c5c053bcca7c93d4613e1f74e9faa95d3cb0429ce785e9d0b382 cmake-3.20.4.zip
|
16
cmake-3.20.4-SHA-256.txt.asc
Normal file
16
cmake-3.20.4-SHA-256.txt.asc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmDHfU8ACgkQLSzvEDSS
|
||||||
|
FoSY5A//WT0qLwgfRYYvOqDiF3SyR4kmmHOCTobE518UOXArNDyUp12VRSHxn5OJ
|
||||||
|
0cmOt/pSWAUCJwP8IIoML+N+sax4g0mTOeKL6kJIui9xDLObQh8Itil1ExSAoANl
|
||||||
|
P4NdujAz8RnMb/wUCS5fI2iAp7d5m12CfJtbp2krs0QCpnSskBUG+kQM96A17ubh
|
||||||
|
hhKXPVb8B95us2aN/ITT8N2l1RxpnZcNwN3wHdjuFMSgReCakLKOtSEvds60njmk
|
||||||
|
F3Hk8TBQrazXPDS6LBeoghup2xm3NqzrKY+ozzLwFAZimGi/+9UYv/OYgStBYVh2
|
||||||
|
PgfcG3SDOdcYP/0I3g7hGUTAqRY9S67PP2ZG4I6093TUUwU8W+btdOUL3P3QCQ0H
|
||||||
|
qkTdTOj0vFFvTLyQ9OH+nkbPFOzp7f9Czt/tSBlp7DHHRwtcw/Qaav4VT08wMDdf
|
||||||
|
bYhSWqWCG85SSZQMMGCmYeIumQ9u7RmGvy8kx3bx0ia1CtMUisx9XLW+JeFUsdku
|
||||||
|
fudnR5nlFcci+I7JL8izxxccsIzXdh7iriQ0yghp9xNj7kQ0snLOwUPsp7UFC0Rj
|
||||||
|
ukl1e0D82JtZPwJFLmbV+O/x7DXpBEmv1zkktb0aQ6Pu9LrsuDPKPw66nDa8ilxB
|
||||||
|
rY1tCoX2W4OMv+oWxm/k0sn44tumhDavNlfvDpSvbt3vqJ09++M=
|
||||||
|
=JSGc
|
||||||
|
-----END PGP SIGNATURE-----
|
BIN
cmake-3.20.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
cmake-3.20.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,21 +0,0 @@
|
|||||||
d737ed6a42c2a29217460850670fd064d93fc960ed49e9fbd4171c7e2842febd cmake-4.0.3-files-v1.json
|
|
||||||
dd53deec25f826d7c96d62825224329c845150c0eee2729c6a2a069c99891146 cmake-4.0.3-linux-aarch64.sh
|
|
||||||
391da1544ef50ac31300841caaf11db4de3976cdc4468643272e44b3f4644713 cmake-4.0.3-linux-aarch64.tar.gz
|
|
||||||
1d15a366ce6a5191f26ca23b3c7ae6f5690ffa63fa87ffbea4b92fb27e7c6170 cmake-4.0.3-linux-x86_64.sh
|
|
||||||
585ae9e013107bc8e7c7c9ce872cbdcbdff569e675b07ef57aacfb88c886faac cmake-4.0.3-linux-x86_64.tar.gz
|
|
||||||
57faffb8e9a159707998c09c3b40f07a1e8dfca7eb518416a60bf8379bff399d cmake-4.0.3-macos-universal.dmg
|
|
||||||
4e85de4daf1c3e82d7dc6b8ba5683972944b466343aeb9c327a742437bb3ce9a cmake-4.0.3-macos-universal.tar.gz
|
|
||||||
7a3526943eef52181704c4edd2bedb8f5573dd527a4a5fb70f35d6010e2cf550 cmake-4.0.3-macos10.10-universal.dmg
|
|
||||||
31f1d30f47ce1ac25168a70635c2a9160a1a7b54b28f7efac8e8d3c9154add45 cmake-4.0.3-macos10.10-universal.tar.gz
|
|
||||||
85adcdd558d552c661d3481c8446f61ded595deae038652270e618afb9ded4dd cmake-4.0.3-sunos-sparc64.sh
|
|
||||||
60ef9ffa8a72342d48166a7b575493be08955341172165c21785c018ab084104 cmake-4.0.3-sunos-sparc64.tar.gz
|
|
||||||
770e77377f37e0094673eccf1770abee79d28dbb6903e2ea8acfabdb1dfddba1 cmake-4.0.3-sunos-x86_64.sh
|
|
||||||
d566846125cc2309fcf2e249e60cbe98ec9451b4f9d65ba462a8fbfb771be11e cmake-4.0.3-sunos-x86_64.tar.gz
|
|
||||||
0cc0b1db0e0ecbf71457bc84bf0b832bc5293f53b0f65a291f501ec9f04fcf30 cmake-4.0.3-windows-arm64.msi
|
|
||||||
86ccd6485bbd4bb41a1a858db397be5bca5e0de96858bf8dbba7a64407bd6c00 cmake-4.0.3-windows-arm64.zip
|
|
||||||
56f77f1d9ec51a109d17d07c73d3bb1269dcaf0ea2772c1623c6bd9a6b3760a5 cmake-4.0.3-windows-i386.msi
|
|
||||||
9f71df30cf0194f7214d135afb277017bd4a58baba2ae14e6ae8b0533b5a3dbf cmake-4.0.3-windows-i386.zip
|
|
||||||
589da314f09f2b7a28a79932ee33e95b388b0749a6799d887139189864f9798f cmake-4.0.3-windows-x86_64.msi
|
|
||||||
b59a31dfbfa376a4aaea9ff560ff2b29f78ee5f9fb15447fc71ae7bf9fea9379 cmake-4.0.3-windows-x86_64.zip
|
|
||||||
8d3537b7b7732660ea247398f166be892fe6131d63cc291944b45b91279f3ffb cmake-4.0.3.tar.gz
|
|
||||||
398c49dfe07aa9bfce0f9c0ab29d1492046b9ea8ed28a54e298fc35ca63e0b65 cmake-4.0.3.zip
|
|
@@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmhK63gACgkQLSzvEDSS
|
|
||||||
FoSZSxAAlhkoVltYOViltczo5L9JfZ1y0EcwsIEAjKcsRfEU1HlIIL4uoebj6s41
|
|
||||||
gpeiNqre+Axk2Xktw+tkP9izfTVYhMNGI5Jw2AMu9skG0SYi0n6gdlwlndKE0EwU
|
|
||||||
5bufwQrjgL9YxhHhED1FJchosw8PsDodcCL2LKBHuNBoNvGv/qQSsnOx/baZGPqI
|
|
||||||
wTq8TWa4/JxJPuK/j/Lk69IpF9KEzlxjP/yCC8jAe7VFOWdQ2h3HJhEw7dwnQtY+
|
|
||||||
nT/DcnoLtMzG6IQtonSR6lxeACId2h+W2y5kuUGzmhOw42xqglCKY8E1v3ELz0CQ
|
|
||||||
gSCTnWTS1zvbmgrgmudtjQ9FFf2bFfhtGQfqUsew2dxh5e6ThP30Io9Ci4+LiNZv
|
|
||||||
VH8j/w1uJtAJFQumUKsH33CuM3NkzPzIYXEVDvU8k9J1a22yhiEiRytFllU1VwDd
|
|
||||||
Mmq2Js7vy9DnWMl4ch2WR+e/xjEXDp7Is8NevBkb70aOSLchEdm/uqzSsQ5BG81P
|
|
||||||
WV1QhPjucMAP8iJTZKon3QwbZFFf0A2FkXzz++b/a/nGY3d2xw3320PTW9DuGsLO
|
|
||||||
n8L/UBXzJoeWuG4OSaGWNRU0rWYZ/Pg8vFbH/CsrMIAUW72wpIXrdepognqL1TR/
|
|
||||||
drj4W0VsIAdyB3vwG2iB1u/18PWzScl74tQ6zWBqq/2TVSlm/I0=
|
|
||||||
=HFdV
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
cmake-4.0.3.tar.gz
(Stored with Git LFS)
BIN
cmake-4.0.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,38 +0,0 @@
|
|||||||
From a869b79c5921412c91fb71a761748ae5f7d3fb23 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Atri Bhattacharya <badshah400@gmail.org>
|
|
||||||
Date: Mon, 10 Mar 2025 20:55:36 +0530
|
|
||||||
Subject: [PATCH] FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL
|
|
||||||
|
|
||||||
Prefer `h5hlcc`, `h5hlc++`, and `h5hlfc` compilers when HDF5's HL libraries
|
|
||||||
are requested. These include the `-lhdf_hl` in the command line, whereas
|
|
||||||
the non-hl compilers (like `h5cc`) do not. Using the latter, therefore,
|
|
||||||
leads to cmake complaining about not finding the `HDF5_HL` libraries even
|
|
||||||
though they are present in the same location as the `hdf5` library itself.
|
|
||||||
|
|
||||||
Fixes: #23261
|
|
||||||
---
|
|
||||||
Modules/FindHDF5.cmake | 7 +++++++
|
|
||||||
1 file changed, 7 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
|
|
||||||
index 2f0c3c1665..89058ca2be 100644
|
|
||||||
--- a/Modules/FindHDF5.cmake
|
|
||||||
+++ b/Modules/FindHDF5.cmake
|
|
||||||
@@ -218,6 +218,13 @@ else()
|
|
||||||
set(HDF5_Fortran_COMPILER_NAMES h5fc h5pfc)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
+# Prefer h5hl<LANG> compilers if HDF5_FIND_HL is enabled
|
|
||||||
+if(HDF5_FIND_HL)
|
|
||||||
+ list(PREPEND HDF5_C_COMPILER_NAMES h5hlcc)
|
|
||||||
+ list(PREPEND HDF5_CXX_COMPILER_NAMES h5hlc++)
|
|
||||||
+ list(PREPEND HDF5_Fortran_COMPILER_NAMES h5hlfc)
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
# Test first if the current compilers automatically wrap HDF5
|
|
||||||
function(_HDF5_test_regular_compiler_C success version is_parallel)
|
|
||||||
if(NOT ${success} OR
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
||||||
|
|
23
cmake-fix-png-include-dir.patch
Normal file
23
cmake-fix-png-include-dir.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
Index: b/Modules/FindPNG.cmake
|
||||||
|
===================================================================
|
||||||
|
--- a/Modules/FindPNG.cmake
|
||||||
|
+++ b/Modules/FindPNG.cmake
|
||||||
|
@@ -54,12 +54,16 @@
|
||||||
|
find_package(ZLIB ${_FIND_ZLIB_ARG})
|
||||||
|
|
||||||
|
if(ZLIB_FOUND)
|
||||||
|
- find_path(PNG_PNG_INCLUDE_DIR png.h PATH_SUFFIXES include/libpng)
|
||||||
|
+ set(_PNG_VERSION_SUFFIXES 17 16 15 14 12)
|
||||||
|
+ foreach(v IN LISTS _PNG_VERSION_SUFFIXES)
|
||||||
|
+ list(APPEND _PNG_INCLUDE_SUFFIXES libpng${v})
|
||||||
|
+ endforeach()
|
||||||
|
+ find_path(PNG_PNG_INCLUDE_DIR png.h PATH_SUFFIXES include/libpng ${_PNG_INCLUDE_SUFFIXES})
|
||||||
|
+ unset(_PNG_INCLUDE_SUFFIXES)
|
||||||
|
mark_as_advanced(PNG_PNG_INCLUDE_DIR)
|
||||||
|
|
||||||
|
list(APPEND PNG_NAMES png libpng)
|
||||||
|
unset(PNG_NAMES_DEBUG)
|
||||||
|
- set(_PNG_VERSION_SUFFIXES 17 16 15 14 12)
|
||||||
|
if (PNG_FIND_VERSION MATCHES "^([0-9]+)\\.([0-9]+)(\\..*)?$")
|
||||||
|
set(_PNG_VERSION_SUFFIX_MIN "${CMAKE_MATCH_1}${CMAKE_MATCH_2}")
|
||||||
|
if (PNG_FIND_VERSION_EXACT)
|
@@ -1,8 +1,8 @@
|
|||||||
Index: cmake-4.0.0/Modules/FindRuby.cmake
|
Index: b/Modules/FindRuby.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- cmake-4.0.0.orig/Modules/FindRuby.cmake
|
--- a/Modules/FindRuby.cmake
|
||||||
+++ cmake-4.0.0/Modules/FindRuby.cmake
|
+++ b/Modules/FindRuby.cmake
|
||||||
@@ -286,7 +286,7 @@ if (Ruby_EXECUTABLE AND NOT Ruby_EXECUTA
|
@@ -290,7 +290,7 @@
|
||||||
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
||||||
|
|
||||||
# vendor_ruby available ?
|
# vendor_ruby available ?
|
||||||
@@ -10,4 +10,4 @@ Index: cmake-4.0.0/Modules/FindRuby.cmake
|
|||||||
+ execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
|
+ execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
|
||||||
OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET)
|
OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET)
|
||||||
|
|
||||||
if (Ruby_HAS_VENDOR_RUBY)
|
if(Ruby_HAS_VENDOR_RUBY)
|
||||||
|
39
cmake-python311plus.patch
Normal file
39
cmake-python311plus.patch
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
Index: cmake-3.20.4/Modules/FindPython/Support.cmake
|
||||||
|
===================================================================
|
||||||
|
--- cmake-3.20.4.orig/Modules/FindPython/Support.cmake
|
||||||
|
+++ cmake-3.20.4/Modules/FindPython/Support.cmake
|
||||||
|
@@ -22,7 +22,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUI
|
||||||
|
message (FATAL_ERROR "FindPython: INTERNAL ERROR")
|
||||||
|
endif()
|
||||||
|
if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "3")
|
||||||
|
- set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
+ set(_${_PYTHON_PREFIX}_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "2")
|
||||||
|
set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
|
||||||
|
else()
|
||||||
|
Index: cmake-3.20.4/Modules/FindPythonInterp.cmake
|
||||||
|
===================================================================
|
||||||
|
--- cmake-3.20.4.orig/Modules/FindPythonInterp.cmake
|
||||||
|
+++ cmake-3.20.4/Modules/FindPythonInterp.cmake
|
||||||
|
@@ -54,7 +54,7 @@ unset(_Python_NAMES)
|
||||||
|
|
||||||
|
set(_PYTHON1_VERSIONS 1.6 1.5)
|
||||||
|
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
|
||||||
|
-set(_PYTHON3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
+set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
|
||||||
|
if(PythonInterp_FIND_VERSION)
|
||||||
|
if(PythonInterp_FIND_VERSION_COUNT GREATER 1)
|
||||||
|
Index: cmake-3.20.4/Modules/FindPythonLibs.cmake
|
||||||
|
===================================================================
|
||||||
|
--- cmake-3.20.4.orig/Modules/FindPythonLibs.cmake
|
||||||
|
+++ cmake-3.20.4/Modules/FindPythonLibs.cmake
|
||||||
|
@@ -79,7 +79,7 @@ set(CMAKE_FIND_FRAMEWORK LAST)
|
||||||
|
|
||||||
|
set(_PYTHON1_VERSIONS 1.6 1.5)
|
||||||
|
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
|
||||||
|
-set(_PYTHON3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
+set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||||
|
|
||||||
|
if(PythonLibs_FIND_VERSION)
|
||||||
|
if(PythonLibs_FIND_VERSION_COUNT GREATER 1)
|
959
cmake.changes
959
cmake.changes
@@ -1,967 +1,20 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 18 12:04:17 UTC 2025 - Simon Lees <sflees@suse.de>
|
Mon Jan 22 20:55:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- Set -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix a bunch of build
|
- add cmake-python311plus.patch: Detect PSP interpreter
|
||||||
issues.
|
(jsc#PED-68)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 16 21:14:47 UTC 2025 - Christoph G <foss@grueninger.de>
|
Fri Nov 10 08:36:34 UTC 2023 - Paolo Stivanin <pstivanin@suse.com>
|
||||||
|
|
||||||
- update to 4.0.3
|
- Add '-type f' to cmake.macros (fix boo#1217009)
|
||||||
* CUDA/Clang: Fix list of architectures supported by Clang < 20.1,
|
|
||||||
Reorder the logic for setting supported archs, add archs
|
|
||||||
supported by Clang 21
|
|
||||||
* gcc: support `import std`
|
|
||||||
* experimental: recycle the `import std` UUID
|
|
||||||
* Clang/CXXImportStd: support `-stdlib=libstdc++`
|
|
||||||
* experimental/CXXModules: recycle the UUID
|
|
||||||
* FindPython: rely on ABIFLAGS on Windows for ABI profile
|
|
||||||
* FindPython: Avoid implicit link library on Windows
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 28 18:49:13 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Wed Sep 8 12:50:52 UTC 2021 - Max Lin <mlin@suse.com>
|
||||||
|
|
||||||
- Replace usage of %jobs for reproducible builds (boo#1237231)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue May 20 20:45:39 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- fix GUI build on openSUSE Leap 15.x
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Apr 16 21:31:21 UTC 2025 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 4.0.1
|
|
||||||
* get_filename_component: Restore lexical preprocessing of
|
|
||||||
REALPATH for compat
|
|
||||||
* find_package: Restore component requirements in nested calls
|
|
||||||
* Source: Include specific CoreFoundation headers instead of
|
|
||||||
umbrella header
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Apr 16 17:27:57 UTC 2025 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to CMake 4.0
|
|
||||||
* The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help
|
|
||||||
packagers and end users try to configure existing projects that
|
|
||||||
have not been updated to work with supported CMake versions.
|
|
||||||
* The "$<PATH>" generator expression gained the "NATIVE_PATH"
|
|
||||||
operation to convert a CMake path into a native one.
|
|
||||||
* Compatibility with versions of CMake older than 3.5 has been
|
|
||||||
removed.
|
|
||||||
* The "cmake --link-no-warning-as-error" option was added to
|
|
||||||
suppress the effects of the "LINK_WARNING_AS_ERROR" target
|
|
||||||
property and "CMAKE_LINK_WARNING_AS_ERROR" variable.
|
|
||||||
* The "target_link_libraries()" command now supports the
|
|
||||||
"LINKER:" prefix.
|
|
||||||
- adjust cmake-fix-ruby-test.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 11 15:23:54 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.31.7:
|
|
||||||
* fix FindCUDAToolkit doesn't find CUPTI in CUDA installations
|
|
||||||
from runfile
|
|
||||||
* fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders
|
|
||||||
* fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED
|
|
||||||
* fix cmake-gui: Invalid error message "Error: could not load cache"
|
|
||||||
* fix build with curl 8.13.0 (boo#1241036)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Mar 26 14:14:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
|
||||||
|
|
||||||
- Switch cmake-gui builds to Qt6.
|
|
||||||
- Add BuildRequires: qt6-macro to locate qhelpgenerator (in
|
|
||||||
%_qt6_libexecdir) and add corresponding path to env PATH.
|
|
||||||
- Drop use of deprecated %suse_update_desktop_file macro and
|
|
||||||
BuildRequires: update-desktop-files needed solely for this.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 11 06:54:19 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
|
||||||
|
|
||||||
- Add cmake-findhdf5-prefer-hl-compilers.patch -- FindHDF5: Prefer
|
|
||||||
h5hl* compilers for HDF5_FIND_HL; patch submitted upstream
|
|
||||||
[https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch].
|
|
||||||
This fixes hdf5_hl detection issues when building hdf5 >= 1.14
|
|
||||||
using cmake instead of autotools.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Feb 28 20:22:35 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- temporarily revert "make %cmake_{build, install} call cmake
|
|
||||||
directly" as the fall out is too large. will be restored once
|
|
||||||
fallout can be mitigated
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Feb 25 06:17:14 UTC 2025 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.6
|
|
||||||
* cmGeneratorExpressionDAGChecker: Construct with initializer
|
|
||||||
list syntax, De-duplicate constructor signature, Construct
|
|
||||||
with initializer list syntax
|
|
||||||
* GenEx: Restore evaluation context for conditional transitive
|
|
||||||
properties, Fix evaluation of LINK_LIBRARIES as custom
|
|
||||||
transitive property
|
|
||||||
* GoogleTest: Restore support for spaces in explicit
|
|
||||||
WORKING_DIRECTORY
|
|
||||||
|
|
||||||
--------------------------------------------------------------------
|
|
||||||
Wed Feb 19 00:34:48 UTC 2025 - Yoong Jin <solomoncyj@gmail.com>
|
|
||||||
|
|
||||||
- make %cmake_{build, install} call cmake directly
|
|
||||||
to auto set generator so that %global
|
|
||||||
are no longer needed to set generators
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 14 14:33:12 UTC 2025 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.4
|
|
||||||
* LFortran: Remove hard-coded --generate-object-code flag
|
|
||||||
* FindBoost: Add support for Boost 1.87
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 21 12:51:12 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.3
|
|
||||||
* cmLocalUnixMakefileGenerator3: Simplify progress command
|
|
||||||
generation
|
|
||||||
* Makefile: Fix per-directory codegen target
|
|
||||||
* Makefile: Enable progress messages for codegen target
|
|
||||||
* cmGlobalNinjaGenerator: Fixes and improvements
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 6 18:07:29 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.2
|
|
||||||
* GNU linker: Use single-argument form of --dependency-file flag
|
|
||||||
* fileapi: Do not expose flags for linker-generated dependencies
|
|
||||||
* LINK_OPTIONS: Fix crash on empty LINKER: prefix
|
|
||||||
* FindRuby: Add support for 3.4
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Nov 26 20:10:59 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.1
|
|
||||||
* FindBoost: Add support for Boost 1.86
|
|
||||||
* libarchive: Update script to get 3.7.7
|
|
||||||
* execute_process: Restore CLOEXEC on OUTPUT_FILE and
|
|
||||||
ERROR_FILE descriptors
|
|
||||||
* LLD linker: avoid regression on archive libraries deduplication
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 7 17:56:10 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.31.0
|
|
||||||
* cmake-presets(7) files may now include comments using the key
|
|
||||||
"$comment" at any level within the JSON object to provide
|
|
||||||
documentation.
|
|
||||||
* The Ninja Generators and Makefile Generators now produce a
|
|
||||||
"codegen" build target.
|
|
||||||
* The "CMAKE_LINK_LIBRARIES_STRATEGY" variable and corresponding
|
|
||||||
"LINK_LIBRARIES_STRATEGY" target property were added to
|
|
||||||
optionally specify the strategy CMake uses to generate link
|
|
||||||
lines.
|
|
||||||
* The "CMAKE_EXPORT_BUILD_DATABASE" variable, a corresponding
|
|
||||||
"CMAKE_EXPORT_BUILD_DATABASE" environment variable, and an
|
|
||||||
"EXPORT_BUILD_DATABASE" target property, were added to enable
|
|
||||||
exporting C++ module compile commands. This is only supported
|
|
||||||
with Ninja Generators.
|
|
||||||
* The "CMAKE_<LANG>_HOST_COMPILER_ID" and
|
|
||||||
"CMAKE_<LANG>_HOST_COMPILER_VERSION" variables were added,
|
|
||||||
where "<LANG>" is either "CUDA" or "HIP". They are populated
|
|
||||||
when "CMAKE_<LANG>_COMPILER_ID" is "NVIDIA" to identify NVCC's
|
|
||||||
host compiler.
|
|
||||||
* The "file(DOWNLOAD)" and "file(UPLOAD)" commands now verify TLS
|
|
||||||
server certificates for connections to "https://" URLs by
|
|
||||||
default.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 23 08:36:43 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.30.5:
|
|
||||||
* project: Only check non-cache vars when setting project vars
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Sep 27 22:19:53 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.30.4:
|
|
||||||
* FetchContent: Don't update verify script timestamp if it
|
|
||||||
doesn't change
|
|
||||||
* project: Only define non-cache vars if already defined
|
|
||||||
* librhash: aligned_alloc is not available with glibc < 2.16
|
|
||||||
* FindPython: ensure all ABI are searched by default
|
|
||||||
* FindMatlab: multiple fixes for MCR
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Aug 30 05:02:09 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.30.3:
|
|
||||||
* file(DOWNLOAD): Fix User-Agent to use run-time curl version
|
|
||||||
* curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
|
|
||||||
codes
|
|
||||||
* FindPython: fix regression of NumPy detection with Intel MKL
|
|
||||||
library
|
|
||||||
* FindPython: ensure a usable environment is set for the free
|
|
||||||
threaded Python
|
|
||||||
* project: non cache <project> prefix variables are created
|
|
||||||
* FindJNI: Support finding libjvm.so for all OpenJDK variants
|
|
||||||
- Remove cmake-zerojvm.patch which is part of upstream
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Aug 3 07:23:10 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.30.2:
|
|
||||||
* Swift: Fix INSTALL_NAME_DIR under CMP0157 NEW behavior
|
|
||||||
* ExternalProject: Don't add SVN auth args if not set
|
|
||||||
* bug fixes, developer visible fixes and updates to tests
|
|
||||||
- drop curl-8.9.0-output.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jul 27 05:49:03 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Add curl-8.9.0-output.patch to fix test for different output
|
|
||||||
with cURL 8.9.0. Part of upstream and will be part of 3.31.0.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jul 19 16:27:30 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.30.1
|
|
||||||
* Tests: Fix RunCMake.ExternalProject when git is not available
|
|
||||||
+ Restore support for exporting INTERFACE with missing
|
|
||||||
dependencies
|
|
||||||
* FindMatlab: Restore support for finding Matlab without any
|
|
||||||
languages
|
|
||||||
* libuv: backport IDNA input/output hardening fixes
|
|
||||||
* IntelLLVM: Update toolchain layout for 2024+ versions
|
|
||||||
* Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
|
|
||||||
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 3 05:50:53 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- udate to 3.30.0
|
|
||||||
* "cmake-presets(7)" files now support schema version "9".
|
|
||||||
"include" fields now expand all macros except "$env{}" and
|
|
||||||
preset-specific macros, i.e., those derived from the fields
|
|
||||||
inside a preset's definition.
|
|
||||||
* The "Compile Features" functionality now implements support
|
|
||||||
for the "cxx_std_26" and "cuda_std_26" meta-features to
|
|
||||||
indicate that the compiler mode must be at least C++26.
|
|
||||||
* The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
|
|
||||||
describe the latest "<LANG>" language standard CMake supports
|
|
||||||
for the selected compiler.
|
|
||||||
* The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
|
|
||||||
environment variable were added to specify a default minimum
|
|
||||||
TLS version for connections to "https://" URLs by the
|
|
||||||
"file(DOWNLOAD)" and "file(UPLOAD)" commands.
|
|
||||||
* The "GENERATED" source file property is now visible in all
|
|
||||||
directories. See policy "CMP0163". Policy "CMP0118"'s
|
|
||||||
documentation has been revised to describe its actual effects.
|
|
||||||
* The "TARGET_PROPERTY" generator expression learned to evaluate
|
|
||||||
custom transitive properties.
|
|
||||||
* The "CPack WIX Generator" gained support for WiX Toolset v4.
|
|
||||||
See the "CPACK_WIX_VERSION" variable.
|
|
||||||
* The "FindBoost" module has been removed by policy "CMP0167".
|
|
||||||
Port projects to upstream Boost's "BoostConfig.cmake" package
|
|
||||||
configuration file, for which "find_package(Boost)" now
|
|
||||||
searches.
|
|
||||||
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
|
|
||||||
conditionally when Git is found, upstream planned for 3.30.1
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jun 19 07:56:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.29.6:
|
|
||||||
* The :cpack_gen:`CPack WIX Generator`'s
|
|
||||||
:variable:`CPACK_WIX_INSTALL_SCOPE` variable, new in 3.29, now
|
|
||||||
defaults to ``NONE``. This restores
|
|
||||||
compatibility with behavior of 3.28 and below: without a custom WiX
|
|
||||||
template, it produces installers that only create start menu
|
|
||||||
and uninstall entries for the current user, even though they
|
|
||||||
install for all users.
|
|
||||||
* In 3.29.0 through 3.29.4, ``CPACK_WIX_INSTALL_SCOPE`` defaulted
|
|
||||||
to ``perMachine``. This created MSI installers that create
|
|
||||||
start menu and uninstall entries for all users by default.
|
|
||||||
While this behavior is better on its own, these installers do
|
|
||||||
not cleanly replace existing installations created with MSI
|
|
||||||
installers produced by 3.28 and below. 3.29.5 reverts the
|
|
||||||
default for compatibility. Projects may transition to
|
|
||||||
``perMachine`` on their own schedule by setting
|
|
||||||
``CPACK_WIX_INSTALL_SCOPE``.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jun 4 12:47:02 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.29.4
|
|
||||||
* cmCxxModuleMapper: add a query for the open mode for the modmap
|
|
||||||
* CMP0037: Restore diagnostic message for invalid ALIAS target names
|
|
||||||
* libuv: win/spawn: disable extra-file-descriptor support not needed by CMake
|
|
||||||
* Tests/RunCMake/execute_process: Check STARTUPINFOW reserved members
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed May 8 14:30:20 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.29.3
|
|
||||||
* Tests/CXXModules: test exporting modules which include headers
|
|
||||||
* FindBoost: Add support for Boost 1.85
|
|
||||||
* FindHDF5: Fix detection of versions with more than three components
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 12 06:09:54 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.29.2
|
|
||||||
* Fix regression on reconfigure with unnormalized
|
|
||||||
-DCMAKE_<LANG>_COMPILER=
|
|
||||||
* CMakePackageConfigHelpers: Restore undocumented
|
|
||||||
PACKAGE_PREFIX_DIR variable
|
|
||||||
* Swift: Ninja: Remove module dependency for executables
|
|
||||||
* FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONS
|
|
||||||
* FindOpenSSL: Update layout for Shining Light Productions
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Apr 4 12:17:57 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.29.1
|
|
||||||
* IntelLLVM: Revert accidental use of -external:I with Fortran
|
|
||||||
compilers
|
|
||||||
* libuv: process: de-duplicate conditions for using kqueue
|
|
||||||
* ctest: Restore enforcement of RESOURCE_LOCK test property
|
|
||||||
* try_compile(): Include languages with _ or - when passing linker vars
|
|
||||||
* Swift: Add CMAKE_LINKER_TYPE support
|
|
||||||
* FindMatlab: R2024a version map
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Mar 21 19:24:26 UTC 2024 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.29
|
|
||||||
* The “cmake_language(EXIT)” sub-command was added to terminate
|
|
||||||
“cmake -P” scripts with a specified exit code.
|
|
||||||
* The “CMAKE_LINKER_TYPE” variable and corresponding “LINKER_TYPE”
|
|
||||||
target property were added to specify what linker to use with
|
|
||||||
some toolchains.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Feb 25 09:30:03 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.28.3:
|
|
||||||
* Fixes for Freetype with ZLIB, execute_process, Autogen, Matlab,
|
|
||||||
and various bugs
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 22 11:59:08 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
|
||||||
|
|
||||||
- Fix python dependencies: python 3.11 is only needed for build (boo#1218125).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 14 16:46:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
|
||||||
|
|
||||||
- Added patch:
|
|
||||||
* cmake-zerojvm.patch
|
|
||||||
+ fix JVM detection on JDKs with ZERO virtual machine, like
|
|
||||||
java-21-openjdk for armv6l
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 19 19:25:29 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
|
||||||
|
|
||||||
- Revert the linker flags revert. Instead of increasing differences
|
|
||||||
between SLE/Leap and Tumbleweed and risking silent breakage of
|
|
||||||
dozens of packages due to underlinking, fix the one failing
|
|
||||||
package.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 19 15:26:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- fix incorrect requires on libuv1 on non-suse distributions
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com>
|
|
||||||
|
|
||||||
- Revert "-Wl,--no-undefined" as it still breaks packages (boo#1218620)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 17 19:54:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
|
|
||||||
|
|
||||||
- macros: Set some more variables notable %{_docdir} so that GNUInstallDirs
|
|
||||||
works fully on openSUSE. Packages using CMAKE_INSTALL_DOCDIR fail otherwise.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 11 10:21:03 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
|
||||||
|
|
||||||
- Use new enough Sphinx on SLE (jsc#PED-7572 boo#1218125).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 11 01:28:45 UTC 2024 - Simon Lees <sflees@suse.de>
|
|
||||||
|
|
||||||
- A quick note for the bots that boo#1217009 is already fixed
|
|
||||||
in tumbleweed
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 27 12:56:45 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
|
||||||
|
|
||||||
- Re-add "-Wl,--no-undefined" linker flags for executables and
|
|
||||||
regular shared libraries. Shared library targets which are used
|
|
||||||
as plugins/modules should use `add_library(... MODULE ...), which
|
|
||||||
uses the "CMAKE_MODULE_LINKER_FLAGS".
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Dec 14 21:06:23 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.28.1
|
|
||||||
* cmGeneratorTarget: disable C++ module scanning for verify targets
|
|
||||||
* cmQtAutoGenInitializer: disable C++ module scanning for autogen sources
|
|
||||||
* cmLocalGenerator: disable C++ module scanning for copied PCH sources
|
|
||||||
* cmLocalGenerator: disable C++ module scanning for unity sources
|
|
||||||
* cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
|
|
||||||
* FindFreetype: always find the config module quietly
|
|
||||||
* FindFreetype: also consider RelWithDebInfo-built libraries
|
|
||||||
* FindTIFF: always find the config module quietly
|
|
||||||
* FindTIFF: consider `IMPLIB`-using platforms
|
|
||||||
* FindCUDAToolkit: Fix stub library representation on reconfigure
|
|
||||||
* FindMatlab: Fix regression on Windows Registry lookup failure
|
|
||||||
* FindFreetype: Fix success message when config module is found
|
|
||||||
* FindTIFF: Restore support for projects that do not enable CMP0057
|
|
||||||
* FindMatlab: Fix processing of multiple versions from Windows Registry
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 6 21:10:49 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.28.0
|
|
||||||
* C++ 20 named modules are now supported by Ninja Generators, in
|
|
||||||
combination with LLVM/Clang 16.0 and newer, and GCC 14 (after
|
|
||||||
the 2023-09-20 daily bump) and newer.
|
|
||||||
* "HIP" language code may now be compiled for NVIDIA GPUs using
|
|
||||||
the NVIDIA CUDA Compiler (NVCC).
|
|
||||||
* The "exec_program()" command, which has been deprecated since
|
|
||||||
CMake 3.0, has been removed by policy "CMP0153". Use the
|
|
||||||
"execute_process()" command instead.
|
|
||||||
* Generated files, in targets using File Sets, are now considered
|
|
||||||
private by default. Generated public headers must be specified
|
|
||||||
using file sets.
|
|
||||||
* The "find_library()", "find_path()", and "find_file()" commands no
|
|
||||||
longer search in installation prefixes derived from the "PATH"
|
|
||||||
environment variable.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 29 21:07:37 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.27.9:
|
|
||||||
* cmake-file-api(7) "codemodel" version 2 "target" object fileSets
|
|
||||||
field was introduced by CMake 3.26.0 with entries of its
|
|
||||||
baseDirectories member incorrectly expressed as absolute paths
|
|
||||||
even if they are inside the top-level source directory, now
|
|
||||||
fixed. Clients must be updated to expect relative paths under
|
|
||||||
the top-level source directory.
|
|
||||||
* Fortran: Revert 3.27.0 change to module dependency scanning
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Nov 27 08:30:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.27.8 (bsc#1215888, CVE-2023-38545):
|
|
||||||
* cmComputeLinkDepends: also copy the target from object link items
|
|
||||||
* cmComputeLinkInformation: skip over linking to items for object purposes
|
|
||||||
* Fortran: Restore support for TARGET_OBJECTS providing modules
|
|
||||||
* curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
|
|
||||||
* GetPrerequisites: Revert “Ignore relative paths printed by ldd”
|
|
||||||
* cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
|
|
||||||
* cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
|
|
||||||
* FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Oct 13 08:06:23 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- update to 3.27.7:
|
|
||||||
* Tests: Clarify RunCMake.CTestTimeout case name
|
|
||||||
* ctest: Restore support for --timeout values higher than default test timeout
|
|
||||||
* Help: Document CMP0124 behavior on already-set variables
|
|
||||||
* FindPostgreSQL: Add support for version 16
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Sep 15 05:49:45 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- update to 3.27.5:
|
|
||||||
* cmGeneratorTarget: support config-independent Fortran source queries
|
|
||||||
* cmComputeLinkInformation: compute link info for module-using targets
|
|
||||||
* FortranCInterface: forward CMAKE_OSX_DEPLOYMENT_TARGET
|
|
||||||
* cxxmodules: detect and message about non-compiled sources
|
|
||||||
* Source: Link libatomic when needed on any Linux architecture
|
|
||||||
* Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable
|
|
||||||
* FindBoost: Add support for Boost 1.83
|
|
||||||
* Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficiently
|
|
||||||
* VS: Avoid unnecessary CUDA device linking for OBJECT libraries
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Aug 23 20:04:25 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.27.4:
|
|
||||||
* Fix support for Intel compiler with modern GNU system compiler
|
|
||||||
* Graphviz: Restore support for per-target dependency graph options
|
|
||||||
* FindOpenSSL: Fix OpenSSL 3.0.0 version extraction
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Aug 12 12:38:42 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.27.2
|
|
||||||
* Tests: Remove redundant condition in RunCMake.GeneratorPlatform
|
|
||||||
test
|
|
||||||
* file(GENERATE): Restore INPUT|CONTENT parse checking
|
|
||||||
* cmList: Fix performance regression in append/prepend
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jul 28 18:41:34 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.27.1
|
|
||||||
* cmComputeLinkInformation: track OBJECT library dependencies
|
|
||||||
* cmTarget: Restore Fortran_PREPROCESS property initialization
|
|
||||||
* FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty
|
|
||||||
* CTest: Fix regression in calculating test timeout
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 18 20:29:18 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.27.0
|
|
||||||
* “cmake(1)” now supports interactive debugging of the CMake language.
|
|
||||||
See the “–debugger” option.
|
|
||||||
* The “SKIP_LINTING” source file property was added to suppress
|
|
||||||
target-wide code checks on specific sources.
|
|
||||||
* The “COMPILE_ONLY” generator expression was added to specify
|
|
||||||
compilation usage requirements without any linking requirements.
|
|
||||||
* The “FindCUDA” module, which has been deprecated since CMake 3.10,
|
|
||||||
has been removed by policy “CMP0146”.
|
|
||||||
* The “FindPythonInterp” and “FindPythonLibs” modules, which have been
|
|
||||||
deprecated since CMake 3.12, have been removed by policy “CMP0148”.
|
|
||||||
Port projects to “FindPython3”, “FindPython2”, or “FindPython”.
|
|
||||||
* “cmake –build $dir –verbose” will now print the working directory
|
|
||||||
and command line used to perform the build.
|
|
||||||
- Debug feature introduces new dependency to cppdap which is not
|
|
||||||
yet packaged. Thus we use cppdap code provided by CMake.
|
|
||||||
- Drop cmake-fix-png-include-dir.patch and glibc-236.patch as they
|
|
||||||
are included in this release
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jul 6 07:16:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- rebuild cmake-full on libuv updates (bsc#1212090)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 12 22:59:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- modify shebang to the actual python interpreter on install
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri May 19 07:20:35 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- Update to 3.26.4:
|
|
||||||
* Some implementation updates were made to support ecosystem changes
|
|
||||||
and/or fix regressions.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon May 8 01:18:45 UTC 2023 - Neal Gompa <ngompa@opensuse.org>
|
|
||||||
|
|
||||||
- macros: Drop "-Wl,--no-undefined" as it breaks packages that
|
|
||||||
build plugins
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 21 19:24:16 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
|
||||||
|
|
||||||
- macros: Re-add old setup on top of new - some applications still
|
|
||||||
use the old version
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Apr 20 19:52:52 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
|
||||||
|
|
||||||
- macros: substitute exactly once otherwise some non default values
|
|
||||||
won't work
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Apr 5 16:34:32 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.26.3:
|
|
||||||
* Fixes for VS (Intel Fortran) and Xcode (Swift)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Apr 1 14:14:02 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
|
||||||
|
|
||||||
- macros: Convert to GNUInstallDirs
|
|
||||||
* some of the old values such as SYSCONF_INSTALL_PATH aren't
|
|
||||||
used anymore
|
|
||||||
* RUNSTATEDIR and SHAREDSTATEDIR weren't set and the defaults
|
|
||||||
are different to us
|
|
||||||
* SHAREDSTATEDIR isn't under /usr so isn't relative
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Mar 30 14:02:27 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- update to 3.26.2:
|
|
||||||
* This version made no changes to documented features or interfaces.
|
|
||||||
Some implementation updates were made to support ecosystem changes
|
|
||||||
and/or fix regressions.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Mar 24 22:45:12 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.26.1
|
|
||||||
* Fixes for C++ module support
|
|
||||||
* FindPython: ensure Stable ABI is correctly handled
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 14 20:15:20 UTC 2023 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.26.0
|
|
||||||
* The “ASM_MARMASM” language was added to support the Microsoft
|
|
||||||
ARM assembler language.
|
|
||||||
* CMake now writes a YAML log of configure-time checks to
|
|
||||||
“CMakeFiles/CMakeConfigureLog.yaml” under the top of the build
|
|
||||||
tree.
|
|
||||||
* The “cmake-file-api(7)” “codemodel” version 2 “target” object
|
|
||||||
gained a new “fileSets” field and associated “fileSetIndex”
|
|
||||||
field to “sources” objects.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 14 19:18:47 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.25.3:
|
|
||||||
* no changes to documented features or interfaces. Some
|
|
||||||
implementation updates were made to support ecosystem changes
|
|
||||||
and/or fix regressions
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jan 21 09:17:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.25.2:
|
|
||||||
* CUDA language level 20 (corresponding to C++20) is now supported with NVCC 12.0
|
|
||||||
and above.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Dec 1 19:45:57 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.25.1
|
|
||||||
* Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
|
|
||||||
* try_compile: Restore COPY_FILE with
|
|
||||||
CMAKE_TRY_COMPILE_CONFIGURATION
|
|
||||||
* FindCUDA: Do not use CUDA_nppicom_LIBRARY in CUDA 11.0+
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 17 05:37:38 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.25.0
|
|
||||||
* The “find_file()”, “find_path()”, “find_library()”, and
|
|
||||||
“find_program()” commands gained a “VALIDATOR” option to
|
|
||||||
specify a function to be called for each candidate item
|
|
||||||
to validate it.
|
|
||||||
* The “try_compile()” and “try_run()” commands gained new
|
|
||||||
signatures that more consistently use keyword dispatch
|
|
||||||
and do not require a binary directory to be specified.
|
|
||||||
* The “add_subdirectory()” command gained a “SYSTEM” option
|
|
||||||
to enable the “SYSTEM” directory property in the
|
|
||||||
subdirectory.
|
|
||||||
* The “block()” and “endblock()” commands were added to manage
|
|
||||||
specific scopes (policy or variable) for a contained block
|
|
||||||
of commands.
|
|
||||||
* The “return()” command gained a “PROPAGATE” option to
|
|
||||||
propagate variables to the scope to which control returns.
|
|
||||||
* The “LINUX” and “CMAKE_HOST_LINUX” variables are now set
|
|
||||||
to true when the target or host system is Linux,
|
|
||||||
respectively.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Nov 2 16:09:11 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.24.3
|
|
||||||
* LLVMFlang: Add support for mixed-language linking with Fortran
|
|
||||||
* FindMatlab: add R2022b 9.13 version map
|
|
||||||
* Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag
|
|
||||||
* CUDA: Add support for the two new architectures in 11.8
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Sep 17 05:39:34 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.24.2:
|
|
||||||
* FindBoost: Add support for Boost 1.80
|
|
||||||
* Check link libraries properties: fix performances regression
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 23 15:05:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- add glibc-236.patch (bsc#1202208)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 18 09:04:40 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- Update to 3.24.1:
|
|
||||||
* automoc: avoid compiler warnings in linker-warning-silencing code
|
|
||||||
* FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
|
|
||||||
* IPO: Do not use -flto=auto with GCC 10.x on Windows
|
|
||||||
* export: Restore exclusion of private shared library dependencies from checks
|
|
||||||
* FindVulkan: Restore tolerance of unknown FATAL_ERROR component
|
|
||||||
* Help: Add 3.24 release note about FindVulkan component enforcement
|
|
||||||
* TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
|
|
||||||
* Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
|
|
||||||
* Help: A missing cross-reference to --compile-no-warning-as-error
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 4 21:20:12 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.24.0
|
|
||||||
* The “FetchContent” module and the “find_package()” command
|
|
||||||
now support integration capabilities.
|
|
||||||
* The “LINK_LIBRARY” generator expression was added to manage
|
|
||||||
how libraries are specified during the link step.
|
|
||||||
* “cmake(1)” gained the “–fresh” command-line option to remove
|
|
||||||
any existing “CMakeCache.txt” file and associated
|
|
||||||
“CMakeFiles/” directory, when configuring a build tree, thus
|
|
||||||
starting a new configuration as if the build tree were
|
|
||||||
freshly created.
|
|
||||||
* The “find_file()”, “find_path()”, “find_library()”,
|
|
||||||
“find_program()”, and “find_package()” commands gained the
|
|
||||||
“NO_CMAKE_INSTALL_PREFIX” option to control searching
|
|
||||||
“CMAKE_INSTALL_PREFIX”.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 2 09:04:01 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
|
||||||
|
|
||||||
- Update to 3.23.3:
|
|
||||||
* This version made no changes to documented features or interfaces.
|
|
||||||
Some implementation updates were made to support ecosystem changes
|
|
||||||
and/or fix regressions.
|
|
||||||
- Rebase cmake-fix-ruby-test.patch
|
|
||||||
- Rebase cmake-fix-png-include-dir.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jul 2 07:32:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
|
||||||
|
|
||||||
- Fix the %%cmake macro which tried to run sed on 'CMakeLists.txt'
|
|
||||||
without making sure it's not a folder (boo#1217009).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Jun 5 00:03:22 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.23.2:
|
|
||||||
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
|
|
||||||
``CPack.distribution.dist.in`` template file was replaced by a new
|
|
||||||
``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
|
|
||||||
This broke projects that provided their own template file but still
|
|
||||||
expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
|
|
||||||
The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
|
|
||||||
same content as it was before, but it is formally deprecated.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat May 28 18:54:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Edit cmake.macros: Stop injecting -DNDEBUG at the end of
|
|
||||||
CFLAGS. It's impossible to override by re-setting CFLAGS, and
|
|
||||||
if it were really wanted globally, it should be in %optflags
|
|
||||||
instead.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Apr 13 20:48:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.23.1:
|
|
||||||
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
|
|
||||||
place header files properly in Apple FRAMEWORK targets. Pending further
|
|
||||||
work in a future version of CMake, it is now an error to add a FILE_SET of
|
|
||||||
type HEADERS to such targets on Apple platforms.
|
|
||||||
* The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
|
|
||||||
3.23.0 are now read-only records of the header sets created by the
|
|
||||||
target_sources() command.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 8 11:48:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- speed up build of :mini flavor by using external zstd (part of 0-Bootstrap)
|
|
||||||
and turn off LTO
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 29 19:18:02 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- Update to 3.23.0
|
|
||||||
* "cmake-presets(7)" files now have an optional "include" field,
|
|
||||||
which allows the files to include other files.
|
|
||||||
* The "install(TARGETS)" command gained a new "FILE_SET" argument,
|
|
||||||
which can be used to install header file sets associated with a
|
|
||||||
target.
|
|
||||||
* The "target_sources()" command gained a new "FILE_SET" mode,
|
|
||||||
which can be used to add headers as header-only source files of
|
|
||||||
a target.
|
|
||||||
* The "CMAKE_CUDA_ARCHITECTURES" variable and associated
|
|
||||||
"CUDA_ARCHITECTURES" target property now support the "all", and
|
|
||||||
"all-major" values for CUDA toolkit 7.0+.
|
|
||||||
- Drop "fix-avoid-file-static-init.patch" which is part of upstream
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Mar 20 21:08:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.22.3:
|
|
||||||
* The while() command again ignores errors in condition evaluation as CMake
|
|
||||||
3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in
|
|
||||||
existing projects. The fix has been reverted to restore compatibility. The
|
|
||||||
fix may be restored in a future version of CMake via a policy.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 28 18:46:59 UTC 2022 - Markus Ebner <info@ebner-markus.de>
|
|
||||||
|
|
||||||
- Build cmake's qhelp into new package cmake-doc-qhelp
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 26 21:13:02 UTC 2022 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to version 3.22.2
|
|
||||||
* FortranCInterface: Fix compatibility with GCC gfortran 12 LTO
|
|
||||||
* FindBoost: Add support for Boost 1.78
|
|
||||||
* file: Restore error capture in undocumented READ_ELF mode
|
|
||||||
* FindPython: Add support for Python 3.11
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 21 04:02:39 UTC 2022 - Simon Lees <sflees@suse.de>
|
|
||||||
|
|
||||||
- Fix build with gcc12 (boo#1194815)
|
|
||||||
* Adds fix-avoid-file-static-init.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 11 10:27:53 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- cmake 3.22.1:
|
|
||||||
* try_compile: Do not use CMAKE_BUILD_TYPE or
|
|
||||||
CMAKE_CONFIGURATION_TYPES
|
|
||||||
* file(RPATH): Restore tolerance of unknown formats if new RPATH
|
|
||||||
is empty
|
|
||||||
* CMakeParseLibraryArchitecture: Fix parsing /lib/<arch> implicit
|
|
||||||
object path
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Dec 7 11:05:24 UTC 2021 - Simon Lees <simonf.lees@suse.com>
|
|
||||||
|
|
||||||
- Changing something for a test
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 1 16:36:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
|
||||||
|
|
||||||
- Adapt cmake.prov for Qt >= 6.2.2
|
|
||||||
Upstream uses its own ConfigVersion implementation.Starting with
|
|
||||||
Qt 6.2.2, 'PACKAGE_VERSION' is not defined in
|
|
||||||
Qt6FooConfigVersion.cmake but in Qt6FooConfigVersionImpl.cmake.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 18 20:25:16 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- cmake 3.22.0:
|
|
||||||
* The cmake_host_system_information() command can now query OS
|
|
||||||
identification variables from the /etc/os-release file.
|
|
||||||
* The string(TIMESTAMP) command now supports the %V specifier for
|
|
||||||
ISO 8601 week numbers.
|
|
||||||
* New variables:
|
|
||||||
CMAKE_BUILD_TYPE
|
|
||||||
CMAKE_CONFIGURATION_TYPES
|
|
||||||
CMAKE_INSTALL_MODE
|
|
||||||
CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG, CMAKE_LINK_WHAT_YOU_USE_CHECK
|
|
||||||
CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>
|
|
||||||
* The <LANG>_EXTENSIONS target property is now initialized to
|
|
||||||
CMAKE_<LANG>_EXTENSIONS_DEFAULT, detected from the compiler.
|
|
||||||
* VS_SETTINGS source file property is now supported for all source file types
|
|
||||||
* The CMakeDependentOption module cmake_dependent_option() macro
|
|
||||||
now supports full Condition Syntax127.
|
|
||||||
* The FetchContent module now passes through the CMAKE_TLS_VERIFY,
|
|
||||||
CMAKE_TLS_CAINFO, CMAKE_NETRC and CMAKE_NETRC_FILE variables
|
|
||||||
(when defined) to the underlying ExternalProject sub-build.
|
|
||||||
* The FindBLAS and FindLAPACK modules gained a BLA_SIZEOF_INTEGER
|
|
||||||
option to find a BLAS/LAPACK whose ABI uses a specific integer size.
|
|
||||||
* The FindJasper module now provides an imported target.
|
|
||||||
* The FindMatlab module now provides imported targets.
|
|
||||||
* The FindPkgConfig module gained a PKG_CONFIG_ARGN variable to
|
|
||||||
specify arguments to pkg-config calls.
|
|
||||||
* The GoogleTest module gtest_discover_tests() function gained a
|
|
||||||
TEST_FILTER option to filter tests using --gtest_filter during
|
|
||||||
test discovery.
|
|
||||||
* The UseSWIG module, for Visual Studio Generators, can now use the
|
|
||||||
swig tool to generate implicit dependencies.
|
|
||||||
* ctest improvements
|
|
||||||
* CPack DEB Generator supports zstd
|
|
||||||
* CPack RPM Generator gained support to exluding paths from
|
|
||||||
dependency scanning
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Oct 31 11:07:05 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- cmake 3.21.4:
|
|
||||||
* The Visual Studio 17 2022 generator is not based on the
|
|
||||||
"Visual Studio 2022" release candidates.
|
|
||||||
- drop cmake-fix-zstd-armv6.patch, upstream
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 13 12:34:11 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
|
||||||
|
|
||||||
- Fix bundled zstd to avoid a crash on armv6 - boo#1191588:
|
|
||||||
* cmake-fix-zstd-armv6.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 21 20:36:02 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- cmake 3.21.3:
|
|
||||||
* The AMD ROCm Platform hipcc compiler was identifed by CMake
|
|
||||||
3.21.0 through 3.21.2 as a distinct compiler with id ROCMClang.
|
|
||||||
This has been removed because it caused regressions. Instead:
|
|
||||||
hipcc may no longer be used as a HIP compiler because it
|
|
||||||
interferes with flags CMake needs to pass to Clang. Use Clang
|
|
||||||
directly. hipcc may once again be used as a CXX compiler, and
|
|
||||||
is treated as whatever compiler it selects underneath, as
|
|
||||||
CMake 3.20 and below did.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Sep 8 12:46:31 UTC 2021 - Max Lin <mlin@suse.com>
|
|
||||||
|
|
||||||
- fix a typo in cmake.macros bsc#1190302
|
- fix a typo in cmake.macros bsc#1190302
|
||||||
* change CMAKE_SKIP_INSTALL_RPATHS to CMAKE_SKIP_INSTALL_RPATH
|
* change CMAKE_SKIP_INSTALL_RPATHS to CMAKE_SKIP_INSTALL_RPATH
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 31 13:19:26 UTC 2021 - Ralf Habacker <ralf.habacker@freenet.de>
|
|
||||||
|
|
||||||
- Be more verbose when version in generated xxxConfigVersion.cmake
|
|
||||||
files is empty.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Aug 29 13:38:36 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.21.2:
|
|
||||||
* CUDA targets with CUDA_SEPARABLE_COMPILATION enabled are now
|
|
||||||
correctly generated in non-root directories
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 28 07:18:38 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 3.21.1:
|
|
||||||
* The Visual Studio 17 2022 generator is now based on "Visual Studio 2022
|
|
||||||
Preview 2". Previously it was based on "Preview 1.1".
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 14 19:32:35 UTC 2021 - Christoph G <foss@grueninger.de>
|
|
||||||
|
|
||||||
- update to 3.21.0
|
|
||||||
* The Makefile Generators and the “Ninja” generator learned to add
|
|
||||||
linker launcher tools along with the linker for “C”, “CXX”,
|
|
||||||
“OBJC”, and “OBJCXX” languages.
|
|
||||||
* “cmake(1)” gained the “–toolchain <path/to/file>” command-line
|
|
||||||
option to specify a toolchain file.
|
|
||||||
* Messages printed to a terminal now may be colored by message
|
|
||||||
type.
|
|
||||||
* The “add_custom_command(TARGET)” command (for Build Events)
|
|
||||||
gained support for resolving target-dependent generator
|
|
||||||
expressions.
|
|
||||||
* The “install(TARGETS)” command gained new “RUNTIME_DEPENDENCIES”
|
|
||||||
and “RUNTIME_DEPENDENCY_SET” arguments, which can be used to
|
|
||||||
install runtime dependencies using “file(GET_RUNTIME_DEPENDENCIES)”.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 5 15:41:15 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
|
||||||
|
|
||||||
- Increase the disk space needed in the _constraints file
|
|
||||||
from 9G to 10G.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 21 20:18:44 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
|
||||||
|
|
||||||
- update to 3.20.5:
|
|
||||||
* Allow override of unexpected non-flow-control commands
|
|
||||||
* No further user visible changes to interfaces
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 15 08:44:30 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
Tue Jun 15 08:44:30 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
31
cmake.macros
31
cmake.macros
@@ -7,9 +7,6 @@
|
|||||||
%__builder %__make
|
%__builder %__make
|
||||||
%__sourcedir .
|
%__sourcedir .
|
||||||
|
|
||||||
%__cmake_make_prefix_relative() %{lua:print((string.gsub((rpm.expand("%1")), ((rpm.expand("%{_prefix}")) .. "/"), "", 1)))}
|
|
||||||
%__cmake_make_root_relative() %{lua:print((string.gsub((rpm.expand("%1")), "/", "", 1)))}
|
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
find %__sourcedir -type f -name CMakeLists.txt \\\
|
find %__sourcedir -type f -name CMakeLists.txt \\\
|
||||||
-exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE /}' {} + \
|
-exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE /}' {} + \
|
||||||
@@ -22,27 +19,16 @@
|
|||||||
-GNinja \\\
|
-GNinja \\\
|
||||||
%endif \
|
%endif \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
||||||
-DCMAKE_INSTALL_BINDIR:PATH=%{__cmake_make_prefix_relative %{_bindir}} \\\
|
|
||||||
-DCMAKE_INSTALL_SBINDIR:PATH=%{__cmake_make_prefix_relative %{_sbindir}} \\\
|
|
||||||
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{__cmake_make_prefix_relative %{_libexecdir}} \\\
|
|
||||||
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{__cmake_make_root_relative %{_sysconfdir}} \\\
|
|
||||||
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \\\
|
|
||||||
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{__cmake_make_root_relative %{_localstatedir}} \\\
|
|
||||||
-DCMAKE_INSTALL_RUNSTATEDIR:PATH=%{__cmake_make_root_relative %{_rundir}} \\\
|
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{__cmake_make_prefix_relative %{_libdir}} \\\
|
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{__cmake_make_prefix_relative %{_includedir}} \\\
|
|
||||||
-DCMAKE_INSTALL_DATAROOTDIR:PATH=%{__cmake_make_prefix_relative %{_datadir}} \\\
|
|
||||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{__cmake_make_prefix_relative %{_docdir}/%{name}} \\\
|
|
||||||
-DCMAKE_INSTALL_MANDIR:PATH=%{__cmake_make_prefix_relative %{_mandir}} \\\
|
|
||||||
-DCMAKE_INSTALL_INFODIR:PATH=%{__cmake_make_prefix_relative %{_infodir}} \\\
|
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
||||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
||||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
||||||
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
||||||
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \\\
|
||||||
|
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \\\
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\\
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\\
|
||||||
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
|
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -DNDEBUG" \\\
|
||||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \\\
|
||||||
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" \\\
|
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}} -DNDEBUG" \\\
|
||||||
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
|
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
|
||||||
-DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \\\
|
-DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \\\
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
|
-DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
|
||||||
@@ -57,8 +43,7 @@
|
|||||||
-DBUILD_STATIC_LIBS:BOOL=OFF \\\
|
-DBUILD_STATIC_LIBS:BOOL=OFF \\\
|
||||||
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\
|
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\
|
||||||
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
|
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
|
||||||
-DCMAKE_MODULES_INSTALL_DIR=%{_libdir}/cmake/%{name} \\\
|
-DCMAKE_MODULES_INSTALL_DIR=%{_libdir}/cmake/%{name}
|
||||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
|
||||||
|
|
||||||
%__builder_verbose \
|
%__builder_verbose \
|
||||||
%if "%__builder" == "%__make" \
|
%if "%__builder" == "%__make" \
|
||||||
@@ -78,6 +63,6 @@
|
|||||||
DESTDIR=%{buildroot} %__builder install -C %__builddir
|
DESTDIR=%{buildroot} %__builder install -C %__builddir
|
||||||
|
|
||||||
%ctest(:-:) \
|
%ctest(:-:) \
|
||||||
cd %__builddir && \
|
cd %__builddir \
|
||||||
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** ; \
|
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** \
|
||||||
cd ..
|
cd ..
|
||||||
|
11
cmake.prov
11
cmake.prov
@@ -57,11 +57,6 @@ class CMakeParser:
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def resolveCMakeModuleVersion(self, modulePath, cmakeModule, lowercase):
|
def resolveCMakeModuleVersion(self, modulePath, cmakeModule, lowercase):
|
||||||
# Qt >= 6.2.2 defines 'PACKAGE_VERSION' in *ConfigVersionImpl.cmake
|
|
||||||
versionFile = f"{modulePath}/{cmakeModule}ConfigVersionImpl.cmake" if "Qt6" in f"{cmakeModule}" else ""
|
|
||||||
try:
|
|
||||||
f = open(versionFile, 'r')
|
|
||||||
except:
|
|
||||||
versionFile = ("%s/%s-config-version.cmake" if lowercase else "%s/%sConfigVersion.cmake") % (modulePath, cmakeModule)
|
versionFile = ("%s/%s-config-version.cmake" if lowercase else "%s/%sConfigVersion.cmake") % (modulePath, cmakeModule)
|
||||||
try:
|
try:
|
||||||
f = open(versionFile, 'r')
|
f = open(versionFile, 'r')
|
||||||
@@ -74,11 +69,7 @@ class CMakeParser:
|
|||||||
# set(PACKAGE_VERSION <version>)
|
# set(PACKAGE_VERSION <version>)
|
||||||
version = re.match(r"^set[\ ]*\([\ ]*PACKAGE_VERSION[\ ]+[\"]*([0-9\.]+)[\"]*[\ ]*[.]*\)", line)
|
version = re.match(r"^set[\ ]*\([\ ]*PACKAGE_VERSION[\ ]+[\"]*([0-9\.]+)[\"]*[\ ]*[.]*\)", line)
|
||||||
if version:
|
if version:
|
||||||
_version = version.groups(1)[0]
|
return version.groups(1)[0]
|
||||||
if _version == '..':
|
|
||||||
sys.stderr.write("error: Version pattern found without values - '%s' was created incorrectly\n" % versionFile)
|
|
||||||
return _version
|
|
||||||
|
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
111
cmake.spec
111
cmake.spec
@@ -1,8 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cmake
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,41 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
# Flavor gui
|
|
||||||
%if "%{flavor}" == "gui"
|
%if "%{flavor}" == "gui"
|
||||||
%define psuffix -ui
|
%define psuffix -ui
|
||||||
%bcond_without gui
|
%bcond_without gui
|
||||||
%else
|
%else
|
||||||
%bcond_with gui
|
%bcond_with gui
|
||||||
%endif
|
%endif
|
||||||
# Where available, the gui-flavor also enables qhelp docs
|
|
||||||
%if "%{flavor}" == "gui" && 0%{?suse_version} > 1500
|
|
||||||
%bcond_without qhelp
|
|
||||||
%else
|
|
||||||
%bcond_with qhelp
|
|
||||||
%endif
|
|
||||||
# Flavor mini
|
|
||||||
%if "%{flavor}" == "mini"
|
%if "%{flavor}" == "mini"
|
||||||
%define psuffix -mini
|
%define psuffix -mini
|
||||||
%bcond_without mini
|
%bcond_without mini
|
||||||
%else
|
%else
|
||||||
%bcond_with mini
|
%bcond_with mini
|
||||||
%endif
|
%endif
|
||||||
# Flavor full
|
|
||||||
%if "%{flavor}" == "full"
|
%if "%{flavor}" == "full"
|
||||||
%define psuffix -full
|
%define psuffix -full
|
||||||
%bcond_without full
|
%bcond_without full
|
||||||
%else
|
%else
|
||||||
%bcond_with full
|
%bcond_with full
|
||||||
%endif
|
%endif
|
||||||
%define shortversion 4.0
|
%define shortversion 3.20
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
|
|
||||||
%define pyver 311
|
|
||||||
%else
|
|
||||||
%define pyver 3
|
|
||||||
%endif
|
|
||||||
Name: cmake%{?psuffix}
|
Name: cmake%{?psuffix}
|
||||||
Version: 4.0.3
|
Version: 3.20.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -69,8 +54,8 @@ Source99: README.SUSE
|
|||||||
Patch0: cmake-fix-ruby-test.patch
|
Patch0: cmake-fix-ruby-test.patch
|
||||||
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
|
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
|
||||||
Patch1: feature-suse-python-interp-search-order.patch
|
Patch1: feature-suse-python-interp-search-order.patch
|
||||||
# PATCH-FIX-UPSTREAM cmake-findhdf5-prefer-hl-compilers.patch badshah400@gmail.com -- FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL; patch submitted upstream [https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch]
|
Patch2: cmake-fix-png-include-dir.patch
|
||||||
Patch2: cmake-findhdf5-prefer-hl-compilers.patch
|
Patch3: cmake-python311plus.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@@ -79,15 +64,9 @@ BuildRequires: pkgconfig(bzip2)
|
|||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
BuildRequires: pkgconfig(libssl)
|
BuildRequires: pkgconfig(libssl)
|
||||||
BuildRequires: pkgconfig(libzstd)
|
BuildRequires: pkgconfig(libuv) >= 1.10
|
||||||
BuildRequires: pkgconfig(ncurses)
|
BuildRequires: pkgconfig(ncurses)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
BuildRequires: pkgconfig(libuv) >= 1.28
|
|
||||||
# Needs a rebuild as libuv will otherwise abort the program with:
|
|
||||||
# fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures
|
|
||||||
%requires_eq libuv1
|
|
||||||
%endif
|
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
Requires: cmake-implementation = %{version}
|
Requires: cmake-implementation = %{version}
|
||||||
%endif
|
%endif
|
||||||
@@ -105,21 +84,12 @@ Requires: this-is-only-for-build-envs
|
|||||||
BuildRequires: pkgconfig(jsoncpp) >= 1.4.1
|
BuildRequires: pkgconfig(jsoncpp) >= 1.4.1
|
||||||
BuildRequires: pkgconfig(libarchive) >= 3.3.3
|
BuildRequires: pkgconfig(libarchive) >= 3.3.3
|
||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
|
BuildRequires: pkgconfig(libzstd)
|
||||||
%endif
|
%endif
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
BuildRequires: python%{pyver}-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python%{pyver}-base
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: qt6-macros
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
BuildRequires: pkgconfig(Qt6Core)
|
|
||||||
BuildRequires: pkgconfig(Qt6Gui)
|
|
||||||
BuildRequires: pkgconfig(Qt6Widgets)
|
|
||||||
%if 0%{?suse_version} < 1600
|
|
||||||
# for #include <filesystem>
|
|
||||||
BuildRequires: gcc12-c++
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if %{with qhelp}
|
|
||||||
BuildRequires: qt6-tools-helpgenerators
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -140,12 +110,6 @@ Requires: cmake
|
|||||||
This is a Graphical User Interface for CMake, a cross-platform
|
This is a Graphical User Interface for CMake, a cross-platform
|
||||||
build system.
|
build system.
|
||||||
|
|
||||||
%package -n cmake-doc-qhelp
|
|
||||||
Summary: CMake documentation for offline reading - qhelp version
|
|
||||||
|
|
||||||
%description -n cmake-doc-qhelp
|
|
||||||
CMake documentation for offline reading - qhelp version.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
|
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
|
||||||
# Verify hashes in that file against source tarball.
|
# Verify hashes in that file against source tarball.
|
||||||
@@ -153,24 +117,10 @@ echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURC
|
|||||||
%autosetup -p1 -n cmake-%{version}
|
%autosetup -p1 -n cmake-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -p %{SOURCE99} .
|
cp %{SOURCE99} .
|
||||||
%if %{with qhelp}
|
|
||||||
# Add path to qhelpgenerator
|
|
||||||
export PATH+=":%{_qt6_libexecdir}"
|
|
||||||
%endif
|
|
||||||
%if %{with mini}
|
|
||||||
# this is serial, so it takes too much time for the mini package
|
|
||||||
%define _find_debuginfo_dwz_opts %{nil}
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
%endif
|
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
export CXXFLAGS="$CFLAGS"
|
|
||||||
%if %{with gui}
|
|
||||||
%if 0%{?suse_version} < 1600
|
|
||||||
export CXX=g++-12
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if "%{flavor}" != ""
|
%if "%{flavor}" != ""
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
export CXXFLAGS="%{optflags}"
|
||||||
# This is not autotools configure
|
# This is not autotools configure
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
@@ -178,27 +128,15 @@ export CXX=g++-12
|
|||||||
--docdir=/share/doc/packages/cmake \
|
--docdir=/share/doc/packages/cmake \
|
||||||
--mandir=/share/man \
|
--mandir=/share/man \
|
||||||
--system-libs \
|
--system-libs \
|
||||||
--no-system-cppdap \
|
|
||||||
%if %{with mini}
|
%if %{with mini}
|
||||||
--no-system-curl \
|
--no-system-curl \
|
||||||
--no-system-nghttp2 \
|
--no-system-nghttp2 \
|
||||||
--no-system-jsoncpp \
|
--no-system-jsoncpp \
|
||||||
--no-system-libarchive \
|
--no-system-libarchive \
|
||||||
|
--no-system-zstd \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} < 1600
|
|
||||||
--parallel=0%{jobs} \
|
--parallel=0%{jobs} \
|
||||||
%else
|
|
||||||
--parallel=${RPM_BUILD_NCPUS:-1} \
|
|
||||||
%endif
|
|
||||||
--verbose \
|
--verbose \
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
--system-libuv \
|
|
||||||
%else
|
|
||||||
--no-system-libuv \
|
|
||||||
%endif
|
|
||||||
%if %{with qhelp}
|
|
||||||
--sphinx-qthelp \
|
|
||||||
%endif
|
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
--qt-gui \
|
--qt-gui \
|
||||||
--sphinx-man \
|
--sphinx-man \
|
||||||
@@ -213,19 +151,17 @@ export CXX=g++-12
|
|||||||
%if "%{flavor}" != ""
|
%if "%{flavor}" != ""
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p %{buildroot}%{_libdir}/cmake
|
mkdir -p %{buildroot}%{_libdir}/cmake
|
||||||
|
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
|
%suse_update_desktop_file -r cmake-gui CMake Development IDE Tools Qt
|
||||||
|
|
||||||
# delete files that belong to the 'cmake' package
|
# delete files that belong to the 'cmake' package
|
||||||
rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest,ccmake}
|
rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest,ccmake}
|
||||||
rm -rf %{buildroot}%{_datadir}/cmake
|
rm -rf %{buildroot}%{_datadir}/cmake
|
||||||
rm -rf %{buildroot}%{_datadir}/aclocal/cmake.m4
|
rm -rf %{buildroot}%{_datadir}/aclocal/cmake.m4
|
||||||
|
rm -rf %{buildroot}%{_docdir}/cmake
|
||||||
rm -rf %{buildroot}%{_datadir}/bash-completion/completions/{cmake,cpack,ctest}
|
rm -rf %{buildroot}%{_datadir}/bash-completion/completions/{cmake,cpack,ctest}
|
||||||
rm -rf %{buildroot}%{_datadir}/emacs/site-lisp/cmake-mode.el
|
rm -rf %{buildroot}%{_datadir}/emacs/site-lisp/cmake-mode.el
|
||||||
rm -rf %{buildroot}%{_datadir}/vim/
|
rm -rf %{buildroot}%{_datadir}/vim/
|
||||||
# delete docdir but preserve qhelp if applicable
|
|
||||||
find %{buildroot}%{_docdir}/cmake -mindepth 1 -not -name "CMake.qch" -delete
|
|
||||||
rmdir %{buildroot}%{_docdir}/cmake || true
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644
|
find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644
|
||||||
@@ -235,7 +171,9 @@ install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
|
|||||||
# RPM auto provides
|
# RPM auto provides
|
||||||
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
|
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
|
||||||
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
|
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||||
sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
|
|
||||||
|
# fix: W: files-duplicate (%%license covers already)
|
||||||
|
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}/cmake
|
%fdupes %{buildroot}%{_datadir}/cmake
|
||||||
%endif
|
%endif
|
||||||
@@ -252,13 +190,9 @@ sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpm
|
|||||||
-E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
|
-E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with qhelp}
|
|
||||||
%files -n cmake-doc-qhelp
|
|
||||||
%{_docdir}/cmake/CMake.qch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
%files -n cmake-gui
|
%files -n cmake-gui
|
||||||
|
%license Copyright.txt
|
||||||
%{_bindir}/cmake-gui
|
%{_bindir}/cmake-gui
|
||||||
%{_datadir}/applications/cmake-gui.desktop
|
%{_datadir}/applications/cmake-gui.desktop
|
||||||
%{_datadir}/mime/packages/cmakecache.xml
|
%{_datadir}/mime/packages/cmakecache.xml
|
||||||
@@ -269,15 +203,16 @@ sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpm
|
|||||||
%{_datadir}/icons/hicolor/32x32/apps/CMakeSetup.png
|
%{_datadir}/icons/hicolor/32x32/apps/CMakeSetup.png
|
||||||
|
|
||||||
%files -n cmake-man
|
%files -n cmake-man
|
||||||
|
%license Copyright.txt
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
%else
|
%else
|
||||||
|
%license Copyright.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{_rpmconfigdir}/macros.d/macros.cmake
|
%{_rpmconfigdir}/macros.d/macros.cmake
|
||||||
%{_fileattrsdir}/cmake.attr
|
%{_fileattrsdir}/cmake.attr
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
Index: cmake-3.27.7/Modules/FindPythonInterp.cmake
|
Index: cmake-3.10.1/Modules/FindPythonInterp.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- cmake-3.27.7.orig/Modules/FindPythonInterp.cmake
|
--- cmake-3.10.1.orig/Modules/FindPythonInterp.cmake
|
||||||
+++ cmake-3.27.7/Modules/FindPythonInterp.cmake
|
+++ cmake-3.10.1/Modules/FindPythonInterp.cmake
|
||||||
@@ -105,8 +105,9 @@ if(DEFINED PYTHONLIBS_VERSION_STRING)
|
@@ -83,8 +83,9 @@ if(DEFINED PYTHONLIBS_VERSION_STRING)
|
||||||
list(GET _PYTHONLIBS_VERSION 1 _PYTHONLIBS_VERSION_MINOR)
|
list(GET _PYTHONLIBS_VERSION 1 _PYTHONLIBS_VERSION_MINOR)
|
||||||
list(APPEND _Python_VERSIONS ${_PYTHONLIBS_VERSION_MAJOR}.${_PYTHONLIBS_VERSION_MINOR})
|
list(APPEND _Python_VERSIONS ${_PYTHONLIBS_VERSION_MAJOR}.${_PYTHONLIBS_VERSION_MINOR})
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user