public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: New upstream release 1.7.0-beta3
@ 2026-12-01 21:39 Milan Bouchet-Valat
0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 54fcd6f693069f7bec0a6a346b5e1b632773fc6a
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2021-08-12T17:15:55+02:00
Stats : +46/-28 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/54fcd6f693069f7bec0a6a346b5e1b632773fc6a?branch=epel10
Log:
New upstream release 1.7.0-beta3
---
diff --git a/.gitignore b/.gitignore
index ef702bc..f0254fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -80,3 +80,8 @@
/julia-1.6.0-rc2.tar.gz
/julia-1.6.0.tar.gz
/julia-1.6.1.tar.gz
+/julia-1.7.0-beta3.tar.gz
+/llvm-12.0.0.src.tar.xz
+/blastrampoline-23de7a09bf354fe6f655c457bab5bf47fdd2486d.tar.gz
+/Pkg-df2476a01c01cdadd553dbf010b21fabe7e211d3.tar.gz
+/Statistics-54f9b0d999813aa9fab039f632df222ffd2a96a8.tar.gz
diff --git a/julia.spec b/julia.spec
index 3d7d68e..117d55d 100644
--- a/julia.spec
+++ b/julia.spec
@@ -1,31 +1,32 @@
%global uvcommit fb3e3364c33ae48c827f6b103e05c3f0e78b79a9
%global uvversion 2.0.0
-%global llvmversion 11.0.1
+%global llvmversion 12.0.0
%global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
+%global blastrampolinecommit 23de7a09bf354fe6f655c457bab5bf47fdd2486d
-%global pkgcommit 5c9d3a82e363d98db7f8e99c92203774878b3df0
-%global statisticscommit 4b3ef9aaa79350510ca0be395458f66051c2f92d
+%global pkgcommit df2476a01c01cdadd553dbf010b21fabe7e211d3
+%global statisticscommit 54f9b0d999813aa9fab039f632df222ffd2a96a8
%global logocommit 168fb6c1164e341df360ed6ced519e1e0cb7de3a
%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(openblas_|openblas64_|ccalltest|LLVM-.*|uv|libgit2|libpcre2-8|libmbed.*)\\.so.*
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
Name: julia
-Version: 1.6.1
-Release: 3%{?dist}
+Version: 1.7.0beta3
+Release: 1%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
# Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
# libuv is MIT
License: MIT and LGPLv2+ and GPLv2+
URL: http://julialang.org/
-Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.tar.gz
+Source0: https://github.com/JuliaLang/julia/releases/download/v1.7.0-beta3/julia-1.7.0-beta3.tar.gz
# 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: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{llvmversion}/llvm-%{llvmversion}.src.tar.xz
@@ -33,6 +34,7 @@ Source3: https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhich
Source4: https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommit}#/Pkg-%{pkgcommit}.tar.gz
Source5: https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/%{statisticscommit}#/Statistics-%{statisticscommit}.tar.gz
Source6: https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/%{logocommit}/images/julia-logo-color.svg
+Source7: https://api.github.com/repos/staticfloat/libblastrampoline/tarball/%{blastrampolinecommit}#/blastrampoline-%{blastrampolinecommit}.tar.gz
Provides: bundled(libuv) = %{uvversion}
Provides: bundled(llvm) = %{llvmversion}
BuildRequires: ca-certificates
@@ -68,9 +70,9 @@ BuildRequires: patchelf
BuildRequires: perl
BuildRequires: p7zip-plugins
%if 0%{?__isa_bits} == 64
-BuildRequires: suitesparse64_-devel >= 4.1
+BuildRequires: suitesparse64_-devel >= 5.10
%else
-BuildRequires: suitesparse-devel >= 4.1
+BuildRequires: suitesparse-devel >= 5.10
%endif
BuildRequires: utf8proc-devel >= 2.1
BuildRequires: zlib-devel
@@ -132,7 +134,7 @@ needed when programming in the Julia language, but rather for embedding
Julia into external programs or debugging Julia itself.
%prep
-%setup -q
+%setup -qn julia-e76c9dad42
mkdir -p deps/srccache stdlib/srccache
@@ -143,6 +145,7 @@ pushd deps/srccache
cp -p %SOURCE1 .
cp -p %SOURCE2 .
cp -p %SOURCE3 .
+ cp -p %SOURCE7 .
popd
pushd stdlib/srccache
@@ -167,11 +170,11 @@ cp -p %SOURCE6 contrib/julia.svg
%endif
%ifarch %{arm}
# gcc and LLVM do not support the same targets
-%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*')
+%global march MARCH=$(echo %build_cflags | grep -Po 'march=\\K[^ ]*')
%global cpu_target JULIA_CPU_TARGET="generic"
%endif
%ifarch armv7hl
-%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*')
+%global march MARCH=$(echo %build_cflags | grep -Po 'march=\\K[^ ]*')
%global cpu_target JULIA_CPU_TARGET="armv7-a;armv7-a,neon;armv7-a,neon,vfp4"
%endif
%ifarch aarch64
@@ -205,15 +208,15 @@ 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_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_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_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
# Workaround for https://github.com/JuliaLang/julia/issues/27118
-%global optflags %(echo %{optflags} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS //')
+%global build_cxxflags %(echo %{build_cxxflags} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS //')
# Workaround for https://github.com/JuliaLang/julia/issues/39822
# and https://bugzilla.redhat.com/show_bug.cgi?id=1928696
-%global optflags %(echo %{optflags} | sed 's/-Wp,-D_GNU_SOURCE //')
+%global build_cflags %(echo %{build_cflags} | sed 's/-Wp,-D_GNU_SOURCE //')
# Julia hardcodes the exact SOVERSION it uses when USE_SYSTEM_*=0
# https://github.com/JuliaLang/julia/pull/38347#discussion_r574819534
@@ -227,16 +230,23 @@ sed "s/libgit2.so.*\"/$(cd %{_libdir} && ls libgit2.so.?.?)\"/" -i stdlib/LibGit
# https://github.com/JuliaLang/julia/issues/39822
sed "s/#if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072/#if 0/" -i src/task.c
+# Work around too strict version check
+# https://github.com/JuliaLang/SuiteSparse.jl/pull/37
+make %{commonopts} -C stdlib extract-SuiteSparse
+sed "s/BUILD_VERSION != current_version/BUILD_VERSION.major != current_version.major/" -i stdlib/SuiteSparse-*/src/cholmod.jl
+
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
%ifarch %{arm} %{ix86}
-%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%global build_cflags %(echo %{build_cflags} | sed 's/-g /-g1 /')
+%global build_cxxflags %(echo %{build_cxxflags} | sed 's/-g /-g1 /')
+%global build_ldflags %(echo %{build_ldflags} | sed 's/-g /-g1 /')
%endif
%ifarch %{ix86}
-# Need to repeat -march here to override i686 from optflags
-%global buildflags CFLAGS="%optflags -march=pentium4" CXXFLAGS="%optflags -march=pentium4"
+# Need to repeat -march here to override i686 from build_cflags
+%global buildflags CFLAGS="%{build_cflags} -march=pentium4" CXXFLAGS="%{build_cxxflags} -march=pentium4" FFLAGS="%{build_fflags} -march=pentium4" LDFLAGS="%{build_ldflags}"
%else
-%global buildflags CFLAGS="%optflags" CXXFLAGS="%optflags"
+%global buildflags CFLAGS="%{build_cflags}" CXXFLAGS="%{build_cxxflags}" FFLAGS="%{build_fflags}" LDFLAGS="%{build_ldflags}"
%endif
# Needed when USE_SYSTEM_CSL=1
@@ -244,6 +254,9 @@ sed "s/#if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072/#if 0/" -i src/task.c
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
+
make %{?_smp_mflags} %{buildflags} %{commonopts} release
%check
@@ -289,10 +302,6 @@ sed "s/@test vn == v\".*\"//" -i stdlib/MPFR_jll/test/runtests.jl
sed "s/@test vn == v\".*\"//" -i stdlib/MbedTLS_jll/test/runtests.jl
sed "s/@test VersionNumber(unsafe_string(info.version_str)) == v\".*\"//" -i stdlib/nghttp2_jll/test/runtests.jl
-# Tests need to be able to find 7z even when PATH is not set
-# https://github.com/JuliaLang/julia/issues/40011
-ln -s /bin/7z build/usr/bin/7z
-
make %{commonopts} test
%install
@@ -412,6 +421,10 @@ 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
+- 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
diff --git a/sources b/sources
index cf341dc..6bd4cce 100644
--- a/sources
+++ b/sources
@@ -1,7 +1,7 @@
-SHA512 (julia-1.6.1.tar.gz) = da05fc7b77543b6b6c48af555191b581af1582864deb1565ad1fe3d3008de186986807758ff2295c6fdbbbc36687962eecef0e84cc9adca7ab50d72e2c3b4371
+SHA512 (julia-1.7.0-beta3.tar.gz) = e01ba898ab74c82dc6faf1c563d02e73e1e78562714d4d5acbe83f4993942551c3eb56b5d2a6479f85a4ccf89753f0ad77cca4ba8cbc1a5a84935fa934975177
+SHA512 (llvm-12.0.0.src.tar.xz) = ec17153ef774a1e08085763bda7d0dfce6802fbaa17e89831695ce1b2eb015a6c2aebfaa9fe7985a83b9c51bd75d40bb4f1fc706dc16d4c0dc2b2722a1d8a24e
+SHA512 (blastrampoline-23de7a09bf354fe6f655c457bab5bf47fdd2486d.tar.gz) = 7b7dbb101cf05ac833a8e5b09f1eec8eb99f0caafbe80075751a5f7e0bfe03a3b19d11d3507dadd13f503cfa9fc1a6cd53f3461af7d5afb39ca385a0ee26120b
+SHA512 (Pkg-df2476a01c01cdadd553dbf010b21fabe7e211d3.tar.gz) = 4ceb13b64bf66ae50fb0ee87e3dc3e57a52dbdf68592226d36c8d37aaa6179d205de269073fc08be137430deb6c06c6cda65f3e0215f9a32854f1ea07be7ca26
+SHA512 (Statistics-54f9b0d999813aa9fab039f632df222ffd2a96a8.tar.gz) = e409fa943a9683a129b80c78ef74572df316ed414dfc8c208f1500d0f07d4d41870d44654446e2c20d1b9ed11e62c4fc6107b6e5789939edbd049fc2aaf22f63
SHA512 (libuv-fb3e3364c33ae48c827f6b103e05c3f0e78b79a9.tar.gz) = 29947c236aef8931be4767df1cd8404ee9b036ee107b31cbce6fad9a97743df57d068b15bc4bd00320b9b81cd879258a9ec9dc675853e424ccdb8d6bdd226240
SHA512 (libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz) = 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3
-SHA512 (llvm-11.0.1.src.tar.xz) = b42c67ef88e09dd94171f85cdf49a421a15cfc82ff715c7ce6de22f98cefbe6c7cdf6bf4af7ca017d56ecf6aa3e36df3d823a78cf2dd5312de4301b54b43dbe8
-SHA512 (Pkg-5c9d3a82e363d98db7f8e99c92203774878b3df0.tar.gz) = a75a05cb81aa9955fa15f0e9f3aff079b76878ada3a601b021f3cdaa09fb3b2bde603c94b6549647ca6af90187bd871841fd07f44e3a38acff8607b281c2d388
-SHA512 (Statistics-4b3ef9aaa79350510ca0be395458f66051c2f92d.tar.gz) = 25333568516ddbd319456ae13cb3e12dcf3d2d9ca23bf8da32e59d8024ca03650987289792ed9641628bc78f5c79f3498495287c8fb2795e9eed4e70881eb831
-SHA512 (julia-logo-color.svg) = 3a7d28884269a471ac21e2c8e67c39d406cb12ac29f61ba5fed03e7a1168e7d3e2e3f1d304a657949ce77b8fa73f15e64947511cc67ab3a7d9708b2579eeea1c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:39 [rpms/julia] epel10: New upstream release 1.7.0-beta3 Milan Bouchet-Valat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox