mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
83d5ca9d37
This port added -march=native, which was against ports tree compliance, broke run-time on some amd64 and broke building on non-x86. I have verified that it builds correctly on i386 and powerpc64 (provided -march=native is removed). It probably also builds on other architectures. Reviewed by: linimon MFH: 2020Q1 (fix build blanket)
28 lines
670 B
Makefile
28 lines
670 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gau2grid
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Fast computation of a gaussian and its derivative on a grid
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc64
|
|
ONLY_FOR_ARCHS_REASON= BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25)
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
|
|
USES= cmake compiler:c11 python:build # C code build depends on python to generate some headers
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dgasmith
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_OFF= ENABLE_XHOST
|
|
|
|
.include <bsd.port.mk>
|