|
|
@@ -6,8 +6,7 @@ PortGroup compiler_blacklist_versions 1.0 |
|
|
PortGroup mpi 1.0 |
|
|
|
|
|
name fftw-3 |
|
|
version 3.3.5 |
|
|
revision 1 |
|
|
version 3.3.7 |
|
|
categories math |
|
|
license GPL-2+ |
|
|
platforms darwin |
|
|
@@ -39,13 +38,8 @@ long_description \ |
|
|
improvements relative to 2.x, but is not backwardly \ |
|
|
compatible. |
|
|
|
|
|
checksums rmd160 d5800f3d56b7b499265633b52a0b9850b17c148e \ |
|
|
sha256 8ecfe1b04732ec3f5b7d279fdb8efcad536d555f9d1e8fabd027037d45ea8bcf |
|
|
|
|
|
# Don't link with "-flat_namespace -undefined suppress" on Yosemite and |
|
|
# later (#45707). |
|
|
patchfiles \ |
|
|
yosemite-libtool.patch |
|
|
checksums rmd160 6fb90ce7190190998ff4c579934b76de270db271 \ |
|
|
sha256 3b609b7feba5230e8f6dd8d245ddbefac324c5a6ae4186947670d9ac2cd25573 |
|
|
|
|
|
variant pfft_patches description {Apply patches recommended for use as dependency of pfft port} { |
|
|
if {![mpi_variant_isset]} { |
|
|
@@ -97,6 +91,10 @@ pre-configure { |
|
|
x86_64 "--enable-sse2" |
|
|
} |
|
|
} |
|
|
|
|
|
if {![variant_isset universal]} { |
|
|
configure.args-append $merger_configure_args(${os.arch}) |
|
|
} |
|
|
} |
|
|
|
|
|
test.run yes |
|
|
@@ -110,23 +108,11 @@ platform darwin { |
|
|
} |
|
|
} |
|
|
|
|
|
platform powerpc { |
|
|
if {![variant_isset universal]} { |
|
|
configure.args-append --enable-fma |
|
|
} |
|
|
} |
|
|
|
|
|
subport fftw-3-single { |
|
|
configure.args-append --enable-float |
|
|
|
|
|
depends_lib port:fftw-3 |
|
|
|
|
|
platform powerpc { |
|
|
if {![variant_isset universal]} { |
|
|
configure.args-append --enable-altivec |
|
|
} |
|
|
} |
|
|
|
|
|
pre-configure { |
|
|
if { [avx_compiler_isset] == 1 } { |
|
|
array set merger_configure_args { |
|
|
@@ -144,13 +130,14 @@ subport fftw-3-single { |
|
|
} |
|
|
} |
|
|
|
|
|
if {![variant_isset universal]} { |
|
|
configure.args-append $merger_configure_args(${os.arch}) |
|
|
} |
|
|
|
|
|
platform i386 { |
|
|
if {![variant_isset universal]} { |
|
|
configure.args-delete --enable-sse2 |
|
|
configure.args-append --enable-sse |
|
|
if { [avx_compiler_isset] == 1 } { |
|
|
configure.args-append --enable-avx |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|