forked from pool/cmake
Compare commits
46 Commits
Author | SHA256 | Date | |
---|---|---|---|
d38b2fd8d4 | |||
f2b709a594 | |||
bf4c2e4fef | |||
77ec69fbd6 | |||
ab8058d61f | |||
a52845f374 | |||
340cd699af | |||
7811a89be0 | |||
b60894407b | |||
d2ccc3eb93 | |||
456e054b93 | |||
54f601bdf0 | |||
30f85bee48 | |||
ffc18b21f9 | |||
516aee823a | |||
03e9110310 | |||
54f36f5ae7 | |||
1fc6503a0c | |||
761def9716 | |||
52e5956f7a | |||
0ac7dfcdbb | |||
86c026673c | |||
ba94670a20 | |||
36def3180b | |||
8f444423a9 | |||
48d1c83324 | |||
fdf224aa74 | |||
b232c807cd | |||
72c650fa6e | |||
4977926a76 | |||
9dc6932a6b | |||
b2d77adfa7 | |||
445ccc52aa | |||
1a0272880a | |||
084354fa0e | |||
fd29b2c06f | |||
787f614237 | |||
b89a805db5 | |||
90237d10a3 | |||
c0234c40bc | |||
f059d499f4 | |||
e9eabaa7e2 | |||
780894776a | |||
d754e77339 | |||
ce4ec39acd | |||
e0903fafcc |
@@ -1,7 +1,7 @@
|
|||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
<disk>
|
<disk>
|
||||||
<size unit="G">9</size>
|
<size unit="G">10</size>
|
||||||
</disk>
|
</disk>
|
||||||
</hardware>
|
</hardware>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
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
|
|
@@ -1,16 +0,0 @@
|
|||||||
-----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)
BIN
cmake-3.20.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
17
cmake-3.31.7-SHA-256.txt
Normal file
17
cmake-3.31.7-SHA-256.txt
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
b410959270af66f46943bbae63cf7a3dcde68fb505ceaba4e83f01c4b47d7c28 cmake-3.31.7-files-v1.json
|
||||||
|
ce8e32b2c1c497dd7f619124c043ac5c28a88677e390c58748dd62fe460c62a2 cmake-3.31.7-linux-aarch64.sh
|
||||||
|
e5b2dc2aefdca10afe09c8fa4ee2bbb4e732665943a94322f99c118781910c3c cmake-3.31.7-linux-aarch64.tar.gz
|
||||||
|
b7a5c909cdafc36042c8c9bd5765e92ff1f2528cf01720aa6dc4df294ec7e1a0 cmake-3.31.7-linux-x86_64.sh
|
||||||
|
14e15d0b445dbeac686acc13fe13b3135e8307f69ccf4c5c91403996ce5aa2d4 cmake-3.31.7-linux-x86_64.tar.gz
|
||||||
|
22eea0dd50922f7e4a7e112e5606bcb3358617cdc13f512c944c81166babbd16 cmake-3.31.7-macos-universal.dmg
|
||||||
|
1cb11aa2edae8551bb0f22807c6f5246bd0eb60ae9fa1474781eb4095d299aca cmake-3.31.7-macos-universal.tar.gz
|
||||||
|
531b551625920d3d5bf128ef5486987978d42d7dd682b3bed98839828c83bf15 cmake-3.31.7-macos10.10-universal.dmg
|
||||||
|
f9f8d3e8d06ba1d12e2bda78654d00a78062550a4020917673ce30f733520edd cmake-3.31.7-macos10.10-universal.tar.gz
|
||||||
|
17c564185cf81548bd0164d9d9d341d5ca5c62ba24b68a5c71298ef0c92cb818 cmake-3.31.7-windows-arm64.msi
|
||||||
|
5b72d0dcd66dadbbb90789c70789db92302342cc7b91df62059a26e230544f05 cmake-3.31.7-windows-arm64.zip
|
||||||
|
1e0b5050c51d4b54edc533386130b847fa39600a3845a660995c77e6e816a4e0 cmake-3.31.7-windows-i386.msi
|
||||||
|
9d545715a45efb5fada0e687ec274629c590296037f21181c30ea5c2e079277e cmake-3.31.7-windows-i386.zip
|
||||||
|
f75de311fc36ccdd62976a1d343939b41d5cbcd204e922bb8d0943be3d7dcc7b cmake-3.31.7-windows-x86_64.msi
|
||||||
|
ab1c7f46a1b1314f9fcb766c2573148679af599d94c5566bc12b8b35bb563362 cmake-3.31.7-windows-x86_64.zip
|
||||||
|
a6d2eb1ebeb99130dfe63ef5a340c3fdb11431cce3d7ca148524c125924cea68 cmake-3.31.7.tar.gz
|
||||||
|
43638d48bc6b6c3356c247486f053f5de2dd5d838e98248e078434a03b1d3e67 cmake-3.31.7.zip
|
16
cmake-3.31.7-SHA-256.txt.asc
Normal file
16
cmake-3.31.7-SHA-256.txt.asc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmf3zIwACgkQLSzvEDSS
|
||||||
|
FoR2LRAAjM1okzohbKOdPIjyPjNKdAcivZ9Epgrer51ZtjATG9HeaGeRTdU0f4jR
|
||||||
|
RrkXWO80Z/R9wkw7nM0wWJwtz284jWJI6oqNuLUPEiPc+Hfu5oVn8zEF0s+sqLwv
|
||||||
|
FBgcp/zrz+VbPmw3HZLBvr3XmYZ57cN4fln3zT9BkC90dIcxY+e3UwutvHvtaMf4
|
||||||
|
PcvA7MXSO5cNzP8eQbUSdxVaHIbQfV9OJoUrFNBNEmW6IQJ+hrOgGAy++DgG0ADu
|
||||||
|
BmNkjDHR0LanLno+rr6TMb6XyZnXu99AfdRGpR8lRfkoEXDYwasHj2YlreLJRP/E
|
||||||
|
k3Xn0p5HM6Eor68HmFT2+ZHbgRuwgyk9JiCgBIYF1zvli6xBOtkDO1XgNUB74SAa
|
||||||
|
Pi1q7HqEfmPqbVAzG+/oBrDyop/E3VmKK6epO/leOGZFL/TjVWgPFVT6MCHk6TMv
|
||||||
|
5pyol9vkgCmK3xo8v0I86ncMhH30CWVNTzpqOsc9mVjClLLfMJPEg5SmzUceEUHF
|
||||||
|
sEm6ze2TtAP9lmO7SiczMHeJvVNts8YYUU/CZkgTllieXkcmsfGUuGI5Yf2Nz4K3
|
||||||
|
EE0bVOxi08bUzGqPA3jy5J6E1h+Jpy6SfSV9pvXXsGCORFsz+mgL/8K2aP2/tp6w
|
||||||
|
HI03A8YqAjU9ccAvgQ6UYcWORKvUgMRQzsDBPYst4yOXuED9mo4=
|
||||||
|
=Dkjn
|
||||||
|
-----END PGP SIGNATURE-----
|
BIN
cmake-3.31.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
cmake-3.31.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
38
cmake-findhdf5-prefer-hl-compilers.patch
Normal file
38
cmake-findhdf5-prefer-hl-compilers.patch
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
|
@@ -1,23 +0,0 @@
|
|||||||
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: b/Modules/FindRuby.cmake
|
Index: cmake-3.26.2/Modules/FindRuby.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/Modules/FindRuby.cmake
|
--- cmake-3.26.2.orig/Modules/FindRuby.cmake
|
||||||
+++ b/Modules/FindRuby.cmake
|
+++ cmake-3.26.2/Modules/FindRuby.cmake
|
||||||
@@ -290,7 +290,7 @@
|
@@ -313,7 +313,7 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
|
||||||
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
||||||
|
|
||||||
# vendor_ruby available ?
|
# vendor_ruby available ?
|
||||||
|
@@ -1,39 +0,0 @@
|
|||||||
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)
|
|
911
cmake.changes
911
cmake.changes
@@ -1,20 +1,919 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 22 20:55:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Wed May 28 18:49:13 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
- add cmake-python311plus.patch: Detect PSP interpreter
|
- Replace usage of %jobs for reproducible builds (boo#1237231)
|
||||||
(jsc#PED-68)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 10 08:36:34 UTC 2023 - Paolo Stivanin <pstivanin@suse.com>
|
Tue May 20 20:45:39 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
- Add '-type f' to cmake.macros (fix boo#1217009)
|
- fix GUI build on openSUSE Leap 15.x
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 8 12:50:52 UTC 2021 - Max Lin <mlin@suse.com>
|
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>
|
||||||
|
|
||||||
|
28
cmake.macros
28
cmake.macros
@@ -7,6 +7,9 @@
|
|||||||
%__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 /}' {} + \
|
||||||
@@ -19,16 +22,27 @@
|
|||||||
-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} -DNDEBUG" \\\
|
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
|
||||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \\\
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
|
||||||
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}} -DNDEBUG" \\\
|
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" \\\
|
||||||
-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" \\\
|
||||||
@@ -63,6 +77,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,6 +57,11 @@ 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')
|
||||||
@@ -69,7 +74,11 @@ 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:
|
||||||
return version.groups(1)[0]
|
_version = 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
|
||||||
|
|
||||||
|
106
cmake.spec
106
cmake.spec
@@ -1,7 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package cmake
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -17,27 +18,41 @@
|
|||||||
|
|
||||||
|
|
||||||
%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 3.20
|
%define shortversion 3.31
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
|
||||||
|
%define pyver 311
|
||||||
|
%else
|
||||||
|
%define pyver 3
|
||||||
|
%endif
|
||||||
Name: cmake%{?psuffix}
|
Name: cmake%{?psuffix}
|
||||||
Version: 3.20.4
|
Version: 3.31.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -54,8 +69,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
|
||||||
Patch2: cmake-fix-png-include-dir.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]
|
||||||
Patch3: cmake-python311plus.patch
|
Patch2: cmake-findhdf5-prefer-hl-compilers.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@@ -64,9 +79,15 @@ BuildRequires: pkgconfig(bzip2)
|
|||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
BuildRequires: pkgconfig(libssl)
|
BuildRequires: pkgconfig(libssl)
|
||||||
BuildRequires: pkgconfig(libuv) >= 1.10
|
BuildRequires: pkgconfig(libzstd)
|
||||||
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
|
||||||
@@ -84,12 +105,21 @@ 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: python3-Sphinx
|
BuildRequires: python%{pyver}-Sphinx
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: python%{pyver}-base
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: qt6-macros
|
||||||
|
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
|
||||||
@@ -110,6 +140,12 @@ 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.
|
||||||
@@ -117,10 +153,24 @@ 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 %{SOURCE99} .
|
cp -p %{SOURCE99} .
|
||||||
%if "%{flavor}" != ""
|
%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 CFLAGS="%{optflags}"
|
||||||
export CXXFLAGS="%{optflags}"
|
export CXXFLAGS="$CFLAGS"
|
||||||
|
%if %{with gui}
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
export CXX=g++-12
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" != ""
|
||||||
# This is not autotools configure
|
# This is not autotools configure
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
@@ -128,15 +178,27 @@ export CXXFLAGS="%{optflags}"
|
|||||||
--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 \
|
||||||
@@ -151,17 +213,19 @@ export CXXFLAGS="%{optflags}"
|
|||||||
%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
|
||||||
@@ -171,6 +235,7 @@ 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)
|
# fix: W: files-duplicate (%%license covers already)
|
||||||
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
||||||
@@ -190,6 +255,12 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
|||||||
-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
|
||||||
|
%license Copyright.txt
|
||||||
|
%{_docdir}/cmake/CMake.qch
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with gui}
|
%if %{with gui}
|
||||||
%files -n cmake-gui
|
%files -n cmake-gui
|
||||||
%license Copyright.txt
|
%license Copyright.txt
|
||||||
@@ -206,6 +277,7 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
|||||||
%license Copyright.txt
|
%license Copyright.txt
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
Index: cmake-3.10.1/Modules/FindPythonInterp.cmake
|
Index: cmake-3.27.7/Modules/FindPythonInterp.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
--- cmake-3.10.1.orig/Modules/FindPythonInterp.cmake
|
--- cmake-3.27.7.orig/Modules/FindPythonInterp.cmake
|
||||||
+++ cmake-3.10.1/Modules/FindPythonInterp.cmake
|
+++ cmake-3.27.7/Modules/FindPythonInterp.cmake
|
||||||
@@ -83,8 +83,9 @@ if(DEFINED PYTHONLIBS_VERSION_STRING)
|
@@ -105,8 +105,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