mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
![Daniel Engberg](/assets/img/avatar_default.png)
This updates sleef to latest upstream commit 85440a5e87dae36ca1b891de14bc83b441ae7c43 which fixes a bunch of things including AVX2 detection. DFT library is now disabled by default because it has issues indicated by issue reports in upstream repo. There are also some issues with unit tests and/or library itself which may results in bugs however unit tests works fine on 13.2-RELEASE amd64 at least. Import patch from Debian to fix build of unit tests References: https://github.com/shibatch/sleef/issues/439 https://salsa.debian.org/science-team/sleef/-/blob/master/debian/patches/disable-duplicate-mpfr-funcs.patch PR: 266784 Reviewed by: jmd (maintainer)
31 lines
580 B
Makefile
31 lines
580 B
Makefile
PORTNAME= sleef
|
|
DISTVERSION= 3.5.1-62
|
|
DISTVERSIONSUFFIX= -g85440a5
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= SIMD Library for Evaluating Elementary Functions, vectorized libm
|
|
WWW= https://sleef.org
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= cmake:testing compiler:c11 pathfix
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= shibatch
|
|
|
|
CMAKE_OFF= BUILD_TESTS
|
|
CMAKE_TESTING_ON= BUILD_TESTS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH:Mpowerpc64*} || ${ARCH:Marmv?}
|
|
PLIST_SUB+= GNUABI="@comment "
|
|
.else
|
|
PLIST_SUB+= GNUABI=""
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|