On Tue, 17 Jan 2023 at 22:28, Till Hofmann <[email protected]> wrote:
>
> Hi all,
>
> Someone (rightfully) suggested that we should build glfw twice, once
> with wayland support and once without:
> https://bugzilla.redhat.com/show_bug.cgi?id=2152319
>
> Is there any best practice how to build the same package in two
> different flavors, in this case cmake-based? I vaguely remember seeing a
> spec file that did that, but I don't remember where.
>
> Thanks for any pointers!
In flexiblas.spec, for 64-bit BLAS, we do
%build
%cmake -B build \
<options>
%make_build -C build
%if 0%{?__isa_bits} == 64
%cmake -B build64 \
<options>
%make_build -C build64
%endif
%install
%make_install -C build
%if 0%{?__isa_bits} == 64
%make_install -C build64
%endif
etc.
--
Iñaki Úcar
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue