The package rpms/julia.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/julia.git/commit/?id=98f98bb1b87c....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 28ec85413a5715301b52fae5f85a9102e8cc1f8e
Author: Milan Bouchet-Valat <nalimilan(a)club.fr>
Date: Sun Sep 30 10:35:01 2018 +0200
New upstream release 1.0.1
diff --git a/.gitignore b/.gitignore
index 381d7e3..db86afd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@
/llvm-6.0.0.src.tar.xz
/mpfr-4.0.1.tar.bz2
/libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz
+/julia-1.0.1.tar.gz
diff --git a/julia.spec b/julia.spec
index afd85ea..ed844f6 100644
--- a/julia.spec
+++ b/julia.spec
@@ -10,8 +10,8 @@
%global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
Name: julia
-Version: 1.0.0
-Release: 2%{?dist}
+Version: 1.0.1
+Release: 1%{?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
@@ -304,6 +304,11 @@ exit 0
/usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
%changelog
+* Sun Sep 30 2018 Milan Bouchet-Valat <nalimilan(a)club.fr> - 1.0.1-1
+- New upstream release.
+- Remove internal libraries from Provides.
+- Enable build on ARM and PPC.
+
* Fri Sep 7 2018 Milan Bouchet-Valat <nalimilan(a)club.fr> - 1.0.0-2
- Fix FTBFS by bundling libunwind.
diff --git a/sources b/sources
index 3910480..a056339 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (julia-1.0.0.tar.gz) =
5a53b16a1ab57cdffa5dadf11e78c413ed9f18af23ae90b64dee8323c2fc9bd6e6918b341f48accbcb7a6eab559811c80d72ac3ac0576c7cf6c9c9057356f6ba
+SHA512 (julia-1.0.1.tar.gz) =
41ca8c0280c4914e43f5a37ed09ce47174f991e3079703a705081265509d22cd6cb66a928dc1c41d473a3d8cc59bb6f74e25e3a960e828d6e469d85a8db58c18
SHA512 (libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e.tar.gz) =
1305035b1372bdf234e3c5e673ee4c8ab5bda83ff06bc27704786def52667c3143fe587fca8f6e0855ba0c8b6d4dd90b2faefd33736224173f459d751885683e
SHA512 (llvm-6.0.0.src.tar.xz) =
a71fdd5ddc46f01327ad891cfcc198febdbe10769c57f14d8a4fb7d514621ee4080e1a641200d3353c16a16731d390270499ec6cd3dc98fadc570f3eb6b52b8c
SHA512 (mpfr-4.0.1.tar.bz2) =
c1674fc0a5edcde188bdf7d6d14063cfb4f1259b9eaf39d0081f7176e9921ca0af1b12b7aba1a9560d9f2d5f37329d22bc7b82f13421d91d83114b439bc60dcc
commit 98f98bb1b87cfe0f48807943f7b8b97560472cdd
Author: Milan Bouchet-Valat <nalimilan(a)club.fr>
Date: Sun Sep 30 10:34:43 2018 +0200
Enable build on PPC and ARM
diff --git a/julia.spec b/julia.spec
index 30aabef..afd85ea 100644
--- a/julia.spec
+++ b/julia.spec
@@ -65,7 +65,7 @@ Requires: openblas-threads
#
https://bugzilla.redhat.com/show_bug.cgi?id=1158024
#
https://bugzilla.redhat.com/show_bug.cgi?id=1158026
#
https://bugzilla.redhat.com/show_bug.cgi?id=1158025
-ExclusiveArch: %{ix86} x86_64
+ExcludeArch: s390x
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
%global __provides_exclude ^lib(mpfr|ccalltest)\\.so.*$
@@ -156,7 +156,7 @@ popd
%endif
%ifarch armv7hl
%global march MARCH=$(echo %optflags | grep -Po 'march=\\K[^ ]*')
-%global cpu_target
JULIA_CPU_TARGET="armv7-a;armv7-a,neon;armv7-a;armv7-a,neon,vfp4"
+%global cpu_target JULIA_CPU_TARGET="armv7-a;armv7-a,neon;armv7-a,neon,vfp4"
%endif
%ifarch aarch64
%global march MARCH=armv8-a
@@ -175,19 +175,39 @@ popd
%build
# Temporary workaround for
https://github.com/JuliaLang/julia/issues/27118
-%global optflags2 %(echo %{optflags} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS //')
+%global optflags %(echo %{optflags} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS //')
+
+%ifarch %{arm}
+# Decrease debuginfo verbosity to reduce memory consumption during final library linking
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
%ifarch %{ix86}
# Need to repeat -march here to override i686 from optflags
-%global buildflags CFLAGS="%optflags2 -march=pentium4"
CXXFLAGS="%optflags2 -march=pentium4"
+%global buildflags CFLAGS="%optflags -march=pentium4" CXXFLAGS="%optflags
-march=pentium4"
%else
-%global buildflags CFLAGS="%optflags2" CXXFLAGS="%optflags2"
+%global buildflags CFLAGS="%optflags" CXXFLAGS="%optflags"
%endif
# If debug is not built here, it is built during make install
make %{?_smp_mflags} %{buildflags} %{commonopts} release debug
%check
+# Disable tests known to fail currently
+%ifarch ppc64le %{arm} aarch64
+sed -i 's/\"numbers\",//' test/choosetests.jl
+sed -i 's/\"ccall\",//' test/choosetests.jl
+sed -i 's/\"vecelement\", //' test/choosetests.jl
+sed -i 's/\"stress\",//' test/choosetests.jl
+sed -i 's/\"errorshow\",//' test/choosetests.jl
+sed -i 's/\"threads\",//' test/choosetests.jl
+%endif
+%ifarch ppc64le
+# LinearAlgebra/lapack is the problematic test
+sed -i 's/readdir(STDLIB_DIR)/setdiff(readdir(STDLIB_DIR), ["LibGit2",
"LinearAlgebra"])/g' test/choosetests.jl
+sed -i 's/\"cmdlineargs\", //' test/choosetests.jl
+%endif
+
make %{commonopts} test
%install
commit c5b390e6476cb6334c2fde51c2af5ad7de04a00a
Author: Milan Bouchet-Valat <nalimilan(a)club.fr>
Date: Mon Sep 24 15:11:00 2018 +0200
Do not include private libs in Provides
diff --git a/julia.spec b/julia.spec
index e17f275..30aabef 100644
--- a/julia.spec
+++ b/julia.spec
@@ -67,6 +67,9 @@ Requires: openblas-threads
#
https://bugzilla.redhat.com/show_bug.cgi?id=1158025
ExclusiveArch: %{ix86} x86_64
+%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
+%global __provides_exclude ^lib(mpfr|ccalltest)\\.so.*$
+
%description
Julia is a high-level, high-performance dynamic programming language
for technical computing, with syntax that is familiar to users of