On Jul 26, 2013, at 6:14 PM, Ryan Schmidt <[email protected]> wrote:

> 
> On Jul 26, 2013, at 04:19, [email protected] wrote:
> 
>> Revision: 108551
>>         https://trac.macports.org/changeset/108551
>> Author:   [email protected]
>> Date:     2013-07-26 02:19:06 -0700 (Fri, 26 Jul 2013)
>> Log Message:
>> -----------
>> Bump to 1.7.0 and add a perf variant
>> 
>> Modified Paths:
>> --------------
>>   trunk/dports/gis/libpcl/Portfile
> 
> 
>> +variant perf description {Optimize code} {
>> +    configure.compiler  macports-clang-3.3
>> +    configure.optflags  -O3 -pipe -march=native -mavx
>> +}
> 
> "-pipe" is not an optimization flag and should not be included in 
> configure.optflags.

The clean way for a Portfile to specify this is by setting "configure.pipe 
yes". I don't see this option documented anywhere, though, so I don't know if 
you're supposed to use it.

Is it really necessary? Does forcing the compiler to use pipes instead of 
temporary files affect the performance of the final products?

vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to