Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#15002 closed enhancement (invalid)

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

Reported by: akalin@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
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 (1)

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

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by akalin@…

Attachment: patch-Portfile.in added

patch for gmp Portfile that provides fast 64-bit build

comment:1 Changed 17 years ago by wsiegrist@…

Cc: wsiegrist@… added

Cc Me!

comment:2 Changed 17 years ago by wsiegrist@…

Cc: wsiegrist@… removed

Cc Me!

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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})

comment:4 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to mcalhoun@…
Port: gmp added

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

comment:5 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: newclosed

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.

comment:6 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.