[arch-commits] Commit in julia/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Mar 25 20:32:17 UTC 2021
Date: Thursday, March 25, 2021 @ 20:32:17
Author: arojas
Revision: 903458
Use system gcc-libs
Modified:
julia/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-25 20:30:32 UTC (rev 903457)
+++ PKGBUILD 2021-03-25 20:32:17 UTC (rev 903458)
@@ -9,7 +9,7 @@
pkgname=(julia julia-docs)
epoch=2
pkgver=1.6.0
-pkgrel=1
+pkgrel=2
arch=(x86_64)
pkgdesc='High-level, high-performance, dynamic programming language'
url='https://julialang.org/'
@@ -33,6 +33,7 @@
cd $pkgbase-$pkgver
patch -p1 -i ../julia-system-cblas.patch # Add and use option to build with system cblas
+ mkdir -p usr/lib && ln -s /usr/lib/libgcc_s.so.1 usr/lib # Workaround build failure with system gcc-libs
# Don't build again in install
patch -p1 -i ../make-install-no-build.patch
@@ -45,6 +46,7 @@
bindir=/usr/bin \
sysconfdir=/etc \
libexecdir=/usr/lib \
+ USE_SYSTEM_CSL=1 \
USE_SYSTEM_LLVM=1 \
USE_SYSTEM_LIBUNWIND=1 \
USE_SYSTEM_PCRE=1 \
@@ -99,6 +101,7 @@
optdepends=('gnuplot: If using the Gaston Package from julia')
make -C $pkgbase-$pkgver DESTDIR="$pkgdir" install $_buildopts
+ ln -s /usr/lib/libgcc_s.so.1 "$pkgdir"/usr/lib/julia
# Documentation is in the julia-docs package.
# Man pages in /usr/share/julia/doc/man are duplicate.
More information about the arch-commits
mailing list