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 build
Date: Tue, 01 Dec 2026 21:39:57 GMT	[thread overview]
Message-ID: <179616119709.1.137446027758678173.rpms-julia-0077bf5a3919@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : 0077bf5a3919805c7aed7dcc2ea0e200b43ba201
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2021-08-22T09:18:04+02:00
Stats  : +18/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/0077bf5a3919805c7aed7dcc2ea0e200b43ba201?branch=epel10

Log:
Fix build

---
diff --git a/julia.spec b/julia.spec
index da61b01..a2c4854 100644
--- a/julia.spec
+++ b/julia.spec
@@ -3,7 +3,10 @@
 
 %global llvmversion 12.0.0
 
+%global libwhichversion 1.1.0
 %global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
+
+%global blastrampolineversion 3.1.0
 %global blastrampolinecommit 23de7a09bf354fe6f655c457bab5bf47fdd2486d
 
 %global pkgcommit df2476a01c01cdadd553dbf010b21fabe7e211d3
@@ -11,10 +14,10 @@
 
 %global logocommit 168fb6c1164e341df360ed6ced519e1e0cb7de3a
 
-%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
+%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_|ccalltest|LLVM-.*|uv)\\.so.*
+%global _privatelibs lib(julia-internal|openblas_|openblas64_|ccalltest|LLVM-.*|uv|blastrampoline)\\.so.*
 %global __provides_exclude ^(%{_privatelibs})$
 %global __requires_exclude ^(%{_privatelibs})$
 
@@ -37,6 +40,8 @@ Source6:        https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/
 Source7:        https://api.github.com/repos/staticfloat/libblastrampoline/tarball/%{blastrampolinecommit}#/blastrampoline-%{blastrampolinecommit}.tar.gz
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
+Provides:       bundled(libblastrampoline) = %{blastrampolineversion}
+Provides:       bundled(libwhich) = %{libwhichversion}
 BuildRequires:  ca-certificates
 BuildRequires:  desktop-file-utils
 BuildRequires:  dSFMT-devel
@@ -70,9 +75,9 @@ BuildRequires:  patchelf
 BuildRequires:  perl
 BuildRequires:  p7zip-plugins
 %if 0%{?__isa_bits} == 64
-BuildRequires:  suitesparse64_-devel >= 5.10
+BuildRequires:  suitesparse64_-devel >= 4.1
 %else
-BuildRequires:  suitesparse-devel >= 5.10
+BuildRequires:  suitesparse-devel >= 4.1
 %endif
 BuildRequires:  utf8proc-devel >= 2.1
 BuildRequires:  zlib-devel
@@ -208,7 +213,7 @@ cp -p %SOURCE6 contrib/julia.svg
 %endif
 
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
-%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_LIBSUITESPARSE=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_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=0 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=%{_builddir}/%{buildsubdir}/build%{_prefix} 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_LIBSUITESPARSE=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_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=0 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=%{_builddir}/%{buildsubdir}/build%{_prefix} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
 
 
 %build
@@ -255,7 +260,12 @@ mkdir -p %{_builddir}/%{buildsubdir}/build/usr/lib/
 ln -sf %{_libdir}/libgcc_s.so.1 %{_builddir}/%{buildsubdir}/build/usr/lib/libgcc_s.so.1
 
 # Work around https://github.com/staticfloat/libblastrampoline/issues/44
-make %{?_smp_mflags} CFLAGS="%build_cflags -fPIC -DLIBRARY_EXPORTS" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+# and https://github.com/staticfloat/libblastrampoline/issues/50
+%if 0%{?__isa_bits} == 64
+make %{?_smp_mflags} CFLAGS="%{build_ldflags} -fno-lto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+%else
+make %{?_smp_mflags} CFLAGS="%{build_ldflags} -fno-lto -fPIC -DLIBRARY_EXPORTS" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+%endif
 
 make %{?_smp_mflags} %{buildflags} %{commonopts} release
 
@@ -421,8 +431,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
-* Thu Aug 12 2021 Milan Bouchet-Valat <nalimilan@club.fr> - 1.7.0beta3-1
+* Sat Aug 21 2021 Milan Bouchet-Valat <nalimilan@club.fr> - 1.7.0beta3-1
 - New upstream release.
+- Avoid including private libraries in Provides.
 
 * Thu Jul 29 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.1-3
 - Rebuild for new openlibm

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 21:39 Milan Bouchet-Valat [this message]
2026-12-01 21:41 [rpms/julia] epel10: Fix build 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=179616119709.1.137446027758678173.rpms-julia-0077bf5a3919@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