Package Details: libsleef 3.5.1-1

Git Clone URL: https://aur.archlinux.org/libsleef.git (read-only, click to copy)
Package Base: libsleef
Description: SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT
Upstream URL: https://sleef.org
Licenses: boost
Submitter: keksbg
Maintainer: keksbg
Last Packager: keksbg
Votes: 0
Popularity: 0.000000
First Submitted: 2022-02-05 22:24 (UTC)
Last Updated: 2022-02-05 22:24 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

sguzman commented on 2023-12-11 06:27 (UTC)

Well I emailed the maintainer. I'll update here when I get a response

sguzman commented on 2023-12-11 06:18 (UTC)

so its a bug in the source code. the fixes are already in master but there hasnt been another release since 2020. Version 3.6.0, which contains the fix is planned but no deadline. The current available version is 3.5.1, which is obviously bugged for us. Let me ask if there is any talk about a release date for 3.6.0 or a possible 3.5.2 release

sguzman commented on 2023-12-11 05:55 (UTC)

@sl1pkn07 i encountered the same error. I think I might take this upstream and make edits for a working build myself, if they havent already

sl1pkn07 commented on 2023-11-27 14:39 (UTC) (edited on 2023-11-27 14:39 (UTC) by sl1pkn07)

fail build here

[ 31%] Building C object src/libm-tester/CMakeFiles/tester2avx512fdp.dir/tester2simddp.c.o
In file included from /tmp/makepkg/libsleef/src/sleef-3.5.1/src/libm-tester/tester2simddp.c:23:
/tmp/makepkg/libsleef/src/sleef-3.5.1/src/libm-tester/testerutil.h:93:6: error: conflicting types for 'mpfr_sinpi'; have 'void(__mpfr_struct *, __mpfr_struct *, mpfr_rnd_t)'
   93 | void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
      |      ^~~~~~~~~~
In file included from /tmp/makepkg/libsleef/src/sleef-3.5.1/src/libm-tester/tester2simddp.c:9:
/usr/include/mpfr.h:752:21: note: previous declaration of 'mpfr_sinpi' with type 'int(__mpfr_struct *, const __mpfr_struct *, mpfr_rnd_t)'
  752 | __MPFR_DECLSPEC int mpfr_sinpi (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t);
      |                     ^~~~~~~~~~
/tmp/makepkg/libsleef/src/sleef-3.5.1/src/libm-tester/testerutil.h:94:6: error: conflicting types for 'mpfr_cospi'; have 'void(__mpfr_struct *, __mpfr_struct *, mpfr_rnd_t)'
   94 | void mpfr_cospi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
      |      ^~~~~~~~~~
/usr/include/mpfr.h:753:21: note: previous declaration of 'mpfr_cospi' with type 'int(__mpfr_struct *, const __mpfr_struct *, mpfr_rnd_t)'
  753 | __MPFR_DECLSPEC int mpfr_cospi (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t);
      |                     ^~~~~~~~~~
make[2]: *** [src/libm-tester/CMakeFiles/tester2avx512fdp.dir/build.make:76: src/libm-tester/CMakeFiles/tester2avx512fdp.dir/tester2simddp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2058: src/libm-tester/CMakeFiles/tester2avx512fdp.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

greetings