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

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

 



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 %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd

So:
1. Are you going to apply this change also to %{cmake_kf5} or just plain
   %cmake?
2. If a construct like this is used, I guess we will end up with a VPATH
   inside %{_target_platform}? So the -debugsource package will have a
   nested structure like Russian matrioshka puppets or Chinese boxes?

> Defaults matter. And upstreams complain about us not doing out of tree
> builds by default. Some projects even intentionally break in-source
> builds and packagers shouldn't struggle to figure out how to do the
> right thing in that circumstance.

It is unfortunate that some upstreams (including parts of KDE) are doing 
this. This is a very pointless and unhelpful thing to do. I see no benefit 
from disallowing in-source builds, it is just a simple special case and 
normally requires no extra code to support.

        Kevin Kofler
_______________________________________________
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