[Rpm-maint] [rpm-software-management/rpm] Native support for separate build and source tree (aka vpath builds) (Discussion #2882)

Vít Ondruch notifications at github.com
Fri Feb 2 12:48:42 UTC 2024


Fedora already has [`%{_vpath_builddir}` macro](https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/macros.vpath) for such purpose. And [this](https://src.fedoraproject.org/rpms/ruby/c/cbe746e311d5dbfd9c6d42fdfc4147220c0ad791) is how I migrated Ruby to out-of-source build using this macro.

However, there is also need for more then one build dir. AFAIK [Python](https://src.fedoraproject.org/rpms/python3.12/blob/rawhide/f/python3.12.spec) does two builds, one optimized and second with debug information. [Vim](https://src.fedoraproject.org/rpms/vim/blob/rawhide/f/vim.spec) does 3 different builds (and it would be probably better to use separate build dirs for them).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2882#discussioncomment-8346269
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2882/comments/8346269 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240202/c6f003f6/attachment-0001.html>


More information about the Rpm-maint mailing list