public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Fix error on startup
Date: Tue, 01 Dec 2026 21:40:46 GMT	[thread overview]
Message-ID: <179616124659.1.15147175735896353779.rpms-julia-a1788cf9a11a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : a1788cf9a11aec456aaf5cee5b4e548448253126
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2024-05-02T11:26:12+02:00
Stats  : +13/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/a1788cf9a11aec456aaf5cee5b4e548448253126?branch=epel10

Log:
Fix error on startup

---
diff --git a/julia.spec b/julia.spec
index 6b3ed07..f4bf54b 100644
--- a/julia.spec
+++ b/julia.spec
@@ -34,7 +34,7 @@
 
 Name:           julia
 Version:        1.11.0
-Release:        0.beta1%{?dist}
+Release:        1.beta1%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT
 # libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -303,13 +303,21 @@ ln -sf %{_libdir}/libgcc_s.so.1 %{_builddir}/%{buildsubdir}/build/%{_libdir}/lib
 # Work around https://github.com/JuliaLinearAlgebra/libblastrampoline/pull/121
 make %{?_smp_mflags} %{commonopts} binlib=../%{_libdir} -C deps install-blastrampoline
 
-# Workaround library being installed in lib
+# Workaround LLVM being installed in lib and not found
 pushd %{_builddir}/%{buildsubdir}/build/%{_libdir}
     ln -sf ../lib/libLLVM-%{llvmversionmaj}jl.so libLLVM-%{llvmversionmaj}jl.so
 popd
 
 make %{?_smp_mflags} %{commonopts} release
 
+# Now copy LLVM from lib to lib64
+if [ "x%{_lib}" != xlib ] ; then
+  rm -f %{_builddir}/%{buildsubdir}/build/%{_libdir}/libLLVM-%{llvmversionmaj}jl.so
+  cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
+  rm -rf %{_builddir}/%{buildsubdir}/build/usr/lib/
+  ln -sf %{_lib} %{_builddir}/%{buildsubdir}/build/usr/lib
+fi
+
 %check
 # Disable tests that require Internet access
 sed "s/ipa = getipaddr()/error()/" -i test/choosetests.jl
@@ -482,6 +490,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.1-beta1
+- Fix error on startup.
+
 * Wed May 1 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.0-beta1
 - New upstream release.
 - Fix build failures.

             reply	other threads:[~2026-12-01 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 21:40 Milan Bouchet-Valat [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-12-01 21:40 [rpms/julia] epel10: Fix error on startup Milan Bouchet-Valat
2026-12-01 21:39 Milan Bouchet-Valat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179616124659.1.15147175735896353779.rpms-julia-a1788cf9a11a@fedoraproject.org \
    --to=nalimilan@club.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox