Port details |
- sleef SIMD Library for Evaluating Elementary Functions, vectorized libm
- 3.8 math
=2 3.5.1.62Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2018-09-06 19:31:24
- Last Update: 2025-02-11 11:13:44
- Commit Hash: 6093f5d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: BSL
- WWW:
- https://sleef.org
- Description:
- SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT
In this library, functions for evaluating some elementary functions are
implemented. It provides a vectorized libm alternativ. The library also
includes DFT subroutines.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/math/sleef/ && make install clean
- To add the package, run one of these commands:
- pkg install math/sleef
- pkg install sleef
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sleef
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1739116908
SHA256 (shibatch-sleef-3.8_GH0.tar.gz) = a12ccd50f57083c530e1c76f10d52865defbd19fc9e2c85b483493065709874a
SIZE (shibatch-sleef-3.8_GH0.tar.gz) = 1863935
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Library dependencies:
-
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- libfftw3.so : math/fftw3
- This port is required by:
- for Libraries
-
- math/heyoka
- misc/py-pytorch
- misc/pytorch
Configuration Options:
- No options to configure
- Options name:
- math_sleef
- USES:
- cmake:testing compiler:c11 pathfix ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.8 11 Feb 2025 11:13:44
    |
Thierry Thomas (thierry)  |
math/sleef: upgrade to 3.8
Releases notes at https://github.com/shibatch/sleef/releases |
3.5.1.62 28 Nov 2024 16:10:52
    |
Rene Ladan (rene)  |
all: return jmd's ports to the pool after safekeeping their commit bit. |
3.5.1.62 12 May 2023 23:28:39
    |
Piotr Kubaj (pkubaj)  |
math/sleef: fix build on powerpc64le
ld: error: duplicate symbol: sleef_cpuidtmp2
>>> defined at dispscalar.c
>>>
src/libm/CMakeFiles/dispscalar_obj.dir/dispscalar.c.o:(sleef_cpuidtmp2)
>>> defined at tryvsx3.c
>>> src/libm/CMakeFiles/tryvsx3_obj.dir/tryvsx3.c.o:(.bss+0x10) |
3.5.1.62 12 Apr 2023 08:44:43
    |
Daniel Engberg (diizzy)  |
math/sleef: Update to latest upstream commit (2021-04-05)
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) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
3.5.0_3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
3.5.0_3 20 Jul 2022 14:22:24
    |
Tobias C. Berner (tcberner)  |
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov (Only the first 15 lines of the commit message are shown above ) |
3.5.0_3 22 Apr 2022 15:37:38
    |
Piotr Kubaj (pkubaj)  |
math/sleef: remove not needed CFLAGS_powerpc64 |
3.5.0_3 01 Jan 2022 17:24:31
    |
Johannes M Dieterich (jmd)  |
math/sleef: add ARMv7 patch files
PR: 259922 |
3.5.0_2 31 Dec 2021 17:33:45
    |
Johannes M Dieterich (jmd)  |
math/sleef: enable ARMv7
PR: 259922
Reported by: Robert Clausecker |
3.5.0_1 06 Apr 2021 23:02:53
    |
Adriaan de Groot (adridg)  |
math/sleef: fix plist
The pkgconfig file was orphaned, found by poudriere bulk -t |
3.5.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
3.5.0 18 Feb 2021 22:57:19
  |
pkubaj  |
math/sleef: fix build on powerpc64le
Same issue as on powerpc64. |
3.5.0 05 Sep 2020 20:09:32
  |
jmd  |
math/sleef: update to 3.5.0
With this, remove fcommon workaround and patch. |
3.4.1 27 Aug 2020 23:23:33
  |
jmd  |
math/sleef: update to 3.4.1
While there, fix LLVM11 introduced breakage on HEAD |
3.4.0_1 02 Dec 2019 18:00:07
  |
pkubaj  |
math/sleef: fix build on powerpc64 elfv2
clang doesn't find vec_nand:
In file included from
/wrkdirs/usr/ports/math/sleef/work/sleef-3.4.0/src/libm/sleefsimdsp.c:145:
/wrkdirs/usr/ports/math/sleef/work/sleef-3.4.0/src/arch/helperpower_128.h:266:54:
warning: implicit declaration of function 'vec_nand' is invalid in C99
[-Wimplicit-function-declaration]
static INLINE vopmask vnot_vo_vo(vopmask o) { return vec_nand(o, o); }
^
/wrkdirs/usr/ports/math/sleef/work/sleef-3.4.0/src/arch/helperpower_128.h:266:54:
error: returning 'int' from a function with incompatible result type 'vopmask'
(vector of 4 'unsigned int' values)
static INLINE vopmask vnot_vo_vo(vopmask o) { return vec_nand(o, o); }
^~~~~~~~~~~~~~
-mpower8-vector is needed because vec_nand is behind #ifdef __POWER8_VECTOR__ in
clang's altivec.h.
PR: 242143
Approved by: linimon (mentor), jmd (maintainer) |
3.4.0_1 19 Aug 2019 23:33:40
  |
pkubaj  |
math/sleef: fix build on powerpc64
Altivec needs {} for vectors instead of ().
lib/libsleefgnuabi.so is not built on powerpc64.
PR: 239468
Approved by: jmd (maintainer), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D21216 |
3.4.0_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
3.4.0 01 May 2019 01:20:15
  |
jmd  |
math/sleef: Update to release 3.4.0
Changelog: https://github.com/shibatch/sleef/releases/tag/3.4.0
Reported by: portscout |
3.3.9_1 25 Dec 2018 20:25:40
  |
tcberner  |
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine |
3.3.9_1 12 Dec 2018 01:35:36
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
3.3.9 02 Nov 2018 13:32:35
  |
rene  |
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724 |
3.3.9 23 Sep 2018 05:07:13
  |
linimon  |
Fix build on gcc-bases archs.
Also tested on amd64.
PR: 231505
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket) |
3.3.9 06 Sep 2018 19:31:08
  |
jmd  |
new port: math/sleef
SLEEF is the SIMD Library for Evaluating Elementary Functions, vectorized libm
and DFT. It provides a vectorabi interface for vectorized libm.
Reviewed by: zeising (mentor), mat
Approved by: zeising (mentor)
Differential Revision: https://reviews.freebsd.org/D17045 |