[arch-commits] Commit in julia/repos/community-x86_64 (6 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Jul 15 19:37:47 UTC 2018
Date: Sunday, July 15, 2018 @ 19:37:47
Author: arodseth
Revision: 359591
archrelease: copy trunk to community-x86_64
Added:
julia/repos/community-x86_64/PKGBUILD
(from rev 359590, julia/trunk/PKGBUILD)
julia/repos/community-x86_64/julia-libunwind-version.patch
(from rev 359590, julia/trunk/julia-libunwind-version.patch)
julia/repos/community-x86_64/julia-makefile.patch
(from rev 359590, julia/trunk/julia-makefile.patch)
Deleted:
julia/repos/community-x86_64/PKGBUILD
julia/repos/community-x86_64/julia-libunwind-version.patch
julia/repos/community-x86_64/julia-makefile.patch
-------------------------------+
PKGBUILD | 272 ++++++++++++++++++++--------------------
julia-libunwind-version.patch | 30 ++--
julia-makefile.patch | 26 +--
3 files changed, 164 insertions(+), 164 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-15 19:37:34 UTC (rev 359590)
+++ PKGBUILD 2018-07-15 19:37:47 UTC (rev 359591)
@@ -1,136 +0,0 @@
-# $Id$
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Michael Jakl <jakl.michael at gmail.com>
-# Contributor: devmotion <nospam-archlinux.org at devmotion.de>
-# Contributor: Valentin Churavy <v.churavy at gmail.com>
-
-pkgbase=julia
-pkgname=(julia julia-docs)
-epoch=2
-pkgver=0.6.3
-pkgrel=2
-arch=('x86_64')
-pkgdesc='High-level, high-performance, dynamic programming language'
-url='https://julialang.org/'
-license=('MIT')
-depends=('fftw' 'hicolor-icon-theme' 'libgit2' 'libunwind' 'libutf8proc>=2' 'mpfr' 'pcre2' 'suitesparse')
-makedepends=('chrpath' 'cmake' 'gcc-fortran' 'gmp' 'gtk-update-icon-cache' 'python2')
-options=('!emptydirs' 'staticlibs')
-source=("https://github.com/JuliaLang/$pkgbase/releases/download/v$pkgver/$pkgbase-$pkgver-full.tar.gz"{,.asc}
- 'julia-libunwind-version.patch'
- 'julia-makefile.patch')
-sha256sums=('2b5b0d84e49ca88fdec6d54a64eba4ce77f5c5cb8f34d307f3ba0ec04a89913a'
- 'SKIP'
- '16009ce454f58463464027cbaf6186ccfab84c37660a52fb1ec3a0f514df64f9'
- '342b43532fbace3508688eee879113160e01cbbda29610b53f2f34796bc0312a')
-validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) <buildbot at julialang.org>
-
-prepare() {
- cd "$pkgbase"
- patch -p1 -i ../julia-libunwind-version.patch
- patch -p0 -i ../julia-makefile.patch # make 'make install' really just install
-}
-
-build() {
- #
- # See FS#57387 for why USE_SYSTEM_LLVM=0 is used, for now
- # See FS#58221 for why USE_SYSTEM_ARPACK=0 is used, for now
- #
- # patchelf is not even used unless $(private_libdir_rel) != $(build_private_libdir_rel)
- # but we USE_SYSTEM_PATCHELF=1 to prevent building it. This is why it is not in makedepends.
- #
- export CFLAGS="$CFLAGS -w"
- export CXXFLAGS="$CXXFLAGS -w"
- make -C "$pkgbase" \
- prefix=/usr \
- sysconfdir=/etc \
- MARCH=x86-64 \
- JULIA_BUILD_MODE=release \
- USE_BLAS64=0 \
- USE_INTEL_MKL=0 \
- USE_LLVM_SHLIB=1 \
- USE_SYSTEM_ARPACK=0 \
- USE_SYSTEM_BLAS=0 \
- USE_SYSTEM_DSFMT=0 \
- USE_SYSTEM_FFTW=1 \
- USE_SYSTEM_GMP=1 \
- USE_SYSTEM_LAPACK=0 \
- USE_SYSTEM_LIBGIT2=1 \
- USE_SYSTEM_LIBM=1 \
- USE_SYSTEM_LIBUNWIND=1 \
- USE_SYSTEM_LIBUV=0 \
- USE_SYSTEM_LLVM=0 \
- USE_SYSTEM_MPFR=1 \
- USE_SYSTEM_OPENLIBM=0 \
- USE_SYSTEM_OPENSPECFUN=0 \
- USE_SYSTEM_PATCHELF=1 \
- USE_SYSTEM_PCRE=1 \
- USE_SYSTEM_SUITESPARSE=1 \
- USE_SYSTEM_UTF8PROC=1
-}
-
-package_julia() {
- backup=('etc/julia/juliarc.jl')
- optdepends=('gnuplot: If using the Gaston Package from julia')
-
- export CFLAGS="$CFLAGS -w"
- export CXXFLAGS="$CXXFLAGS -w"
- make -C "$pkgbase" \
- DESTDIR="$pkgdir" \
- prefix=/usr \
- sysconfdir=/etc \
- MARCH=x86-64 \
- USE_BLAS64=0 \
- USE_INTEL_MKL=0 \
- USE_LLVM_SHLIB=1 \
- USE_SYSTEM_ARPACK=0 \
- USE_SYSTEM_BLAS=0 \
- USE_SYSTEM_DSFMT=0 \
- USE_SYSTEM_FFTW=1 \
- USE_SYSTEM_GMP=1 \
- USE_SYSTEM_LAPACK=0 \
- USE_SYSTEM_LIBGIT2=1 \
- USE_SYSTEM_LIBM=1 \
- USE_SYSTEM_LIBUNWIND=1 \
- USE_SYSTEM_LIBUV=0 \
- USE_SYSTEM_LLVM=0 \
- USE_SYSTEM_MPFR=1 \
- USE_SYSTEM_OPENLIBM=0 \
- USE_SYSTEM_OPENSPECFUN=0 \
- USE_SYSTEM_PATCHELF=1 \
- USE_SYSTEM_PCRE=1 \
- USE_SYSTEM_SUITESPARSE=1 \
- USE_SYSTEM_UTF8PROC=1 \
- install
-
- # Remove duplicate man-page from julia/doc
- rm -rf "$pkgdir/usr/share/julia/doc/man"
-
- # FS#58211 && https://github.com/JuliaLang/julia/issues/26830
- chrpath -r '$ORIGIN/julia' "$pkgdir/usr/lib/libjulia.so.$pkgver"
- # points to /usr/lib
- chrpath -d "$pkgdir/usr/bin/julia"
-
- # Documentation and examples are in the julia-docs package
- rm -rf "$pkgdir/usr/share/"{doc,julia/doc,julia/examples}
-
- # License
- install -Dm644 "$pkgbase/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
-}
-
-package_julia-docs() {
- pkgdesc='Documentation and examples for Julia'
- depends=('julia')
-
- cd "$pkgbase"
-
- install -d "$pkgdir/usr/share/doc"
- cp -r doc "$pkgdir/usr/share/doc/$pkgbase"
- rm -rf "$pkgdir"/usr/share/doc/julia/man/
- cp -r examples "$pkgdir/usr/share/doc/$pkgbase/examples"
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
-}
-
-# getver: julialang.org/downloads
-# vim: ts=2 sw=2 et:
Copied: julia/repos/community-x86_64/PKGBUILD (from rev 359590, julia/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-15 19:37:47 UTC (rev 359591)
@@ -0,0 +1,136 @@
+# $Id$
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Michael Jakl <jakl.michael at gmail.com>
+# Contributor: devmotion <nospam-archlinux.org at devmotion.de>
+# Contributor: Valentin Churavy <v.churavy at gmail.com>
+
+pkgbase=julia
+pkgname=(julia julia-docs)
+epoch=2
+pkgver=0.6.4
+pkgrel=1
+arch=('x86_64')
+pkgdesc='High-level, high-performance, dynamic programming language'
+url='https://julialang.org/'
+license=('MIT')
+depends=('fftw' 'hicolor-icon-theme' 'libgit2' 'libunwind' 'libutf8proc>=2' 'mpfr' 'pcre2' 'suitesparse')
+makedepends=('chrpath' 'cmake' 'gcc-fortran' 'gmp' 'gtk-update-icon-cache' 'python2')
+options=('!emptydirs' 'staticlibs')
+source=("https://github.com/JuliaLang/$pkgbase/releases/download/v$pkgver/$pkgbase-$pkgver-full.tar.gz"{,.asc}
+ 'julia-libunwind-version.patch'
+ 'julia-makefile.patch')
+sha256sums=('2b2f5543ad4206eb40c7b850cdfc5a812c6df0b2b5bcf6a3206c0e446d988f1b'
+ 'SKIP'
+ '16009ce454f58463464027cbaf6186ccfab84c37660a52fb1ec3a0f514df64f9'
+ '342b43532fbace3508688eee879113160e01cbbda29610b53f2f34796bc0312a')
+validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) <buildbot at julialang.org>
+
+prepare() {
+ cd "$pkgbase"
+ patch -p1 -i ../julia-libunwind-version.patch
+ patch -p0 -i ../julia-makefile.patch # make 'make install' really just install
+}
+
+build() {
+ #
+ # See FS#57387 for why USE_SYSTEM_LLVM=0 is used, for now
+ # See FS#58221 for why USE_SYSTEM_ARPACK=0 is used, for now
+ #
+ # patchelf is not even used unless $(private_libdir_rel) != $(build_private_libdir_rel)
+ # but we USE_SYSTEM_PATCHELF=1 to prevent building it. This is why it is not in makedepends.
+ #
+ export CFLAGS="$CFLAGS -w"
+ export CXXFLAGS="$CXXFLAGS -w"
+ make -C "$pkgbase" \
+ prefix=/usr \
+ sysconfdir=/etc \
+ MARCH=x86-64 \
+ JULIA_BUILD_MODE=release \
+ USE_BLAS64=0 \
+ USE_INTEL_MKL=0 \
+ USE_LLVM_SHLIB=1 \
+ USE_SYSTEM_ARPACK=0 \
+ USE_SYSTEM_BLAS=0 \
+ USE_SYSTEM_DSFMT=0 \
+ USE_SYSTEM_FFTW=1 \
+ USE_SYSTEM_GMP=1 \
+ USE_SYSTEM_LAPACK=0 \
+ USE_SYSTEM_LIBGIT2=1 \
+ USE_SYSTEM_LIBM=1 \
+ USE_SYSTEM_LIBUNWIND=1 \
+ USE_SYSTEM_LIBUV=0 \
+ USE_SYSTEM_LLVM=0 \
+ USE_SYSTEM_MPFR=1 \
+ USE_SYSTEM_OPENLIBM=0 \
+ USE_SYSTEM_OPENSPECFUN=0 \
+ USE_SYSTEM_PATCHELF=1 \
+ USE_SYSTEM_PCRE=1 \
+ USE_SYSTEM_SUITESPARSE=1 \
+ USE_SYSTEM_UTF8PROC=1
+}
+
+package_julia() {
+ backup=('etc/julia/juliarc.jl')
+ optdepends=('gnuplot: If using the Gaston Package from julia')
+
+ export CFLAGS="$CFLAGS -w"
+ export CXXFLAGS="$CXXFLAGS -w"
+ make -C "$pkgbase" \
+ DESTDIR="$pkgdir" \
+ prefix=/usr \
+ sysconfdir=/etc \
+ MARCH=x86-64 \
+ USE_BLAS64=0 \
+ USE_INTEL_MKL=0 \
+ USE_LLVM_SHLIB=1 \
+ USE_SYSTEM_ARPACK=0 \
+ USE_SYSTEM_BLAS=0 \
+ USE_SYSTEM_DSFMT=0 \
+ USE_SYSTEM_FFTW=1 \
+ USE_SYSTEM_GMP=1 \
+ USE_SYSTEM_LAPACK=0 \
+ USE_SYSTEM_LIBGIT2=1 \
+ USE_SYSTEM_LIBM=1 \
+ USE_SYSTEM_LIBUNWIND=1 \
+ USE_SYSTEM_LIBUV=0 \
+ USE_SYSTEM_LLVM=0 \
+ USE_SYSTEM_MPFR=1 \
+ USE_SYSTEM_OPENLIBM=0 \
+ USE_SYSTEM_OPENSPECFUN=0 \
+ USE_SYSTEM_PATCHELF=1 \
+ USE_SYSTEM_PCRE=1 \
+ USE_SYSTEM_SUITESPARSE=1 \
+ USE_SYSTEM_UTF8PROC=1 \
+ install
+
+ # Remove duplicate man-page from julia/doc
+ rm -rf "$pkgdir/usr/share/julia/doc/man"
+
+ # FS#58211 && https://github.com/JuliaLang/julia/issues/26830
+ chrpath -r '$ORIGIN/julia' "$pkgdir/usr/lib/libjulia.so.$pkgver"
+ # points to /usr/lib
+ chrpath -d "$pkgdir/usr/bin/julia"
+
+ # Documentation and examples are in the julia-docs package
+ rm -rf "$pkgdir/usr/share/"{doc,julia/doc,julia/examples}
+
+ # License
+ install -Dm644 "$pkgbase/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}
+
+package_julia-docs() {
+ pkgdesc='Documentation and examples for Julia'
+ depends=('julia')
+
+ cd "$pkgbase"
+
+ install -d "$pkgdir/usr/share/doc"
+ cp -r doc "$pkgdir/usr/share/doc/$pkgbase"
+ rm -rf "$pkgdir"/usr/share/doc/julia/man/
+ cp -r examples "$pkgdir/usr/share/doc/$pkgbase/examples"
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}
+
+# getver: julialang.org/downloads
+# vim: ts=2 sw=2 et:
Deleted: julia-libunwind-version.patch
===================================================================
--- julia-libunwind-version.patch 2018-07-15 19:37:34 UTC (rev 359590)
+++ julia-libunwind-version.patch 2018-07-15 19:37:47 UTC (rev 359591)
@@ -1,15 +0,0 @@
---- julia-0.6.0/src/julia_internal.h.0 2017-06-25 16:10:29.688382943 +0000
-+++ julia-0.6.0/src/julia_internal.h 2017-06-25 16:11:15.328315342 +0000
-@@ -643,11 +643,8 @@
- typedef unw_context_t bt_context_t;
- typedef unw_cursor_t bt_cursor_t;
--# if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 || \
-- (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
- // Enable our memory manager only for libunwind with our patch or
- // on a newer release
- # define JL_UNW_HAS_FORMAT_IP 1
--# endif
- #endif
- size_t rec_backtrace(uintptr_t *data, size_t maxsize);
- size_t rec_backtrace_ctx(uintptr_t *data, size_t maxsize, bt_context_t *ctx);
-
Copied: julia/repos/community-x86_64/julia-libunwind-version.patch (from rev 359590, julia/trunk/julia-libunwind-version.patch)
===================================================================
--- julia-libunwind-version.patch (rev 0)
+++ julia-libunwind-version.patch 2018-07-15 19:37:47 UTC (rev 359591)
@@ -0,0 +1,15 @@
+--- julia-0.6.0/src/julia_internal.h.0 2017-06-25 16:10:29.688382943 +0000
++++ julia-0.6.0/src/julia_internal.h 2017-06-25 16:11:15.328315342 +0000
+@@ -643,11 +643,8 @@
+ typedef unw_context_t bt_context_t;
+ typedef unw_cursor_t bt_cursor_t;
+-# if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 || \
+- (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
+ // Enable our memory manager only for libunwind with our patch or
+ // on a newer release
+ # define JL_UNW_HAS_FORMAT_IP 1
+-# endif
+ #endif
+ size_t rec_backtrace(uintptr_t *data, size_t maxsize);
+ size_t rec_backtrace_ctx(uintptr_t *data, size_t maxsize, bt_context_t *ctx);
+
Deleted: julia-makefile.patch
===================================================================
--- julia-makefile.patch 2018-07-15 19:37:34 UTC (rev 359590)
+++ julia-makefile.patch 2018-07-15 19:37:47 UTC (rev 359591)
@@ -1,13 +0,0 @@
---- Makefile.orig 2017-10-28 17:06:53.003582943 +0000
-+++ Makefile 2017-10-28 17:07:27.690408154 +0000
-@@ -332,8 +332,7 @@
- $(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)"
- endef
-
--install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html
-- @$(MAKE) $(QUIET_MAKE) all
-+install:
- @for subdir in $(bindir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \
- mkdir -p $(DESTDIR)$$subdir; \
- done
-
Copied: julia/repos/community-x86_64/julia-makefile.patch (from rev 359590, julia/trunk/julia-makefile.patch)
===================================================================
--- julia-makefile.patch (rev 0)
+++ julia-makefile.patch 2018-07-15 19:37:47 UTC (rev 359591)
@@ -0,0 +1,13 @@
+--- Makefile.orig 2017-10-28 17:06:53.003582943 +0000
++++ Makefile 2017-10-28 17:07:27.690408154 +0000
+@@ -332,8 +332,7 @@
+ $(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)"
+ endef
+
+-install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html
+- @$(MAKE) $(QUIET_MAKE) all
++install:
+ @for subdir in $(bindir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \
+ mkdir -p $(DESTDIR)$$subdir; \
+ done
+
More information about the arch-commits
mailing list