diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2019-11-03 13:11:01 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2019-11-03 13:11:01 +0000 |
commit | 0f4d7e486b4dc7a4e26f2d75dc6b05e033796510 (patch) | |
tree | 88b4082ae0dd6c266891245905716e74c700ee84 /math/fftw3 | |
parent | e26504a75115d3c203e7d7e2793a100f72d9742d (diff) | |
download | ports-0f4d7e486b4dc7a4e26f2d75dc6b05e033796510.tar.gz ports-0f4d7e486b4dc7a4e26f2d75dc6b05e033796510.zip |
Notes
Diffstat (limited to 'math/fftw3')
-rw-r--r-- | math/fftw3/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile index 5b11b984c8c4..7492d50d8166 100644 --- a/math/fftw3/Makefile +++ b/math/fftw3/Makefile @@ -3,7 +3,7 @@ PORTNAME= fftw3 DISTVERSION= 3.3.8 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES= math MASTER_SITES= http://www.fftw.org/ \ ftp://ftp.fftw.org/pub/fftw/ @@ -62,6 +62,11 @@ OPENMPI_CONFIGURE_ENV= MPICC=${MPIDIR}/bin/mpicc \ .include <bsd.port.options.mk> +# Enable cycle counter via the CNTVCT_EL0 register for all variants on arm64. +.if ${ARCH} == "aarch64" +CONFIGURE_ARGS+=--enable-armv8-cntvct-el0 +.endif + #Users must add altivec to MACHINE_CPU when desired: #this is not currently done in bsd.cpu.mk .if ${FFTW3_FLAVOR} == "default" @@ -93,6 +98,9 @@ CONFIGURE_ARGS+=--enable-sse2 . if !empty(ARCH:Mpowerpc*) && !empty(MACHINE_CPU:Maltivec) CONFIGURE_ARGS+=--enable-altivec . endif +. if ${ARCH} == "aarch64" +CONFIGURE_ARGS+=--enable-neon +. endif . endif .elif ${FFTW3_FLAVOR} == "long" FFTW3_SUFX= l |