[EPEL-devel] Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-08-03 Thread Neal Gompa
On Mon, Aug 3, 2020 at 7:08 PM Orion Poplawski wrote: > > On 7/7/20 12:09 PM, Neal Gompa wrote: > > On Tue, Jul 7, 2020 at 1:57 PM Orion Poplawski wrote: > >> > >> On 6/15/20 1:47 PM, Ben Cotton wrote: > >>> https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > >>> > > >>> ==

Re: [EPEL-devel] Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-08-03 Thread Neal Gompa
On Mon, Aug 3, 2020 at 7:08 PM Orion Poplawski wrote: > > On 7/7/20 12:09 PM, Neal Gompa wrote: > > On Tue, Jul 7, 2020 at 1:57 PM Orion Poplawski wrote: > >> > >> On 6/15/20 1:47 PM, Ben Cotton wrote: > >>> https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > >>> > > >>> ==

[EPEL-devel] Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-08-03 Thread Orion Poplawski
On 7/7/20 12:09 PM, Neal Gompa wrote: > On Tue, Jul 7, 2020 at 1:57 PM Orion Poplawski wrote: >> >> On 6/15/20 1:47 PM, Ben Cotton wrote: >>> https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds >>> >>> == Upgrade/compatibility impact == >>> Existing packages can (and most

Re: [EPEL-devel] Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-08-03 Thread Orion Poplawski
On 7/7/20 12:09 PM, Neal Gompa wrote: > On Tue, Jul 7, 2020 at 1:57 PM Orion Poplawski wrote: >> >> On 6/15/20 1:47 PM, Ben Cotton wrote: >>> https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds >>> >>> == Upgrade/compatibility impact == >>> Existing packages can (and most

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-20 Thread Dominik 'Rathann' Mierzejewski
On Monday, 20 July 2020 at 21:39, Neal Gompa wrote: > On Mon, Jul 20, 2020 at 3:32 PM Dominik 'Rathann' Mierzejewski > wrote: [...] > > Sorry, but when you break other packagers workflows, the least you > > can do is provide a clean solution to make them work again. Making a > > change and

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-20 Thread Neal Gompa
On Mon, Jul 20, 2020 at 3:32 PM Dominik 'Rathann' Mierzejewski wrote: > > On Wednesday, 08 July 2020 at 15:19, Igor Raits wrote: > > On Wed, 2020-07-08 at 14:13 +0200, Vitaly Zaitsev via devel wrote: > > > On 07.07.2020 19:57, Orion Poplawski wrote: > > > > What's the plan for EPEL8/7

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-20 Thread Dominik 'Rathann' Mierzejewski
On Wednesday, 08 July 2020 at 15:19, Igor Raits wrote: > On Wed, 2020-07-08 at 14:13 +0200, Vitaly Zaitsev via devel wrote: > > On 07.07.2020 19:57, Orion Poplawski wrote: > > > What's the plan for EPEL8/7 compatibility? > > > > +1. The new Cmake macros behaviour must be backported to EPEL7/8. >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, 2020-07-08 at 14:13 +0200, Vitaly Zaitsev via devel wrote: > On 07.07.2020 19:57, Orion Poplawski wrote: > > What's the plan for EPEL8/7 compatibility? > > +1. The new Cmake macros behaviour must be backported to EPEL7/8. Feel free to

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Vitaly Zaitsev via devel
On 07.07.2020 19:57, Orion Poplawski wrote: > What's the plan for EPEL8/7 compatibility? +1. The new Cmake macros behaviour must be backported to EPEL7/8. Currently all fixed by proven packages SPEC files cannot be built on EPEL branches. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org)

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Richard Shaw
On Wed, Jul 8, 2020 at 4:11 AM Igor Raits wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Wed, 2020-07-08 at 09:12 +0800, Qiyu Yan wrote: > > Richard Shaw 于 2020年7月8日周三 上午6:11写道: > > > > > Ok, so it appears this change was for F32+ only, so I can't merge > > > master > > >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, 2020-07-08 at 09:12 +0800, Qiyu Yan wrote: > Richard Shaw 于 2020年7月8日周三 上午6:11写道: > > > Ok, so it appears this change was for F32+ only, so I can't merge > > master > > into f32 or earlier... > > >  Maybe wait it to be backported into

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-07-07 at 11:57 -0600, Orion Poplawski wrote: > On 6/15/20 1:47 PM, Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > > > > == Summary == > > %cmake macro will be adjusted (-B > > parameter)

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-08 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-07-07 at 12:07 -0600, Orion Poplawski wrote: > On 6/15/20 1:47 PM, Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > > > > == Summary == > > %cmake macro will be adjusted (-B > > parameter)

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-07 Thread Qiyu Yan
Richard Shaw 于 2020年7月8日周三 上午6:11写道: > Ok, so it appears this change was for F32+ only, so I can't merge master > into f32 or earlier... > Maybe wait it to be backported into f31. The documents said this will be backported into older supported version. But now, merging master into older

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-07 Thread Richard Shaw
Ok, so it appears this change was for F32+ only, so I can't merge master into f32 or earlier... This whole change is still broken AF. Thanks, Richard ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-07 Thread Neal Gompa
On Tue, Jul 7, 2020 at 1:57 PM Orion Poplawski wrote: > > On 6/15/20 1:47 PM, Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > > > > == Summary == > > %cmake macro will be adjusted (-B parameter) > > to use separate build folder (already standardized

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-07 Thread Orion Poplawski
On 6/15/20 1:47 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds == Summary == %cmake macro will be adjusted (-B parameter) to use separate build folder (already standardized %{_vpath_builddir} macro). Additionally, %cmake_build, %cmake_install and

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-07 Thread Orion Poplawski
On 6/15/20 1:47 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds == Summary == %cmake macro will be adjusted (-B parameter) to use separate build folder (already standardized %{_vpath_builddir} macro). Additionally, %cmake_build, %cmake_install and

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-03 Thread Neal Gompa
On Fri, Jul 3, 2020 at 3:44 PM Robert-André Mauchin wrote: > > On Friday, 3 July 2020 19:41:40 CEST Igor Raits wrote: > > Just wanted to provide some update on this change. > > > > * %__cmake_in_source_build macro has been introduced and set to 1. It > > controls what arguments are passed to

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-03 Thread Robert-André Mauchin
On Friday, 3 July 2020 19:41:40 CEST Igor Raits wrote: > Just wanted to provide some update on this change. > > * %__cmake_in_source_build macro has been introduced and set to 1. It > controls what arguments are passed to `cmake -B ...`, `cmake --build > ...`, `cmake --install ...` and in which

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-07-03 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Just wanted to provide some update on this change. * %__cmake_in_source_build macro has been introduced and set to 1. It controls what arguments are passed to `cmake -B ...`, `cmake --build ...`, `cmake --install ...` and in which directory `ctest`

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-20 Thread Kevin Kofler
Gary Buhrmaster wrote: > On Wed, Jun 17, 2020 at 5:41 AM Igor Raits > wrote: > >> >> %if (0%{?rhel} && 0%{?rhel}) <= 8 || (0%{?fedora} && 0%{?fedora} <= 32) >> > > Yes, I have written such spec file lines, and while > they are correct, they tend to be ugly to parse for > humans. Apparently

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-17 Thread Andy Mender
On Tue, 16 Jun 2020 at 07:10, Igor Raits wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Tue, 2020-06-16 at 02:21 +0200, Kevin Kofler wrote: > > Ben Cotton wrote: > > > == Summary == > > > %cmake macro will be adjusted (-B > > > parameter) > > > to use separate build folder

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-17 Thread Gary Buhrmaster
On Wed, Jun 17, 2020 at 5:41 AM Igor Raits wrote: > > %if (0%{?rhel} && 0%{?rhel}) <= 8 || (0%{?fedora} && 0%{?fedora} <= 32) > Yes, I have written such spec file lines, and while they are correct, they tend to be ugly to parse for humans. While I know it is personal preference, I tend to

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-17 Thread Panu Matilainen
On 6/17/20 8:41 AM, Igor Raits wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, 2020-06-17 at 01:38 +0200, Kevin Kofler wrote: James Cassell wrote: If you're doing this, might I suggest reversing the condition so the new way is in the "else" part, hence "default"? The problem

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-17 Thread José Abílio Matos
On Tuesday, 16 June 2020 03.41.09 WEST Neal Gompa wrote: > CMake themselves do not recommend doing in-source builds (and they've > already warned that this will eventually stop working). Meson doesn't > even permit it. These days, Autotools is the weird exception that > mostly mandates in-source

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 23:45 +0200, Kevin Kofler wrote: > Neal Gompa wrote: > > You can also do "%cmake -B %{_vpath_builddir}" and that will work > > on > > old and new distro releases alike. > > Not on really old distros, because it requires CMake

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 23:52 +0200, Kevin Kofler wrote: > Dan Čermák wrote: > > Or you use the new %cmake macro only in the f32, epel8 and master > > branch and leave the other branches as they are? > > That requires maintaining the branches

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 15:18 +0200, Kevin Kofler wrote: > Igor Raits wrote: > > The correct way of doing out-of-source builds is to use `cmake -S . > > -B > > builddir` and not cd/pushd and other things. Sadly we can't > > implement > > this

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, 2020-06-17 at 01:38 +0200, Kevin Kofler wrote: > James Cassell wrote: > > If you're doing this, might I suggest reversing the condition so > > the new > > way is in the "else" part, hence "default"? > > The problem is that this results in a

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
James Cassell wrote: > If you're doing this, might I suggest reversing the condition so the new > way is in the "else" part, hence "default"? The problem is that this results in a counterintuitive &&, as in: %if 0%{?fedora} <= 32 && 0%{?rhel} <= 8 (by de Morgan's law, or if you want to analyze it

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread James Cassell
On Tue, Jun 16, 2020, at 9:16 AM, Kevin Kofler wrote: > Michael Catanzaro wrote: > > Kevin, the goal is to *simply* these packages: > > > > mkdir -p %{_target_platform} > > pushd %{_target_platform} > > %cmake > > popd > > > > It's four lines. We get to simplify it down to one line. Proposal >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Dan Čermák wrote: > Or you use the new %cmake macro only in the f32, epel8 and master > branch and leave the other branches as they are? That requires maintaining the branches separately and not fast-forwarding them, but fast-forwarding is the most convenient way to maintain several leaf

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Neal Gompa wrote: > You can also do "%cmake -B %{_vpath_builddir}" and that will work on > old and new distro releases alike. Not on really old distros, because it requires CMake 3.13 (2018-11-20): https://cgold.readthedocs.io/en/latest/glossary/-B.html (The undocumented variant "%cmake -H.

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Christoph Junghans
On Mon, Jun 15, 2020 at 1:49 PM Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds > > == Summary == > %cmake macro will be adjusted (-B parameter) > to use separate build folder (already standardized > %{_vpath_builddir} macro). Additionally, >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 18:54 +0200, Dan Čermák wrote: > Kevin Kofler writes: > > > Michael Catanzaro wrote: > > > Kevin, the goal is to *simply* these packages: > > > > > > mkdir -p %{_target_platform} > > > pushd %{_target_platform} > > > %cmake

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Gary Buhrmaster
On Mon, Jun 15, 2020 at 7:48 PM Ben Cotton wrote: > == Summary == > %cmake macro will be adjusted (-B parameter) > to use separate build folder (already standardized > %{_vpath_builddir} macro). While there is certainly no requirement for different distributions to work the same, as I

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Dan Čermák
Kevin Kofler writes: > Michael Catanzaro wrote: >> Kevin, the goal is to *simply* these packages: >> >> mkdir -p %{_target_platform} >> pushd %{_target_platform} >> %cmake >> popd >> >> It's four lines. We get to simplify it down to one line. Proposal >> owners are provenpackagers and say

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Neal Gompa
On Tue, Jun 16, 2020 at 9:17 AM Kevin Kofler wrote: > > Michael Catanzaro wrote: > > Kevin, the goal is to *simply* these packages: > > > > mkdir -p %{_target_platform} > > pushd %{_target_platform} > > %cmake > > popd > > > > It's four lines. We get to simplify it down to one line. Proposal > >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Igor Raits wrote: > The correct way of doing out-of-source builds is to use `cmake -S . -B > builddir` and not cd/pushd and other things. Sadly we can't implement > this enforcement without breaking packages that do `cd/pushd` but we > will fix them. The pushd approach has been working since

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Michael Catanzaro wrote: > Kevin, the goal is to *simply* these packages: > > mkdir -p %{_target_platform} > pushd %{_target_platform} > %cmake > popd > > It's four lines. We get to simplify it down to one line. Proposal > owners are provenpackagers and say they will try to fix affected >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 03:47 +0200, Kevin Kofler wrote: > Neal Gompa wrote: > > If they build a separate folder manually and are already using the > > VPATH macros, then there's no change. If they're using a different > > structure, we can adapt them

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 08:37 -0400, Neal Gompa wrote: > On Tue, Jun 16, 2020 at 6:30 AM Iñaki Ucar > wrote: > > > > On Tue, 16 Jun 2020 at 03:09, Neal Gompa > > wrote: > > > > > > On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler < > > >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 12:16 +0200, Kevin Kofler wrote: > Igor Raits wrote: > > Example above will stop working, > > So your change breaks hundreds of packages, exactly those that > already do > what you think is the right thing. The correct way

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Michael Catanzaro
On Tue, Jun 16, 2020 at 12:16 pm, Kevin Kofler wrote: So your change breaks hundreds of packages, exactly those that already do what you think is the right thing. Hence, sorry, but I am opposed to this change. Kevin, the goal is to *simply* these packages: mkdir -p %{_target_platform}

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Neal Gompa
On Tue, Jun 16, 2020 at 6:30 AM Iñaki Ucar wrote: > > On Tue, 16 Jun 2020 at 03:09, Neal Gompa wrote: > > > > On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler wrote: > > > > > > How does this affect the many packages that already build in a separate > > > build folder manually? There are even

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kamil Dudka
On Tuesday, June 16, 2020 12:18:29 PM CEST Kevin Kofler wrote: > Igor Raits wrote: > > > Not sure if I follow, what means "can already be done with the existing > > one"? Does it mean that you can already specify a build dir via CLI and > > some packages already do (e.g. libsolv)? > > > As I

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Iñaki Ucar
On Tue, 16 Jun 2020 at 03:09, Neal Gompa wrote: > > On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler wrote: > > > > How does this affect the many packages that already build in a separate > > build folder manually? There are even several specfile templates that > > contain the boilerplate for that.

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Igor Raits wrote: > Not sure if I follow, what means "can already be done with the existing > one"? Does it mean that you can already specify a build dir via CLI and > some packages already do (e.g. libsolv)? As I wrote elsewhere in the thread, most packages actually do the opposite (which AFAIK

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-16 Thread Kevin Kofler
Igor Raits wrote: > Example above will stop working, So your change breaks hundreds of packages, exactly those that already do what you think is the right thing. Hence, sorry, but I am opposed to this change. > but we definitely do not want to have build tree in >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 03:47 +0200, Kevin Kofler wrote: > Neal Gompa wrote: > > If they build a separate folder manually and are already using the > > VPATH macros, then there's no change. If they're using a different > > structure, we can adapt them

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-06-16 at 02:21 +0200, Kevin Kofler wrote: > Ben Cotton wrote: > > == Summary == > > %cmake macro will be adjusted (-B > > parameter) > > to use separate build folder (already standardized > > %{_vpath_builddir} macro). Additionally, > >

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Neal Gompa
On Mon, Jun 15, 2020 at 10:25 PM Kevin Kofler wrote: > > Neal Gompa wrote: > > If they build a separate folder manually and are already using the > > VPATH macros, then there's no change. If they're using a different > > structure, we can adapt them to the standard VPATH macros, and do > > other

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Kevin Kofler
Neal Gompa wrote: > If they build a separate folder manually and are already using the > VPATH macros, then there's no change. If they're using a different > structure, we can adapt them to the standard VPATH macros, and do > other adjustments as needed. The common idiom in KDE packages is: mkdir

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Neal Gompa
On Mon, Jun 15, 2020 at 8:22 PM Kevin Kofler wrote: > > Ben Cotton wrote: > > == Summary == > > %cmake macro will be adjusted (-B parameter) > > to use separate build folder (already standardized > > %{_vpath_builddir} macro). Additionally, > > %cmake_build, %cmake_install and > > %ctest macro

Re: Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Kevin Kofler
Ben Cotton wrote: > == Summary == > %cmake macro will be adjusted (-B parameter) > to use separate build folder (already standardized > %{_vpath_builddir} macro). Additionally, > %cmake_build, %cmake_install and > %ctest macro will be created (and backported to the older > supported Fedora

Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds == Summary == %cmake macro will be adjusted (-B parameter) to use separate build folder (already standardized %{_vpath_builddir} macro). Additionally, %cmake_build, %cmake_install and %ctest macro will be created (and

Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

2020-06-15 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds == Summary == %cmake macro will be adjusted (-B parameter) to use separate build folder (already standardized %{_vpath_builddir} macro). Additionally, %cmake_build, %cmake_install and %ctest macro will be created (and