Re: Disabling build options for SSE on non-capable arches ?

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

 



On Thu, 2018-09-20 at 07:58 +1000, David Timms wrote:
> Hi, (this is a 4th retry, now trying devel as first try to packaging
> a
> week ago says held by moderator, but doesn't seem to have been posted
> to
> the list, and I don't know why...)
> 
> Audacity has had the following as part of rpm spec in the %configure
> section:
> 
> %configure \
>     --disable-dynamic-loading \
> ...
> %ifnarch %{ix86} x86_64
>     --disable-sse \
> %else
>     %{nil}
> %endif
> 
> Which fails on: non x86 arches:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=29513664
> 
> If I remove the conditional, I get successful build, but not
> optimized
> on x86 with SSE.
> 
> What's wrong with this conditional ?

The conditional is correct but [1] from the previous %endif you leave
two blanks lines which you can't, one blank line makes terminate the
./configure command and so last option "--disable-sse" is not included
in build, you may check build.log [2] and you don't find any "
--disable-sse" 

[1]
%endif
(blank line)
(blank line)
%ifnarch %{ix86} x86_64
    --disable-sse \
%else
    %{nil}
%endif

[2]
https://koji.fedoraproject.org/koji/taskinfo?taskID=29513670
https://kojipkgs.fedoraproject.org//work/tasks/3670/29513670/build.log

Thanks and Best regards, 

> Cheers, David
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelin
> es
> List Archives: https://lists.fedoraproject.org/archives/list/devel@li
> sts.fedoraproject.org
-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
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