<div dir="ltr">I see, thanks for the clarifications.<div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 9, 2018 at 12:14 PM, Joshua Root <span dir="ltr"><<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-2-10 07:04 , Joshua Root wrote:<br>
> On 2018-2-10 06:14 , David Strubbe wrote:<br>
>> Hello all,<br>
>><br>
>> I have a question about the muniversal port group, motivated by<br>
>> examining what happens with its usage in the fftw-3 port. If the<br>
>> +universal variant is selected, then appropriate values of<br>
>> configure.args are set for different architectures via<br>
>> merger_configure_args, which in the case of fftw-3 includes flags about<br>
>> whether support for certain vector intrinsics like SSE2 and AVX will be<br>
>> compiled. However, if +universal is not selected, then these flags are<br>
>> simply not used, rather than selecting the appropriate flag for the<br>
>> single architecture we are building for. As a result, currently in<br>
>> fftw-3, we are only enabling appropriate intrinsics for the architecture<br>
>> when doing +universal, and otherwise we have no intrinsics support.<br>
>><br>
>> How is this supposed to work with the muniversal port group? Are flags<br>
>> needed when not +universal not expected to be set in this merger array?<br>
>> Is this a limitation of the port group that should be extended? Is there<br>
>> some option to set in the port group which I have missed?<br>
><br>
> The muniversal portgroup is not involved at all if you're not building<br>
> with +universal. If you need to set certain flags in the non-universal<br>
> case, just do it.<br>
<br>
</span>Looking at the Portfile, there appears to be code to set these sorts of<br>
flags in the non-universal case in the fftw-3-single subport, but none<br>
in the main fftw-3 port or the fftw-3-long subport.<br>
<br>
- Josh<br>
</blockquote></div><br></div>