Commit Graph

587 Commits

Author SHA1 Message Date
Björn Esser
6f2559e4ae
Backport upstream patch for Boost v1.81 support 2023-01-15 13:05:09 +01:00
Björn Esser
e813f8279b
Small indentation fix 2023-01-15 13:00:03 +01:00
Neal Gompa
77b93ad1b9 Adjust ctest macro to use native out-of-tree support
With CMake 3.20, ctest(1) learned how to be told where the generated
working directory is, so we no longer have to change directories
(and thus, rely on shell semantics to get back out of that directory)
to make CTest work properly.

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

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

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

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

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-01 08:27:40 +02:00
Tom Callaway
a63a3e2b71 fix FindLua to support lua 5.4 2020-06-30 15:37:16 -04:00
Björn Esser
a86fd237d4 Apply change: CMake to do out-of-source builds (#1852036) 2020-06-29 19:42:03 +02:00