Hello community,

here is the log from the commit of package julia for openSUSE:Factory checked 
in at 2020-10-15 13:50:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/julia (Old)
 and      /work/SRC/openSUSE:Factory/.julia.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "julia"

Thu Oct 15 13:50:47 2020 rev:43 rq:841794 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/julia/julia.changes      2020-07-03 
00:11:11.811825062 +0200
+++ /work/SRC/openSUSE:Factory/.julia.new.3486/julia.changes    2020-10-15 
13:51:01.921315222 +0200
@@ -1,0 +2,6 @@
+Fri Oct  9 06:20:01 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Fix build on aarch64:
+  * julia-fix-aarch64.patch
+
+-------------------------------------------------------------------

New:
----
  julia-fix-aarch64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ julia.spec ++++++
--- /var/tmp/diff_new_pack.A9x89v/_old  2020-10-15 13:51:03.137315731 +0200
+++ /var/tmp/diff_new_pack.A9x89v/_new  2020-10-15 13:51:03.141315732 +0200
@@ -40,6 +40,8 @@
 Patch0:         julia-env-script-interpreter.patch
 # PATCH-FIX-UPSTREAM llvm-8.0.1-gcc-10.patch [email protected] -- Fix LLVM 
8.0.1 build using GCC 10 - https://reviews.llvm.org/D64937.
 Patch1:         llvm-8.0.1-gcc-10.patch
+# PATCH-FIX-UPSTREAM - 
https://github.com/JuliaLang/julia/commit/15dee645cdddda022de8960c91141109c41a66b4
+Patch2:         julia-fix-aarch64.patch
 BuildRequires:  arpack-ng-devel >= 3.3.0
 BuildRequires:  blas-devel
 BuildRequires:  cmake
@@ -171,6 +173,7 @@
 %prep
 %setup -q -n julia-%{version}
 %patch0 -p1
+%patch2 -p1
 
 # Extract LLVM sources to apply the patch.
 make CFLAGS="%optflags" CXXFLAGS="%optflags" %{juliabuildopts} -C deps 
extract-llvm
@@ -218,7 +221,11 @@
 %endif
 
 %define julia_builddir %{_builddir}/%{name}/
-make %{?_smp_mflags} MARCH=%{julia_march} \
+make %{?_smp_mflags} \
+                     MARCH=%{julia_march} \
+%ifarch aarch64
+                     JULIA_CPU_TARGET="generic" \
+%endif
                      prefix=%{_prefix} \
                      bindir=%{_bindir} \
                      libdir=%{_libdir} \
@@ -236,6 +243,9 @@
 %install
 make install DESTDIR=%{buildroot} \
              MARCH=%{julia_march} \
+%ifarch aarch64
+             JULIA_CPU_TARGET="generic" \
+%endif
              prefix=%{_prefix} \
              bindir=%{_bindir} \
              libdir=%{_libdir} \

++++++ julia-fix-aarch64.patch ++++++
--- julia-1.4.2/Make.inc.orig   2020-10-08 13:20:01.502690840 +0200
+++ julia-1.4.2/Make.inc        2020-10-08 13:20:11.162783331 +0200
@@ -940,7 +940,7 @@ endif
 # explicitly tell it to use this large page size so that when we rewrite 
rpaths and
 # such, we don't accidentally create incorrectly-aligned sections in our ELF 
files.
 ifneq (,$(filter $(ARCH),aarch64 powerpc64le))
-PATCHELF += --page-size=65536
+PATCHELF += --page-size 65536
 endif
 
 # Use ILP64 BLAS interface when building openblas from source on 64-bit 
architectures

Reply via email to