[arch-commits] Commit in julia/trunk (PKGBUILD julia-libblastrampoline-4.patch)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jan 20 08:51:56 UTC 2022


    Date: Thursday, January 20, 2022 @ 08:51:56
  Author: arojas
Revision: 1111259

libblastrampoline 4 rebuild

Added:
  julia/trunk/julia-libblastrampoline-4.patch
Modified:
  julia/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   11 ++++++++---
 julia-libblastrampoline-4.patch |   13 +++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-20 08:51:27 UTC (rev 1111258)
+++ PKGBUILD	2022-01-20 08:51:56 UTC (rev 1111259)
@@ -9,7 +9,7 @@
 pkgname=julia
 epoch=2
 pkgver=1.7.1
-pkgrel=4
+pkgrel=5
 arch=(x86_64)
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='https://julialang.org/'
@@ -31,7 +31,8 @@
         make-install-no-build.patch
         julia-llvm-patchelf.patch
         julia-libunwind-1.6.patch
-        julia-curl-7.81.patch)
+        julia-curl-7.81.patch
+        julia-libblastrampoline-4.patch)
 backup=(etc/julia/startup.jl)
 sha256sums=('add869121b7e788ff487a234fd39484469dbb3ded29b17041c63c4757515dd58'
             'SKIP'
@@ -46,8 +47,10 @@
             '8be4605f92a009072ca7e843549c225fc4e959893498e7c4f8f79e861e63714d'
             '6048c69c987f33f2b17d78b63368b0762d1d6a1e531ef9932d0c23bda49d1384'
             '3afa172e8b54ce48e77542677b2b7143199d444bfeed39be1644ce88b513a3d0'
-            '710587dd88c7698dc5cdf47a1a50f6f144b584b7d9ffb85fac3f5f79c65fce11')
+            '710587dd88c7698dc5cdf47a1a50f6f144b584b7d9ffb85fac3f5f79c65fce11'
+            '7077a4321eab9b4b67efdfc80dfa6acac1f88bd45f2f55c417a19e50019ee4f2')
 validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) <buildbot at julialang.org>
+options=(!lto)
 
 prepare() {
   cd $pkgname-$pkgver
@@ -72,6 +75,8 @@
   sed -e 's|0.22314355f0 + 3.1415927f0im|0.22314355f0 - 3.1415927f0im|' -i stdlib/LinearAlgebra/test/lu.jl
 # Don't try to run patchelf on system LLVM
   patch -p1 -i ../julia-llvm-patchelf.patch
+# Port to libblastrampoline 4 API
+  patch -p1 -i ../julia-libblastrampoline-4.patch
 
 # Fix segfault with curl 7.81
   cd stdlib/srccache

Added: julia-libblastrampoline-4.patch
===================================================================
--- julia-libblastrampoline-4.patch	                        (rev 0)
+++ julia-libblastrampoline-4.patch	2022-01-20 08:51:56 UTC (rev 1111259)
@@ -0,0 +1,13 @@
+diff --git a/stdlib/LinearAlgebra/src/lbt.jl b/stdlib/LinearAlgebra/src/lbt.jl
+index b1a2dc24b3..b0d6242738 100644
+--- a/stdlib/LinearAlgebra/src/lbt.jl
++++ b/stdlib/LinearAlgebra/src/lbt.jl
+@@ -155,7 +155,7 @@ function lbt_set_num_threads(nthreads)
+ end
+ 
+ function lbt_forward(path; clear::Bool = false, verbose::Bool = false)
+-    ccall((:lbt_forward, libblastrampoline), Int32, (Cstring, Int32, Int32), path, clear ? 1 : 0, verbose ? 1 : 0)
++    ccall((:lbt_forward, libblastrampoline), Int32, (Cstring, Int32, Int32, Cstring), path, clear ? 1 : 0, verbose ? 1 : 0, C_NULL)
+ end
+ 
+ function lbt_set_default_func(addr)



More information about the arch-commits mailing list