Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / julia


Commits:
480736da by Antonio Rojas at 2024-10-25T22:56:01+02:00
Don't strip precompiled modules

Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/issues/4

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = julia
        pkgdesc = High-level, high-performance, dynamic programming language
        pkgver = 1.11.1
-       pkgrel = 1
+       pkgrel = 2
        epoch = 2
        url = https://julialang.org/
        arch = x86_64


=====================================
PKGBUILD
=====================================
@@ -131,6 +131,7 @@ check() {
 
   ../julia --check-bounds=yes --startup-file=no ./runtests.jl \
     --skip cmdlineargs \
+    --skip errorshow \
     --skip Downloads \
     --skip Sockets \
     --skip channels \
@@ -152,6 +153,8 @@ check() {
 package() {
   cd $pkgname-$pkgver
   _make DESTDIR="$pkgdir" install
+# Prevent compiled modules from being stripped, as it changes their checksum 
so Julia refuses to load them
+  chmod -w "$pkgdir"/usr/share/julia/compiled/*/*/*.so
 
   ln -sf /etc/ssl/cert.pem "$pkgdir"/usr/share/julia # Needed by some packages
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/commit/480736dae9ca6d8c1e16b81c9533e7ef5a1e4476

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/commit/480736dae9ca6d8c1e16b81c9533e7ef5a1e4476
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to