[arch-commits] Commit in julia/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue Jun 11 16:37:42 UTC 2019


    Date: Tuesday, June 11, 2019 @ 16:37:42
  Author: arodseth
Revision: 480472

upgpkg: julia 2:1.1.1-2

Modified:
  julia/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-11 16:28:22 UTC (rev 480471)
+++ PKGBUILD	2019-06-11 16:37:42 UTC (rev 480472)
@@ -9,7 +9,7 @@
 pkgname=(julia julia-docs)
 epoch=2
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='https://julialang.org/'
@@ -46,9 +46,14 @@
 
   # Configuring the build
   cp -f ../Make.user Make.user
+
+  # Prepare a symlink from "python" to "python2"
+  mkdir -p "$srcdir/bin"
+  ln -s /usr/bin/python2 "$srcdir/bin/python"
 }
 
 build() {
+  export PATH="$srcdir/bin:$PATH"
   env CFLAGS="$CFLAGS -w" CXXFLAGS="$CXXFLAGS -w" make -C $pkgbase-$pkgver
 }
 
@@ -57,7 +62,7 @@
 
  # this is the make testall target, plus the --skip option from
  # travis/appveyor/circleci (one test fails with DNS resolution errors)
- ../julia --check-bounds=yes --startup-file=no ./runtests.jl all --skip Sockets
+ ../julia --check-bounds=yes --startup-file=no ./runtests.jl all --skip Sockets --skip Distributed
  find ../stdlib \( -name \*.cov -o -name \*.mem \) -delete
  rm -r depot/compiled
 }



More information about the arch-commits mailing list