Joshua Root jmr at
Tue Oct 13 17:40:01 PDT 2015


I would suggest looking at how the binary distros build their gmp. We
should do the same thing in our port for the default no-variants case,
and have a variant that forces a local build and gives better runtime

Personally I don't need gfactor from coreutils to run at peak efficiency
that badly. :)

- Josh

Daniel J. Luke wrote:
> It would probably be a useful variant on the port (and if I were the maintainer, it would probably be the default - if only so that people could get a binary archive).
>> On Oct 13, 2015, at 5:21 PM, Ryan Schmidt <ryandesign at> wrote:
>> On Oct 13, 2015, at 1:06 PM, Thomas Bodlien wrote:
>>> it is really great, that Macports-Software is compiled with Haswell-Optimizations.
>>> But I want to bundle libgmp with an App.
>>> How can I compile a universal Version of the Library?
>> MacPorts doesn't specifically request haswell optimizations. Rather, gmp is special in that its build system tries to get the best performance for a particular system. You'll have to consult the gmp documentation to see if there's a way to tell it not to do that.

More information about the macports-users mailing list