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: Unbundle mpfr and libunwind
Date: Tue, 01 Dec 2026 21:39:26 GMT	[thread overview]
Message-ID: <179616116689.1.14562399303906861990.rpms-julia-499a2726b7c6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : 499a2726b7c646f3f3001138b8ae7d05687d9f41
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2019-10-21T14:43:43+02:00
Stats  : +7/-17 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/499a2726b7c646f3f3001138b8ae7d05687d9f41?branch=epel10

Log:
Unbundle mpfr and libunwind

---
diff --git a/julia.spec b/julia.spec
index b6365d1..af85e5c 100644
--- a/julia.spec
+++ b/julia.spec
@@ -3,10 +3,6 @@
 
 %global llvmversion 6.0.1
 
-%global mpfrversion 4.0.2
-
-%global unwindversion 1.3.1
-
 %global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
 
 %global pkgcommit 394e7c5d55d3722f5b2ab660ca0a694ea0041974
@@ -14,7 +10,7 @@
 %global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
 # List all bundled libraries here
 # OpenBLAS is excluded because we set a symlink to libopenblasp
-%global _privatelibs lib(openblas_|openblas64_|mpfr|ccalltest|LLVM-.*|uv|unwind)\\.so.*
+%global _privatelibs lib(openblas_|openblas64_|ccalltest|LLVM-.*|uv)\\.so.*
 %global __provides_exclude ^(%{_privatelibs})$
 %global __requires_exclude ^(%{_privatelibs})$
 
@@ -30,17 +26,13 @@ Source0:        https://github.com/JuliaLang/julia/releases/download/v%{version}
 # Julia currently uses a custom version of libuv, patches are not yet upstream
 Source1:        https://api.github.com/repos/JuliaLang/libuv/tarball/%{uvcommit}#/libuv-%{uvcommit}.tar.gz
 Source2:        http://releases.llvm.org/%{llvmversion}/llvm-%{llvmversion}.src.tar.xz
-Source3:        https://www.mpfr.org/mpfr-current/mpfr-%{mpfrversion}.tar.bz2
-Source4:        https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhichcommit}#/libwhich-%{libwhichcommit}.tar.gz
-Source5:        http://download.savannah.gnu.org/releases/libunwind/libunwind-%{unwindversion}.tar.gz
-Source6:        https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommit}#/Pkg-%{pkgcommit}.tar.gz
+Source3:        https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhichcommit}#/libwhich-%{libwhichcommit}.tar.gz
+Source4:        https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommit}#/Pkg-%{pkgcommit}.tar.gz
 Patch0:         julia_unwind_version.patch
 Patch1:         llvm-julia-installdirs-64.patch
 Patch2:         julia-Bump-libgit2-to-0.28.2-32806.patch
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
-Provides:       bundled(mpfr) = %{mpfrversion}
-Provides:       bundled(libunwind) = %{unwindversion}
 BuildRequires:  desktop-file-utils
 BuildRequires:  dSFMT-devel
 BuildRequires:  gcc
@@ -50,6 +42,7 @@ BuildRequires:  gmp-devel >= 5.0
 BuildRequires:  hostname
 BuildRequires:  ImageMagick
 BuildRequires:  libatomic
+BuildRequires:  libunwind-devel >= 1.3
 BuildRequires:  openblas-devel
 BuildRequires:  openblas-threads
 BuildRequires:  openlibm-devel >= 0.4
@@ -64,6 +57,7 @@ BuildRequires:  libcurl-devel
 BuildRequires:  curl
 BuildRequires:  pcre2-devel
 BuildRequires:  cmake
+BuildRequires:  mpfr-devel >= 4
 BuildRequires:  perl
 %if 0%{?__isa_bits} == 64
 BuildRequires:  suitesparse64_-devel >= 4.1
@@ -138,12 +132,10 @@ pushd deps/srccache
     cp -p %SOURCE1 .
     cp -p %SOURCE2 .
     cp -p %SOURCE3 .
-    cp -p %SOURCE4 .
-    cp -p %SOURCE5 .
 popd
 
 pushd stdlib/srccache
-    cp -p %SOURCE6 .
+    cp -p %SOURCE4 .
 popd
 
 # Required so that the image is not optimized for the build CPU
@@ -201,7 +193,7 @@ popd
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
 %global julia_builddir "$(pwd)"
 
-%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=0 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=0 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_CURL=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=1 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir}%{_prefix} build_bindir=%{julia_builddir}%{_bindir} build_libdir=%{julia_builddir}%{_libdir} build_private_libdir=%{julia_builddir}%{_libdir}/julia build_libexecdir=%{julia_builddir}%{_libexecdir} build_datarootdir=%{julia_builddir}%{_datarootdir} build_includedir=%{julia_builddir}%{_includedir} build_sysconfdir=%{julia_builddir}%{_sysconfdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
+%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_CURL=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=1 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir}%{_prefix} build_bindir=%{julia_builddir}%{_bindir} build_libdir=%{julia_builddir}%{_libdir} build_private_libdir=%{julia_builddir}%{_libdir}/julia build_libexecdir=%{julia_builddir}%{_libexecdir} build_datarootdir=%{julia_builddir}%{_datarootdir} build_includedir=%{julia_builddir}%{_includedir} build_sysconfdir=%{julia_builddir}%{_sysconfdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
 
 %build
 # Temporary workaround for https://github.com/JuliaLang/julia/issues/27118

diff --git a/sources b/sources
index 8a532c1..471681e 100644
--- a/sources
+++ b/sources
@@ -1,7 +1,5 @@
 SHA512 (libuv-2348256acf5759a544e5ca7935f638d2bc091d60.tar.gz) = c8bf3c736a60feb0c6994aa7cd1b80e1a45bd6096aa66db320ddfc27b59a0797d303338ea75978619173e4f0a680254f3db29c9f6d1b84361030cc11c7729c98
 SHA512 (llvm-6.0.1.src.tar.xz) = cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
-SHA512 (mpfr-4.0.2.tar.bz2) = 18bb3a87123d02b7537bc298d41bdbb33e58b8c196cc4040578e3b470e86c6c89e1bd8ab8b3919d106fe5b86922ef8999dc1aba7c521ee90a69f690be288a30d
 SHA512 (julia-1.2.0.tar.gz) = c99b0b744508b43df4ee334f588dbb57a633969d7cb164d41b76d552c1d14f5ff6f06a8d0da7f7a48fd1e3a3b3c2379998c5af1bfdff4b0c17045132b82a40b8
-SHA512 (libunwind-1.3.1.tar.gz) = 3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def
 SHA512 (Pkg-394e7c5d55d3722f5b2ab660ca0a694ea0041974.tar.gz) = 6b5324ee3efad2bf1af6ed4503509c6297e710040ccd7d5c67263625f24eab9a88f28ad56cb77ca04ccc976c051f2fbf2bb2019df442ab4823e5a7aff977b825
 SHA512 (libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz) = 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3

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

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179616116689.1.14562399303906861990.rpms-julia-499a2726b7c6@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