Commit Graph

526 Commits

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

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

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

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

This also brings CMake in line with the same build/install process
that is used for packaging Meson-based projects.
2020-06-23 09:41:38 +00:00
Neal Gompa
50646f0efa Setup CMake to do out-of-tree builds by default
This brings CMake in line with upstream best practices for building
with CMake and lines up with how most people expect CMake to behave.
2020-06-23 09:41:38 +00:00
Björn Esser
77c5d42f75 Update to 3.18.0-rc2 2020-06-20 11:37:49 +02:00
Björn Esser
8b4138a684 Update to 3.18.0-rc1 2020-06-17 11:54:13 +02:00
Björn Esser
aa9db08f96 Refresh FindRuby patch 2020-06-12 18:14:41 +02:00
Björn Esser
645a99bedd Disable curl test during bootstrap only 2020-05-30 14:19:55 +02:00
Björn Esser
cfff94149b Disable bootstrap for Rebuild (jsoncpp) 2020-05-30 13:52:15 +02:00
Björn Esser
01c03f182c Disable curl test 2020-05-30 13:49:02 +02:00
Björn Esser
d0248a96bf Revert "Disable bootstrap for Rebuild (jsoncpp)"
This reverts commit f076d38e5e.
2020-05-30 13:47:58 +02:00
Björn Esser
f076d38e5e Disable bootstrap for Rebuild (jsoncpp) 2020-05-30 12:00:55 +02:00
Björn Esser
7aedef19dd Bootstrap for Rebuild (jsoncpp) 2020-05-30 11:45:29 +02:00
Björn Esser
d9eb0a48bf Update to cmake-3.17.3 2020-05-29 09:51:17 +02:00
Björn Esser
302877f5c5 Update to cmake-3.17.2 2020-04-29 01:07:29 +02:00
Björn Esser
5cea73e323
Update to cmake-3.17.1 2020-04-09 20:23:57 +02:00
Rex Dieter
fb41c005d8 Update to cmake-3.17.0 2020-03-24 12:21:04 -05:00
Björn Esser
f8c1c1d47b
Update to 3.17.0-rc3 2020-03-13 11:28:59 +01:00
Björn Esser
422d920ec7
kwsys.testProcess-{4,5} are flaky on s390x 2020-03-03 12:14:25 +01:00
Björn Esser
e5db548e34
Update to 3.17.0-rc2 2020-03-03 10:58:17 +01:00
Orion Poplawski
1bb4a5c968 Use python3 for rpm generators
Use lowercase names for cmake provides in generator (in addition to old names)
2020-02-26 20:59:26 -07:00
Björn Esser
0d9eb67fed
Fix release tag 2020-02-18 00:02:09 +01:00
Björn Esser
1f31468bbd
Update to 3.17.0-rc1 2020-02-17 23:43:47 +01:00
Björn Esser
278c697be5
Refresh patches 2020-02-17 23:43:47 +01:00
Björn Esser
3e504e7796
Update to 3.16.4 2020-02-05 19:47:26 +01:00
Fedora Release Engineering
95a62478f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:18:23 +00:00
Björn Esser
48dc69cf14
Update to 3.16.3 2020-01-22 16:24:13 +01:00
Björn Esser
544f6b7bd0
Drop patches that are applied in upstream tarball 2020-01-22 16:23:18 +01:00
Björn Esser
b9f551dc1f
Do not indent rpm conditionals in macros.cmake 2020-01-15 11:53:26 +01:00
Björn Esser
202d11b3d1
Use %%set_build_flags inside macros.cmake if available 2020-01-15 11:43:18 +01:00
Björn Esser
062da0a4bf
Use %%set_build_flags to export build flags if available 2020-01-15 11:28:42 +01:00
Björn Esser
f48eae3697
Use %%_vpath_builddir for out-of-tree build 2020-01-15 11:21:10 +01:00
Björn Esser
c563351e5c
Update to 3.16.2 2020-01-15 11:21:10 +01:00
Björn Esser
d22a0444ec
Small style fixup 2020-01-15 11:21:10 +01:00
Miro Hrončok
8d55c35ecb FindPython: Add support for version 3.9 2020-01-14 19:46:18 +01:00
Björn Esser
25f9bed0bb
Re-enable test "kwsys.testProcess-5" on S390X 2019-12-15 19:40:14 +01:00
Björn Esser
6158d7b92a
Update to 3.16.1 2019-12-14 20:50:37 +01:00
Björn Esser
3060a641bf
Exclude test "kwsys.testProcess-5" on S390X 2019-11-27 17:08:59 +01:00
Björn Esser
3546dfaf75
Update to 3.16.0 2019-11-26 19:38:55 +01:00
Orion Poplawski
3648c4d8a2 Update to 3.6.0-rc4 2019-11-18 21:05:37 -07:00
Björn Esser
36cafa45d7
Update %changelog 2019-11-15 19:39:56 +01:00
Björn Esser
d673630857
Disable bootstrap for jsoncpp again 2019-11-15 19:39:56 +01:00
Björn Esser
cbd95056bc
Exclude more failing tests on s390x 2019-11-15 19:17:56 +01:00
Björn Esser
3c38508291
Exclude another failing test on s390x 2019-11-15 09:01:38 +01:00
Björn Esser
453d15e9a8
Exclude more tests failing on s390x 2019-11-15 08:12:28 +01:00