Advertisement
ReillyBrogan

Untitled

Mar 12th, 2025
38
0
157 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #
  2. # SPDX-FileCopyrightText: © 2020-2025 Serpent OS Developers
  3. #
  4. # SPDX-License-Identifier: MPL-2.0
  5. #
  6. name : gsl
  7. version : "2.8"
  8. release : 1
  9. homepage : https://www.gnu.org/software/gsl/
  10. upstreams :
  11. - https://mirrors.ocf.berkeley.edu/gnu/gsl/gsl-2.8.tar.gz : 6a99eeed15632c6354895b1dd542ed5a855c0f15d9ad1326c6fe2b2c9e423190
  12. summary : GNU Scientific Library (GSL) is a numerical library for C and C++ programmers
  13. description : |
  14. GNU Scientific Library (GSL) is a numerical library for C and C++ programmers
  15. license : GPL-3.0
  16. builddeps :
  17. - pkgconfig(openblas)
  18. tuning :
  19. # Breaks tests
  20. - lto: false
  21. setup : |
  22. # Taken from Gentoo
  23. %patch %(pkgdir)/0001-External-cblas-support.patch
  24.  
  25. export CBLAS_LIBS="$(pkg-config --libs openblas)"
  26. export CBLAS_CFLAGS="$(pkg-config --cflags openblas)"
  27.  
  28. %reconfigure \
  29. --disable-static \
  30. --with-cblas-external
  31. build : |
  32. %make
  33. install : |
  34. %make_install
  35. # Currently fails due to unknown (potentially hardware-related) issue https://bugs.gentoo.org/946160
  36. # check : |
  37. # %make check || (cat sys/test-suite.log && exit 1)
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement