[108551] trunk/dports/gis/libpcl/Portfile
Lawrence Velázquez
larryv at macports.org
Fri Jul 26 15:33:20 PDT 2013
On Jul 26, 2013, at 6:14 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Jul 26, 2013, at 04:19, vince at macports.org wrote:
>
>> Revision: 108551
>> https://trac.macports.org/changeset/108551
>> Author: vince at macports.org
>> 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
More information about the macports-dev
mailing list