Changeset View
Changeset View
Standalone View
Standalone View
math/fftw3/Makefile
# Created by: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE> | # Created by: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= fftw3 | PORTNAME= fftw3 | ||||
DISTVERSION= 3.3.8 | DISTVERSION= 3.3.8 | ||||
PORTREVISION?= 3 | PORTREVISION?= 4 | ||||
CATEGORIES= math | CATEGORIES= math | ||||
MASTER_SITES= http://www.fftw.org/ \ | MASTER_SITES= http://www.fftw.org/ \ | ||||
ftp://ftp.fftw.org/pub/fftw/ | ftp://ftp.fftw.org/pub/fftw/ | ||||
PKGNAMESUFFIX= ${FFTW3_PKGNAMESUFFIX} | PKGNAMESUFFIX= ${FFTW3_PKGNAMESUFFIX} | ||||
DISTNAME= fftw-${DISTVERSION} | DISTNAME= fftw-${DISTVERSION} | ||||
MAINTAINER= jhale@FreeBSD.org | MAINTAINER= jhale@FreeBSD.org | ||||
COMMENT?= Fast C routines to compute the Discrete Fourier Transform | COMMENT?= Fast C routines to compute the Discrete Fourier Transform | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
OPENMPI_DESC= Build OpenMPI parallel libraries | OPENMPI_DESC= Build OpenMPI parallel libraries | ||||
OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi | OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi | ||||
OPENMPI_CONFIGURE_ENABLE= mpi | OPENMPI_CONFIGURE_ENABLE= mpi | ||||
OPENMPI_CONFIGURE_ENV= MPICC=${MPIDIR}/bin/mpicc \ | OPENMPI_CONFIGURE_ENV= MPICC=${MPIDIR}/bin/mpicc \ | ||||
MPIRUN=${MPIDIR}/bin/mpirun | MPIRUN=${MPIDIR}/bin/mpirun | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
#Enable cycle counter via the CNTVCT_EL0 register for all variants on arm64 | |||||
mikael: missing space after # | |||||
Done Inline ActionsThat would be inconsistent with the rest of the Makefile diizzy: That would be inconsistent with the rest of the Makefile
https://svnweb.freebsd. | |||||
.if ${ARCH} == "aarch64" | |||||
CONFIGURE_ARGS+=--enable-armv8-cntvct-el0 | |||||
Done Inline ActionsYou said 'Enable cycle counter via the PMCCNTR_EL0' but you used enable-armv8-cntvct-el0, can you fix the comment or the configure knob? --enable-armv8-pmccntr-el0 enable the cycle counter on ARMv8 via the PMCCNTR_EL0 register (see README-perfcounters for details and mandatory instructions) --enable-armv8-cntvct-el0 enable the cycle counter on ARMv8 via the CNTVCT_EL0 register (see README-perfcounters for details and mandatory instructions) mikael: You said 'Enable cycle counter via the PMCCNTR_EL0' but you used enable-armv8-cntvct-el0, can… | |||||
Done Inline ActionsAhh, silly cut 'n paste mistake. Thanks for catching it. diizzy: Ahh, silly cut 'n paste mistake. Thanks for catching it. | |||||
.endif | |||||
#Users must add altivec to MACHINE_CPU when desired: | #Users must add altivec to MACHINE_CPU when desired: | ||||
#this is not currently done in bsd.cpu.mk | #this is not currently done in bsd.cpu.mk | ||||
.if ${FFTW3_FLAVOR} == "default" | .if ${FFTW3_FLAVOR} == "default" | ||||
. if ${PORT_OPTIONS:MSIMD} | . if ${PORT_OPTIONS:MSIMD} | ||||
. if !empty(MACHINE_CPU:Mavx) | . if !empty(MACHINE_CPU:Mavx) | ||||
CONFIGURE_ARGS+=--enable-avx | CONFIGURE_ARGS+=--enable-avx | ||||
. endif | . endif | ||||
. if !empty(MACHINE_CPU:Mavx2) | . if !empty(MACHINE_CPU:Mavx2) | ||||
Show All 14 Lines | |||||
. if !empty(MACHINE_CPU:Mavx2) | . if !empty(MACHINE_CPU:Mavx2) | ||||
CONFIGURE_ARGS+=--enable-avx2 --enable-fma | CONFIGURE_ARGS+=--enable-avx2 --enable-fma | ||||
. endif | . endif | ||||
. if !empty(MACHINE_CPU:Msse) | . if !empty(MACHINE_CPU:Msse) | ||||
CONFIGURE_ARGS+=--enable-sse2 | CONFIGURE_ARGS+=--enable-sse2 | ||||
. endif | . endif | ||||
. if !empty(ARCH:Mpowerpc*) && !empty(MACHINE_CPU:Maltivec) | . if !empty(ARCH:Mpowerpc*) && !empty(MACHINE_CPU:Maltivec) | ||||
CONFIGURE_ARGS+=--enable-altivec | CONFIGURE_ARGS+=--enable-altivec | ||||
. endif | |||||
. if ${ARCH} == "aarch64" | |||||
CONFIGURE_ARGS+=--enable-neon | |||||
. endif | . endif | ||||
. endif | . endif | ||||
.elif ${FFTW3_FLAVOR} == "long" | .elif ${FFTW3_FLAVOR} == "long" | ||||
FFTW3_SUFX= l | FFTW3_SUFX= l | ||||
FFTW3_PKGNAMESUFFIX= -long | FFTW3_PKGNAMESUFFIX= -long | ||||
CONFIGURE_ARGS+=--enable-long-double | CONFIGURE_ARGS+=--enable-long-double | ||||
.elif ${FFTW3_FLAVOR} == "quad" | .elif ${FFTW3_FLAVOR} == "quad" | ||||
FFTW3_SUFX= q | FFTW3_SUFX= q | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |
missing space after #