| Summary: | math/gmp should enable assembly optimizations by default | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dennis Clarke <dclarke> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed Works As Intended | ||
| Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(ale) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Dennis Clarke
2018-11-06 19:09:28 UTC
The reason for the option to be disabled is not the instability of the assembly code. Assembly code is not disabled completely (no --disable-assembly configure arg is used), it's enabled for the generic hardware platform (amd64, i386, etc.). What the CPU_OPT option does is to enable the very processor specific assembly code (eg. haswell cpu), that works only on the same CPU where you built GMP, so it's not suitable for package building. (In reply to Alex Dupre from comment #1) Sorry I did not follow up on this. Brilliant reply and makes perfect sense for a package that needs to work across a wide array of hardware. |