Re: %{_vpath_builddir} needs to be in the Cmake packaging guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 4, 2020 at 11:50 AM Michal Schorm <mschorm@xxxxxxxxxx> wrote:
>
> On Tue, Aug 4, 2020 at 3:12 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
> > On Tue, Aug 4, 2020 at 9:10 AM Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
> > > On Tue, Aug 4, 2020 at 6:17 AM Michal Schorm <mschorm@xxxxxxxxxx> wrote:
> > >>
> > >> Since this change, all (subsequent) CMake commands (after "%cmake")
> > >> MUST be used with the builddir argument ( "-B %{__cmake_builddir}" ).
> > >
> > > Ok, I'll use that in the future, but it still needs a mention in the guidelines :)
> > >
> > You are not supposed to use %__cmake_builddir.
>
> You say I'm not supposed to use that macro, but that's exactly the macro I need.
>
> > That macro only exists
> > so we don't have to mutate %_vpath_builddir when switching behaviors
> > through %__cmake_in_source_build.
>
> Any other way would do exactly what you just wrote here - I would be
> re-implementing this macro - which doesn't make sense.
>
> I'm open to new ideas, but this (using the "%__cmake_builddir" )
> sounds like the most straightforward and easy way to do it.
>

It is not documented, and eventually will be removed. So don't rely on
it. If you want to change the build directory, set %_vpath_builddir
instead.



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux