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 LLVM 3.3
Date: Tue, 01 Dec 2026 21:38:16 GMT [thread overview]
Message-ID: <179616109670.1.12609609109827720157.rpms-julia-e21265952c1f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : e21265952c1f1edea25ddcbe4e0447acf1c0233f
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2015-10-17T11:16:17+02:00
Stats : +16/-29 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/e21265952c1f1edea25ddcbe4e0447acf1c0233f?branch=epel10
Log:
Use LLVM 3.3
---
diff --git a/julia.spec b/julia.spec
index 86b9db0..093034e 100644
--- a/julia.spec
+++ b/julia.spec
@@ -4,9 +4,12 @@
%global Rmathjuliaversion 0.1
%global Rmathversion 3.0.1
+%global llvm_version 3.3
+%global llvmversion 33
+
Name: julia
Version: 0.4.0
-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
@@ -33,7 +36,7 @@ BuildRequires: gmp-devel >= 5.0
BuildRequires: ImageMagick
BuildRequires: libgit2-devel >= 0.21
BuildRequires: libunwind-devel
-BuildRequires: llvm-devel
+BuildRequires: llvm%{llvmversion}-devel
BuildRequires: mpfr-devel >= 3.0
%ifarch %{ix86} x86_64
BuildRequires: openblas-devel
@@ -141,10 +144,10 @@ popd
%endif
%ifarch %{arm}
# gcc and LLVM do not support the same targets
-%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*') JULIA_CPU_TARGET=generic JCFLAGS="-fsigned-char -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64"
+%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*') JULIA_CPU_TARGET=generic
%endif
%ifarch armv7hl
-%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*') JULIA_CPU_TARGET=cortex-a8 JCFLAGS="-fsigned-char -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64"
+%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*') JULIA_CPU_TARGET=cortex-a8
%endif
%ifarch %{ix86} x86_64
@@ -156,7 +159,7 @@ popd
# 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_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_LLVM_SHLIB=1 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}
+%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//)
%build
make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" FFLAGS="%{optflags}" %commonopts release
@@ -166,30 +169,7 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" FFLAGS="%{optfl
make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" FFLAGS="%{optflags}" %commonopts debug
%check
-make %commonopts -C test \
- core keywordargs numbers printf \
- char string triplequote unicode \
- dates dict hashing remote iobuffer staged \
- arrayops tuple subarray reduce reducedim random \
- abstractarray intfuncs simdloop blas sparse \
- bitarray copy math functional \
- operators path ccall parse loading \
- bigint sorting statistics spawn \
- priorityqueue file mmap version resolve \
- pollfd mpfr broadcast complex socket \
- floatapprox readdlm reflection regex float16 \
- combinatorics sysinfo rounding ranges mod2pi \
- euler show lineedit replcompletions repl \
- replutil sets test goto llvmcall grisu \
- nullable meta libgit2 docs markdown \
- base64 serialize functors misc \
- enums cmdlineargs i18n workspace libdl int \
- intset floatfuncs compile fft dsp examples parallel
-
-# These tests currently fails with LLVM 3.7 on i686
-%ifarch x86_64
-make %commonopts -C test fastmath linalg profile
-%endif
+make %{commonopts} -C test
%install
make %commonopts DESTDIR=%{buildroot} install
@@ -304,6 +284,13 @@ exit 0
/usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
%changelog
+* Fri Oct 9 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4.0-2
+- Use LLVM 3.3 to fix bugs and improve compilation performance.
+- Run all the tests now that they pass.
+- Stop specifying -fsigned-char explicitly, since it is now handled by Julia.
+- Refactor architecture checking logic to prepare support for new arches.
+- Use upstream .desktop file instead of a custom one.
+
* Fri Oct 9 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4.0-1
- New upstream release.
- Drop patches now included upstream.
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=179616109670.1.12609609109827720157.rpms-julia-e21265952c1f@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