New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15002 (closed enhancement: invalid)

Opened 4 years ago

Last modified 3 years ago

gmp-4.2.2 - patch for much faster x86-64 variant

Reported by: akalin@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gmp

Description

Attached is a patch file that provides powerpc, i386, and i386-64 variants. use_parallel_build is also set. All three variants have been tested (on Leopard, at least). The 64-bit variant is much faster, with gmpbench speeds comparable to the ones posted on  http://gmplib.org/gmpbench.html (~1500 with 32-bit variant and ~7000 with 64-bit variant, on a 2.8 GHz Xeon).

Attachments

patch-Portfile.in Download (2.1 KB) - added by akalin@… 4 years ago.
patch for gmp Portfile that provides fast 64-bit build

Change History

Changed 4 years ago by akalin@…

patch for gmp Portfile that provides fast 64-bit build

Changed 4 years ago by wsiegrist@…

  • cc wsiegrist@… added

Cc Me!

Changed 4 years ago by wsiegrist@…

  • cc wsiegrist@… removed

Cc Me!

Changed 4 years ago by ryandesign@…

The parallel build was enabled in r37277.

Should the rest of this patch perhaps be rolled into the universal variant instead, since we now have support in trunk for specifying what architectures you want to include in a universal build? (${configure.universal_archs})

Changed 3 years ago by blb@…

  • owner changed from macports-tickets@… to mcalhoun@…
  • port set to gmp

Is this now N/A due to gmp's use of muniversal?

Changed 3 years ago by mcalhoun@…

  • status changed from new to closed
  • resolution set to invalid

Since r45928, gmp can build as a universal binary.
This gives the speed boost discussed in this ticked without sacrificing compatibility.

Thanks for the input.

Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.