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: Use new ILP64 OpenBLAS, suffixed with 64_
Date: Tue, 01 Dec 2026 21:38:22 GMT	[thread overview]
Message-ID: <179616110236.1.13799590687175563477.rpms-julia-6326ec15d988@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/julia
            Branch : epel10
            Commit : 6326ec15d98835c7a1991d2a8a648ac3745faec0
            Author : Milan Bouchet-Valat <nalimilan@club.fr>
            Date   : 2015-12-24T13:24:37+01:00
            Stats  : +19/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/julia/c/6326ec15d98835c7a1991d2a8a648ac3745faec0?branch=epel10

            Log:
            Use new ILP64 OpenBLAS, suffixed with 64_

Also use OpenBLAS for all architectures (including those
not enabled at the moment).

---
diff --git a/julia.spec b/julia.spec
index 73fd4af..cb89493 100644
--- a/julia.spec
+++ b/julia.spec
@@ -9,7 +9,7 @@
 
 Name:           julia
 Version:        0.4.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 Group:          Development/Languages
 # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
@@ -36,12 +36,9 @@ BuildRequires:  libgit2-devel >= 0.21
 BuildRequires:  libunwind-devel
 BuildRequires:  llvm%{llvmversion}-devel
 BuildRequires:  mpfr-devel >= 3.0
-%ifarch %{ix86} x86_64
 BuildRequires:  openblas-devel
+%ifarch %{ix86} x86_64
 BuildRequires:  openlibm-devel >= 0.4
-%else
-BuildRequires:  blas-devel
-BuildRequires:  lapack-devel
 %endif
 BuildRequires:  openspecfun-devel >= 0.4
 BuildRequires:  pcre2-devel
@@ -60,12 +57,13 @@ Requires:       gmp >= 5.0
 Requires:       julia-common = %{version}-%{release}
 Requires:       libgit2 >= 0.21
 Requires:       mpfr >= 3.0
-%ifarch %{ix86} x86_64
+%ifarch 0%{?__isa_bits} == 64
+Requires:       openblas-threads64_
+%else
 Requires:       openblas-threads
+%endif
+%ifarch %{ix86} x86_64
 Requires:       openlibm >= 0.4
-%else
-Requires:       blas
-Requires:       lapack
 %endif
 Requires:       openspecfun >= 0.4
 Requires:       pcre2
@@ -150,16 +148,21 @@ popd
 %global march armv8-a
 %endif
 
+%ifarch 0%{?__isa_bits} == 64
+%global blas USE_BLAS64=1 LIBBLAS=-lopenblasp64_ LIBBLASNAME=libopenblasp64_.so.0 LIBLAPACK=-lopenblasp64_ LIBLAPACKNAME=libopenblasp64_.so.0
+%else
+%global blas USE_BLAS64=0 LIBBLAS=-lopenblasp LIBBLASNAME=libopenblasp.so.0 LIBLAPACK=-lopenblasp LIBLAPACKNAME=libopenblasp.so.0
+%endif
+
 %ifarch %{ix86} x86_64
-%global archspecific USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 LIBBLAS=-lopenblasp LIBBLASNAME=libopenblasp.so.0 LIBLAPACK=-lopenblasp LIBLAPACKNAME=libopenblasp.so.0 MARCH=%{march}
+%global libm USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1
 %else
-%global archspecific USE_SYSTEM_LIBM=1 LIBBLAS=-lblas LIBBLASNAME=libblas.so.3 LIBLAPACK=-llapack LIBLAPACKNAME=liblapack.so.3 MARCH=%{march}
+%global libm USE_SYSTEM_LIBM=1
 %endif
 
-# USE_BLAS64=0 means that BLAS was built with 32-bit integers, even if the library is 64 bits
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
 %global julia_builddir %{_builddir}/%{name}/build
-%global commonopts USE_SYSTEM_LLVM=1 USE_LLVM_SHLIB=1 LLVM_CONFIG=llvm-config-%{__isa_bits}-%{llvm_version} USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_GRISU=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_RMATH=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_PATCHELF=1 VERBOSE=1 USE_BLAS64=0 %{archspecific} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir} 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_CORES=$(echo %{?_smp_mflags} | sed s/-j//)
+%global commonopts USE_SYSTEM_LLVM=1 USE_LLVM_SHLIB=1 LLVM_CONFIG=llvm-config-%{__isa_bits}-%{llvm_version} USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_GRISU=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_RMATH=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_PATCHELF=1 VERBOSE=1 MARCH=%{march} %{blas} %{libm} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir} 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_CORES=$(echo %{?_smp_mflags} | sed s/-j//)
 
 %build
 %global buildflags CFLAGS="%{optflags} -march=%{march}" CXXFLAGS="%{optflags} -march=%{march}"
@@ -286,6 +289,9 @@ exit 0
 /usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
 
 %changelog
+* Thu Dec 24 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4.2-2
+- Use new ILP64 OpenBLAS, suffixed with 64_.
+
 * Wed Dec 9 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4.2-1
 - New upstream release.
 - Update bundled libuv to latest Julia fork.

                 reply	other threads:[~2026-12-01 21:38 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=179616110236.1.13799590687175563477.rpms-julia-6326ec15d988@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