[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2022-12-10 Thread Maciej Barć
commit: 9e99593d9ed97b4abecc0a9b2e78f6c3a4d5046d
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Dec 10 19:15:10 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Dec 10 19:30:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e99593d

dev-lang/julia: bump to 1.8.3

Uses a patch from: https://github.com/JuliaLang/julia/pull/47862

Bug: https://bugs.gentoo.org/876184
Bug: https://github.com/JuliaLang/julia/pull/47862
Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/julia/Manifest|   1 +
 .../julia/files/julia-1.8.0-llvm-no-bindings.patch |  11 ++
 dev-lang/julia/julia-1.8.3.ebuild  | 178 +
 3 files changed, 190 insertions(+)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 418faba58f13..187da4b35048 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -6,3 +6,4 @@ DIST julia-1.8.0-julia-llvm-14.patch 882 BLAKE2B 
f46f02554a6fc997763d368b813298d
 DIST julia-1.8.0-julia-system-cblas.patch 4078 BLAKE2B 
58aac552ea63859a03fe24fed69c02f9968aa7924abe2ffdf9e33e965d64877206216f1604f28fc67739cada4b5ce7b508feaad18080e3a5e78d89447d0f2a05
 SHA512 
d4b437da35672aa0b9f371da66a8675ca5be28276886edafb3566c3ea0d0ed8ed2bac192b43a0d292ee4f2754b596b7b79de76f136cfcada9916ff94a544b372
 DIST julia-1.8.0-make-install-no-build.patch 555 BLAKE2B 
36a86c3dd281a85f1b1fd68ac9796e70b06bb6afe3140fed97b5c7cd4b24987dc75709c4b1b192d5663c4d704cfb9818ec8d895c293b9b0bd741a3a61c860e47
 SHA512 
97687d24a3aa0a39994a691026981a91496cd2a82112e9acf9a8edd0f7c2a50d946944e8af495a3b1703f397c7a0e620be76dc28f3bbe14357ee8c4a68a5a3bc
 DIST julia-1.8.2-full.tar.gz 275255487 BLAKE2B 
dd4cb035c3ec3b37fd08215baa76764c2a447ec50f0afbec5e6c02b047e62188015ba1492704fbc31081465f3837d6b8e02b31cfe10239ddd31e80e4bd7121e8
 SHA512 
0660911bbd9b0e0df9e6c2af851e7119b6067b08c845422e44101b9a92a1cbc069e52838f503b06f64db5b282cde1b533aafd9c6f47d349ae7d2beb48cf7d7a6
+DIST julia-1.8.3-full.tar.gz 275266765 BLAKE2B 
2cd54e33cea5d53a93e8ec9c1cd44df4e63a132f2d7a7dca363c6067e1eb5f245a6f65c79bbb29ec641c597ed33fc9376847803b8dd5bc18c537e48d07bcee04
 SHA512 
0e62d293626c83ff258a3d66aa1e86f9cab114edb8a21ebaad3990332894fbdfd96c23f907debbfd0af9f9f09c0a95a36a3c617784d5eb541b68ed7558630d86

diff --git a/dev-lang/julia/files/julia-1.8.0-llvm-no-bindings.patch 
b/dev-lang/julia/files/julia-1.8.0-llvm-no-bindings.patch
new file mode 100644
index ..d5511dee0d91
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.8.0-llvm-no-bindings.patch
@@ -0,0 +1,11 @@
+--- a/deps/llvm.mk
 b/deps/llvm.mk
+@@ -94,7 +94,7 @@ endif
+ LLVM_CMAKE += -DLLVM_TOOLS_INSTALL_DIR=$(call 
rel_path,$(build_prefix),$(build_depsbindir))
+ LLVM_CMAKE += -DLLVM_UTILS_INSTALL_DIR=$(call 
rel_path,$(build_prefix),$(build_depsbindir))
+ LLVM_CMAKE += -DLLVM_INCLUDE_UTILS=ON -DLLVM_INSTALL_UTILS=ON
+-LLVM_CMAKE += -DLLVM_BINDINGS_LIST="" -DLLVM_INCLUDE_DOCS=Off 
-DLLVM_ENABLE_TERMINFO=Off -DHAVE_HISTEDIT_H=Off -DHAVE_LIBEDIT=Off
++LLVM_CMAKE += -DLLVM_BINDINGS_LIST="" -DLLVM_ENABLE_BINDINGS=OFF 
-DLLVM_INCLUDE_DOCS=Off -DLLVM_ENABLE_TERMINFO=Off -DHAVE_HISTEDIT_H=Off 
-DHAVE_LIBEDIT=Off
+ ifeq ($(LLVM_ASSERTIONS), 1)
+ LLVM_CMAKE += -DLLVM_ENABLE_ASSERTIONS:BOOL=ON
+ endif # LLVM_ASSERTIONS

diff --git a/dev-lang/julia/julia-1.8.3.ebuild 
b/dev-lang/julia/julia-1.8.3.ebuild
new file mode 100644
index ..e5e15591b401
--- /dev/null
+++ b/dev-lang/julia/julia-1.8.3.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# correct versions for stdlibs are in deps/checksums
+# for everything else, run with network-sandbox and wait for the crash
+
+EAPI=8
+
+# 1.8.2 still sits on LLVM 13, bug: https://bugs.gentoo.org/876184
+MY_LLVM_V=13.0.1
+
+inherit flag-o-matic pax-utils toolchain-funcs optfeature
+
+DESCRIPTION="High-performance programming language for technical computing"
+HOMEPAGE="https://julialang.org/
+   https://github.com/JuliaLang/julia/";
+SRC_URI="https://github.com/JuliaLang/julia/releases/download/v${PV}/${P}-full.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   app-arch/p7zip
+   dev-libs/gmp:0=
+   dev-libs/libgit2:0
+   >=dev-libs/libpcre2-10.23:0=[jit,unicode]
+   dev-libs/mpfr:0=
+   >=dev-libs/libutf8proc-2.6.1:0=[-cjk]
+   >=dev-util/patchelf-0.13
+   >=net-libs/mbedtls-2.2
+   net-misc/curl[http2,ssh]
+   sci-libs/amd:0=
+   sci-libs/arpack:0=
+   sci-libs/camd:0=
+   sci-libs/ccolamd:0=
+   sci-libs/cholmod:0=
+   sci-libs/colamd:0=
+   sci-libs/fftw:3.0=[threads]
+   sci-libs/openlibm:0=
+   sci-libs/spqr:0=
+   sci-libs/umfpack:0=
+   >=sci-mathematics/dsfmt-2.2.4
+   >=sys-libs/libunwind-1.1:0=
+   sys-libs/zlib:0=
+   >=virtual/blas-3.6
+   virtual/lapack
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-util/cmake
+   virtual/

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2022-03-17 Thread Maciej Barć
commit: 0dbb267d2261560fd6eadad052b4c7020d28ccb5
Author: Maciej Barć  gentoo  org>
AuthorDate: Thu Mar 17 08:35:57 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Mar 17 09:06:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbb267d

dev-lang/julia: fix build with libgit >=1.4.0

Another patch from Arch fixing libgit2 interface

Closes: https://bugs.gentoo.org/834152
Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch  | 43 ++
 .../{julia-1.6.5.ebuild => julia-1.6.5-r1.ebuild}  |  1 +
 ...julia-1.7.1-r2.ebuild => julia-1.7.1-r3.ebuild} |  1 +
 3 files changed, 45 insertions(+)

diff --git a/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch 
b/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch
new file mode 100644
index ..fe753c0cd0e4
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch
@@ -0,0 +1,43 @@
+This patch comes from:
+  
https://github.com/archlinux/svntogit-community/blob/packages/julia/trunk/julia-libgit-1.4.patch
+
+diff --git a/stdlib/LibGit2/src/consts.jl b/stdlib/LibGit2/src/consts.jl
+index 2bc9edaf89..55887ebe2a 100644
+--- a/stdlib/LibGit2/src/consts.jl
 b/stdlib/LibGit2/src/consts.jl
+@@ -247,6 +247,11 @@ const RESET_HARD  = Cint(3) # MIXED plus changes in 
working tree discarded
+ REBASE_OPERATION_FIXUP  = Cint(4),
+ REBASE_OPERATION_EXEC   = Cint(5))
+ 
++# git_remote_redirect_t
++const GIT_REMOTE_REDIRECT_NONE= Cint(0)
++const GIT_REMOTE_REDIRECT_INITIAL = Cint(1)
++const GIT_REMOTE_REDIRECT_ALL = Cint(2)
++
+ # fetch_prune
+ const FETCH_PRUNE_UNSPECIFIED = Cint(0)
+ const FETCH_PRUNE = Cint(1)
+diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl
+index 9ffcaa3646..98d938df65 100644
+--- a/stdlib/LibGit2/src/types.jl
 b/stdlib/LibGit2/src/types.jl
+@@ -343,6 +343,9 @@ The fields represent:
+ @static if LibGit2.VERSION >= v"0.25.0"
+ proxy_opts::ProxyOptions   = ProxyOptions()
+ end
++@static if LibGit2.VERSION >= v"1.4.0"
++follow_redirects::Cint = Consts.GIT_REMOTE_REDIRECT_INITIAL
++end
+ @static if LibGit2.VERSION >= v"0.24.0"
+ custom_headers::StrArrayStruct = StrArrayStruct()
+ end
+@@ -674,6 +677,9 @@ The fields represent:
+ @static if LibGit2.VERSION >= v"0.25.0"
+ proxy_opts::ProxyOptions   = ProxyOptions()
+ end
++@static if LibGit2.VERSION >= v"1.4.0"
++follow_redirects::Cint = Consts.GIT_REMOTE_REDIRECT_INITIAL
++end
+ @static if LibGit2.VERSION >= v"0.24.0"
+ custom_headers::StrArrayStruct = StrArrayStruct()
+ end

diff --git a/dev-lang/julia/julia-1.6.5.ebuild 
b/dev-lang/julia/julia-1.6.5-r1.ebuild
similarity index 99%
rename from dev-lang/julia/julia-1.6.5.ebuild
rename to dev-lang/julia/julia-1.6.5-r1.ebuild
index 534e938e4e3d..0a4e571a1ed9 100644
--- a/dev-lang/julia/julia-1.6.5.ebuild
+++ b/dev-lang/julia/julia-1.6.5-r1.ebuild
@@ -69,6 +69,7 @@ PATCHES=(
"${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_3.patch
"${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_4.patch
"${FILESDIR}/${PN}"-1.6.5-libgit-1.2.patch
+   "${FILESDIR}/${PN}"-1.6.5-libgit-1.4.patch
"${FILESDIR}/${PN}"-1.6.5-make-install-no-build.patch
"${FILESDIR}/${PN}"-1.6.5-hardcoded-libs.patch
"${FILESDIR}/${PN}"-1.6.5-do_not_set_rpath.patch

diff --git a/dev-lang/julia/julia-1.7.1-r2.ebuild 
b/dev-lang/julia/julia-1.7.1-r3.ebuild
similarity index 99%
rename from dev-lang/julia/julia-1.7.1-r2.ebuild
rename to dev-lang/julia/julia-1.7.1-r3.ebuild
index 58f9de7db701..3f40656536fb 100644
--- a/dev-lang/julia/julia-1.7.1-r2.ebuild
+++ b/dev-lang/julia/julia-1.7.1-r3.ebuild
@@ -68,6 +68,7 @@ PATCHES=(
"${DISTDIR}/${PN}"-1.7.1-llvm_13_compat_part_4.patch
"${DISTDIR}/${PN}"-1.7.1-llvm_13_compat_part_5.patch
"${FILESDIR}/${PN}"-1.6.5-libgit-1.2.patch
+   "${FILESDIR}/${PN}"-1.6.5-libgit-1.4.patch
"${FILESDIR}/${PN}"-1.6.5-make-install-no-build.patch
"${FILESDIR}/${PN}"-1.7.1-hardcoded-libs.patch
"${FILESDIR}/${PN}"-1.7.1-do_not_set_rpath.patch



[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2022-01-03 Thread Matthias Maier
commit: a7d6cd18bbe50650f8afddb5948c11c149679403
Author: Janusz Andrzejewski  gmail  com>
AuthorDate: Sat Dec 25 20:00:00 2021 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Jan  3 21:37:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d6cd18

dev-lang/julia: version bump to 1.7.0

The ebuild for julia 1.7.0 with patches:
 - llvm 13 compatibility
 - libgit1.2 compatibility
 - avoid hardcoded libraries
 - do not build the library a second time
 - do not set rpaths

Some patches come from Arch Linux.

[Matthias Maier]
 - renamed patches
 - misc cleanup

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Janusz Andrzejewski  gmail.com>
Signed-off-by: Matthias Maier  gentoo.org>

 dev-lang/julia/Manifest|   1 +
 .../julia/files/julia-1.7.0-do_not_set_rpath.patch |  29 ++
 .../julia/files/julia-1.7.0-hardcoded-libs.patch   |  72 
 dev-lang/julia/files/julia-1.7.0-libgit-1.2.patch  |  17 +
 .../files/julia-1.7.0-llvm_13_compat_part_1.patch  | 172 ++
 .../files/julia-1.7.0-llvm_13_compat_part_2.patch  |  80 +
 .../files/julia-1.7.0-llvm_13_compat_part_3.patch  | 375 +
 .../files/julia-1.7.0-make-install-no-build.patch  |  17 +
 dev-lang/julia/julia-1.7.0.ebuild  | 179 ++
 9 files changed, 942 insertions(+)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index b8aa8b1d3b74..35b63a65c103 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,6 +1,7 @@
 DIST julia-1.5.3.tar.gz 6949901 BLAKE2B 
08f8496980a9bbb9effc0c72cb6b7a5ce1dbd1774735caa366ddc1bb5404117111c624a639f6eb48360061f9fc597a7b37dff24f8555f03ebc4a22524cbeb3b8
 SHA512 
9e644a64fd6e2caf0390a2bc470084406c078244e65b70a2e3b031d5806c1dff780273fe4bccfd8c03778b7d3a44de7a84bd13f3512afe6864efa5a730fc
 DIST julia-1.6.0.tar.gz 7711314 BLAKE2B 
135862347a7f3a954acb8d8e17350fbdda84b4813d8498b862e107836a0d29d6e70a26c39c0c29655e6348a5a3afd5b4d7e9824cb88c9e8d31c4515468f46d5b
 SHA512 
41dea60c08882a8f8f9024eb2285c30dbbc68e2256ed6afd5bf956a1828239128b2f39b4ce733a438eafe3b2324ff06dec5c1eb7c9b0f838b2daa972f587d909
 DIST julia-1.6.3.tar.gz 7734900 BLAKE2B 
679851ee159ac83f49e54f1d71068d4abde919a0da39475dccaecc97e705b87db70c38a55fbc7a0cfacc774291013b189fb516817d6c6e67ca5ccfbb515c3f90
 SHA512 
a622fddc9e9f3f47037053a1e722153a567c065723f99a97912f8c5a6c2a22c3be0be674325361dd1b04601bbe6c6f204c66004ce887f3f7822e8204fd6855de
+DIST julia-1.7.0-full.tar.gz 255670801 BLAKE2B 
e7c5be50ab9e7014f028cf7d0530b269e78dd798dc3d4a88af2ed9fa1331694e39fbcae26d2cae6f15aaf1087656384c9872f344f99121406abdf2902a200176
 SHA512 
00e1bfe354010f5d900476e46b471c4425b711fff5a2aa0ac9e5dbe6ff02245011d4297e4703f2d46f7d4e7b6d97ffaf1bc63170edbfec440196c5ec75c984ce
 DIST julia-Pkg-49908bffe83790bc7cf3c5d46faf3667f8902ad4.tar.gz 389738 BLAKE2B 
1ed9201badf0a1db5142e0566bfe085b364e4681670937ac5fa53c15312ff8eb29d5e783b75fe3f4f379b041ba38c66ce94962fa7d98fcfd0b7b49acd1749d69
 SHA512 
a85aa80b3080794a8e3ae5ce54856e63457c461659c12fde5dde1b5ec33176ea06af49ee516d01ccd7b78d8358de2fe0ffcd5c6a6d5a5088cdcd76a0133780eb
 DIST julia-UnicodeData-13.0.0.txt 1851767 BLAKE2B 
72bbcf352f2f6a004abb3f351fe5da160e83644feea8de0ca154b5a1aa78f36cb04b252d0c7b64a5eeca388e600b2875bb76bc2746ee799a1a6eff97c1fe8b06
 SHA512 
1a4a662e2ab33469976bf5f91aa6933ed9b73f6d4179a2daffb349e1869d7d6cfa885b164e82d15dcdad7458cd451c81add58d875eb0c70de854589dc97b2055
 DIST julia-dsfmt-2.2.3.tar.gz 291773 BLAKE2B 
6ffae90494d72527920c80fc0fb005da1c7b84f8a03a7ecb0789434c0fff97359e5098e85431896dffccc7d5148c414e847aaba5feef648b8788421a466ff65e
 SHA512 
6d8ddcd01aab3f9039f4f0288a8af53e290cc2f293ed8c4a8c9f3b3f12398e7eedfce8016117b425766ba89c61c86c13b3e420035b5f9bf91315b8b814c03662

diff --git a/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch 
b/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch
new file mode 100644
index ..24f12d261053
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch
@@ -0,0 +1,29 @@
+--- a/Makefile 2021-12-21 09:38:26.782829864 +0100
 b/Makefile 2021-12-21 10:52:40.760565902 +0100
+@@ -336,7 +336,7 @@
+   install_name_tool -add_rpath 
@executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) 
$(DESTDIR)$(bindir)/$$j; \
+   done
+ endif
+-else ifneq (,$(findstring $(OS),Linux FreeBSD))
++else ifneq (,$(findstring $(OS),FreeBSD))
+   for j in $(JL_TARGETS) ; do \
+   $(PATCHELF) --set-rpath 
'$$ORIGIN/$(private_libdir_rel):$$ORIGIN/$(libdir_rel)' 
$(DESTDIR)$(bindir)/$$j; \
+   done
+@@ -357,7 +357,7 @@
+ endif
+   
+   # Set rpath for libjulia-internal, which is moving from `../lib` to 
`../lib/julia`.  We only need to do this for Linux/FreeBSD
+-ifneq (,$(findstring $(OS),Linux FreeBSD))
++ifneq (,$(findstring $(OS),FreeBSD))
+   $(PATCHELF) --set-rpath 
'$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' 
$(DESTDIR)$(private_libdir)/libjulia-internal.

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2021-11-18 Thread Sam James
commit: 1cd3050cc829569909731b3571b30f05fdc21f30
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 05:27:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 05:27:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd3050c

dev-lang/julia: fix build with glibc 2.34

Closes: https://bugs.gentoo.org/824486
Signed-off-by: Sam James  gentoo.org>

 dev-lang/julia/files/julia-1.6.3-glibc-2.34.patch | 32 +++
 dev-lang/julia/julia-1.6.3.ebuild |  1 +
 2 files changed, 33 insertions(+)

diff --git a/dev-lang/julia/files/julia-1.6.3-glibc-2.34.patch 
b/dev-lang/julia/files/julia-1.6.3-glibc-2.34.patch
new file mode 100644
index ..3e3146529aea
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.6.3-glibc-2.34.patch
@@ -0,0 +1,32 @@
+https://github.com/JuliaLang/julia/commit/09a49c6b57fbde109f0f0c2aa9aa05cef2c1dd40
+https://bugs.gentoo.org/824486
+
+From: t-bltg <13423344+t-b...@users.noreply.github.com>
+Date: Thu, 12 Aug 2021 21:36:18 +0200
+Subject: [PATCH] MINSIGSTKSZ is no longer constant in glibc (#41860)
+
+MINSIGSTKSZ is redefined to sysconf(_SC_MINSIGSTKSZ) starting from glibc 2.34
+
+Co-authored-by: t-bltg 
+(cherry picked from commit f19b9a20dde2688c642b7dd709b5d9446e4df2f6)
+--- a/src/task.c
 b/src/task.c
+@@ -29,6 +29,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include "julia.h"
+@@ -75,8 +76,8 @@ static inline void tsan_switch_to_ctx(jl_ucontext_t *ctx) {}
+ 
+ // empirically, jl_finish_task needs about 64k stack space to infer/run
+ // and additionally, gc-stack reserves 64k for the guard pages
+-#if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072
+-#define MINSTKSZ MINSIGSTKSZ
++#if defined(MINSIGSTKSZ)
++#define MINSTKSZ (MINSIGSTKSZ > 131072 ? MINSIGSTKSZ : 131072)
+ #else
+ #define MINSTKSZ 131072
+ #endif

diff --git a/dev-lang/julia/julia-1.6.3.ebuild 
b/dev-lang/julia/julia-1.6.3.ebuild
index 83b3fe9df043..096876a7c5a3 100644
--- a/dev-lang/julia/julia-1.6.3.ebuild
+++ b/dev-lang/julia/julia-1.6.3.ebuild
@@ -67,6 +67,7 @@ PATCHES=(
"${FILESDIR}/${PN}"-1.1.0-fix_llvm_install.patch
"${FILESDIR}/${PN}"-1.4.0-no_symlink_llvm.patch
"${FILESDIR}/${PN}"-1.6.0-fix-hardcoded-libs.patch
+   "${FILESDIR}/${PN}"-1.6.3-glibc-2.34.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2021-11-17 Thread Matthias Maier
commit: 0050cbada802348e25e89441147ed5d385a7
Author: Jeffrey Lin  icurse  nl>
AuthorDate: Thu Jul 15 03:09:54 2021 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Thu Nov 18 06:57:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0050cbad

dev-lang/julia: remove hardcoded lib versions

Closes: https://bugs.gentoo.org/799071
Signed-off-by: Jeffrey Lin  icurse.nl>
Signed-off-by: Matthias Maier  gentoo.org>

 .../files/julia-1.6.0-fix-hardcoded-libs.patch |  43 +
 ...julia-1.6.0-r1.ebuild => julia-1.6.0-r2.ebuild} |   1 +
 dev-lang/julia/julia-1.6.0.ebuild  | 177 -
 dev-lang/julia/julia-1.6.3.ebuild  |   1 +
 4 files changed, 45 insertions(+), 177 deletions(-)

diff --git a/dev-lang/julia/files/julia-1.6.0-fix-hardcoded-libs.patch 
b/dev-lang/julia/files/julia-1.6.0-fix-hardcoded-libs.patch
new file mode 100644
index ..1d184c3dbb54
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.6.0-fix-hardcoded-libs.patch
@@ -0,0 +1,43 @@
+diff --git a/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl 
b/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl
+index a7ca666b23..b84a42f4e7 100644
+--- a/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl
 b/stdlib/MbedTLS_jll/src/MbedTLS_jll.jl
+@@ -31,9 +31,9 @@ elseif Sys.isapple()
+ const libmbedtls = "@rpath/libmbedtls.13.dylib"
+ const libmbedx509 = "@rpath/libmbedx509.1.dylib"
+ else
+-const libmbedcrypto = "libmbedcrypto.so.5"
+-const libmbedtls = "libmbedtls.so.13"
+-const libmbedx509 = "libmbedx509.so.1"
++const libmbedcrypto = "libmbedcrypto.so"
++const libmbedtls = "libmbedtls.so"
++const libmbedx509 = "libmbedx509.so"
+ end
+
+ function __init__()
+diff --git a/stdlib/libLLVM_jll/src/libLLVM_jll.jl 
b/stdlib/libLLVM_jll/src/libLLVM_jll.jl
+index fa45e754e5..b51812e3a8 100644
+--- a/stdlib/libLLVM_jll/src/libLLVM_jll.jl
 b/stdlib/libLLVM_jll/src/libLLVM_jll.jl
+@@ -23,7 +23,7 @@ if Sys.iswindows()
+ elseif Sys.isapple()
+ const libLLVM = "@rpath/libLLVM.dylib"
+ else
+-const libLLVM = "libLLVM-11jl.so"
++const libLLVM = "libLLVM.so"
+ end
+
+ function __init__()
+diff --git a/stdlib/nghttp2_jll/src/nghttp2_jll.jl 
b/stdlib/nghttp2_jll/src/nghttp2_jll.jl
+index 8b98c76ac5..77ad9e3800 100644
+--- a/stdlib/nghttp2_jll/src/nghttp2_jll.jl
 b/stdlib/nghttp2_jll/src/nghttp2_jll.jl
+@@ -22,7 +22,7 @@ if Sys.iswindows()
+ elseif Sys.isapple()
+ const libnghttp2 = "@rpath/libnghttp2.14.dylib"
+ else
+-const libnghttp2 = "libnghttp2.so.14"
++const libnghttp2 = "libnghttp2.so"
+ end
+
+ function __init__()

diff --git a/dev-lang/julia/julia-1.6.0-r1.ebuild 
b/dev-lang/julia/julia-1.6.0-r2.ebuild
similarity index 98%
rename from dev-lang/julia/julia-1.6.0-r1.ebuild
rename to dev-lang/julia/julia-1.6.0-r2.ebuild
index 15b9d0a0324a..2a26d027f3e6 100644
--- a/dev-lang/julia/julia-1.6.0-r1.ebuild
+++ b/dev-lang/julia/julia-1.6.0-r2.ebuild
@@ -67,6 +67,7 @@ PATCHES=(
"${FILESDIR}/${PN}"-1.1.0-fix_llvm_install.patch
"${FILESDIR}/${PN}"-1.4.0-no_symlink_llvm.patch
"${FILESDIR}/${PN}"-1.6.0-fix-system-csl.patch
+   "${FILESDIR}/${PN}"-1.6.0-fix-hardcoded-libs.patch
 )
 
 pkg_setup() {

diff --git a/dev-lang/julia/julia-1.6.0.ebuild 
b/dev-lang/julia/julia-1.6.0.ebuild
deleted file mode 100644
index ae323aa7ab36..
--- a/dev-lang/julia/julia-1.6.0.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit llvm pax-utils toolchain-funcs
-
-# correct versions for stdlibs are in deps/checksums
-# for everything else, run with network-sandbox and wait for the crash
-
-MY_LIBUV_V="fb3e3364c33ae48c827f6b103e05c3f0e78b79a9"
-MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
-MY_LLVM_V="11.0.1"
-
-DESCRIPTION="High-performance programming language for technical computing"
-HOMEPAGE="https://julialang.org/";
-
-SRC_URI="
-   https://github.com/JuliaLang/julia/releases/download/v${PV}/${P}.tar.gz
-   https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> 
${PN}-libuv-${MY_LIBUV_V}.tar.gz
-   https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} 
-> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
-   !system-llvm? ( 
https://github.com/llvm/llvm-project/releases/download/llvmorg-${MY_LLVM_V}/llvm-${MY_LLVM_V}.src.tar.xz
 )
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+system-llvm"
-
-RDEPEND="
-   system-llvm? ( sys-devel/llvm:11=[llvm_targets_NVPTX(-)] )
-"
-LLVM_MAX_SLOT=11
-
-RDEPEND+="
-   app-arch/p7zip
-   dev-libs/gmp:0=
-   dev-libs/libgit2:0
-   >=dev-libs/libpcre2-10.23:0=[jit,unicode]
-   dev-libs/mpfr:0=
-   dev-libs/libutf8proc:0=
-   dev-util/patchelf
-   >=net-libs/mbedtls-2.2
-   net-misc/curl[http2,ssh]
-   sci-libs/amd:0=
-   sci-libs/arpack:0=
-   sci-libs/camd:0=
-   sci-

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2020-04-02 Thread Matthias Maier
commit: 1366cc917b7de5827a411b305827e363bcf95603
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Apr  3 03:16:54 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Apr  3 03:19:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1366cc91

dev-lang/julia: drop live ebuild

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Matthias Maier  gentoo.org>

 .../julia/files/julia--fix_build_system.patch  | 104 
 dev-lang/julia/julia-.ebuild   | 176 -
 2 files changed, 280 deletions(-)

diff --git a/dev-lang/julia/files/julia--fix_build_system.patch 
b/dev-lang/julia/files/julia--fix_build_system.patch
deleted file mode 100644
index 13cc8cb19da..000
--- a/dev-lang/julia/files/julia--fix_build_system.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-diff --git a/Make.inc b/Make.inc
-index e9cb241198..66f3e6afd7 100644
 a/Make.inc
-+++ b/Make.inc
-@@ -185,7 +185,7 @@ USE_GPL_LIBS ?= 1
- # Directories where said libraries get installed to
- prefix ?= $(BUILDROOT)/julia-$(JULIA_COMMIT)
- bindir := $(prefix)/bin
--libdir := $(prefix)/lib
-+libdir := $(prefix)/GENTOOLIBDIR
- libexecdir := $(prefix)/libexec
- datarootdir := $(prefix)/share
- docdir := $(datarootdir)/doc/julia
-@@ -416,7 +416,7 @@ ifneq ($(OS), WINNT)
- JCXXFLAGS += -pedantic
- endif
- DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -ggdb2 -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECLANG),1)
-@@ -427,7 +427,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS := -fasynchronous-unwind-tables
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g
-+SHIPFLAGS := GENTOOCFLAGS
- ifeq ($(OS), Darwin)
- ifeq ($(USE_LIBCPP), 1)
- MACOSX_VERSION_MIN := 10.8
-@@ -456,7 +456,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS :=
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECCACHE), 1)
-diff --git a/base/Makefile b/base/Makefile
-index acdd4bb9f8..4483149b2b 100644
 a/base/Makefile
-+++ b/base/Makefile
-@@ -216,7 +216,6 @@ $(build_private_libdir)/libLLVM.dylib:
-   ln -sf "$$REALPATH" "$@"
- ifneq ($(USE_SYSTEM_LLVM),0)
- ifneq ($(USE_LLVM_SHLIB),0)
--SYMLINK_SYSTEM_LIBRARIES += symlink_libLLVM
- endif
- endif
- 
-diff --git a/doc/Makefile b/doc/Makefile
-index 99e60ee665..2027fb5952 100644
 a/doc/Makefile
-+++ b/doc/Makefile
-@@ -30,7 +30,7 @@ deps: UnicodeData.txt
-   $(JLCHECKSUM) UnicodeData.txt
- 
- clean:
--  -rm -rf _build/* deps/* docbuild.log UnicodeData.txt
-+  @echo "Do not clean doc/_build/html. Just use it..."
- 
- cleanall: clean
- 
-diff --git a/src/Makefile b/src/Makefile
-index e4da8c6357..85a411d9b7 100644
 a/src/Makefile
-+++ b/src/Makefile
-@@ -50,33 +50,7 @@ ifeq ($(USEMSVC), 1)
- SRCS += getopt
- endif
- 
--LLVMLINK :=
--
--ifeq ($(JULIACODEGEN),LLVM)
--SRCS += codegen jitlayers disasm debuginfo llvm-simdloop llvm-ptls 
llvm-muladd \
--  llvm-late-gc-lowering llvm-lower-handlers llvm-gc-invariant-verifier \
--  llvm-propagate-addrspaces llvm-multiversioning llvm-alloc-opt cgmemmgr \
--  llvm-api
--FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --includedir)
--LLVM_LIBS := all
--ifeq ($(USE_POLLY),1)
--LLVMLINK += -lPolly -lPollyISL
--FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --src-root)/tools/polly/include
--FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --obj-root)/tools/polly/include
--FLAGS += -DUSE_POLLY
--ifeq ($(USE_POLLY_OPENMP),1)
--FLAGS += -fopenmp
--endif
--ifeq ($(USE_POLLY_ACC),1)
--LLVMLINK += -lPollyPPCG -lGPURuntime
--FLAGS += -DUSE_POLLY_ACC
--FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --src-root)/tools/polly/tools # 
Required to find GPURuntime/GPUJIT.h
--endif
--endif
--else
--SRCS += anticodegen
--LLVM_LIBS := support
--endif
-+LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) 
--libs) $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) 
--system-libs)
- 
- # headers are used for dependency tracking, while public headers will be part 
of the dist
- UV_HEADERS :=

diff --git a/dev-lang/julia/julia-.ebuild b/dev-lang/julia/julia-.ebuild
deleted file mode 100644
index fc5eddd7e62..000
--- a/dev-lang/julia/julia-.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-RESTRICT="test"
-
-inherit git-r3 llvm pax-utils toolchain-funcs
-
-DESCRIPTION="High-performance programming language for technical computing"
-HOMEPAGE="https://julialang.org/";
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/JuliaLang/julia.git";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2020-04-02 Thread Matthias Maier
commit: bbbd9eae9f8a409f60e01c954af04b5c08b30f50
Author: Jeffrey Lin  icurse  nl>
AuthorDate: Tue Mar 24 15:26:47 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Apr  3 03:19:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbbd9eae

dev-lang/julia: version bump to 1.4.0

Closes: https://bugs.gentoo.org/714616
Signed-off-by: Jeffrey Lin  icurse.nl>
Signed-off-by: Matthias Maier  gentoo.org>

 dev-lang/julia/Manifest|   1 +
 .../julia/files/julia-1.4.0-no_symlink_llvm.patch  |  10 ++
 dev-lang/julia/julia-1.4.0.ebuild  | 175 +
 3 files changed, 186 insertions(+)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 26899628eef..12f5cbfb4b0 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,5 +1,6 @@
 DIST julia-1.2.0.tar.gz 8255435 BLAKE2B 
286b7bd93cae247c545d9c384e244115f84daee977839022993e91c69013eb4107ac77d86f996ec7a8e9f863bf5cab29fb063437b822e5da79e72bc9e0db4b65
 SHA512 
c99b0b744508b43df4ee334f588dbb57a633969d7cb164d41b76d552c1d14f5ff6f06a8d0da7f7a48fd1e3a3b3c2379998c5af1bfdff4b0c17045132b82a40b8
 DIST julia-1.3.0.tar.gz 8793136 BLAKE2B 
e469d80c94e3b15b198011e62f591a699ec7218c755cf3e0c1be8f94e2a28e9800a10599a152f6865f534652d22f118bb14cd1886d257a96e6875562bce56f0c
 SHA512 
c7fdc5c4435c82688fe608a7009ccee6d622f51a62578bf2323ad623acfd58bfb6ed1252f81481708b5b428c37292e078ce72b10df3fe32d29158b0726be2c2e
+DIST julia-1.4.0.tar.gz 7239281 BLAKE2B 
f11467cf91c2a72f03f77421537f4089bab6a1596ede27963551819453bea2a3a46cad9a43951df8857120a00a44f2f04eb5e23659ea4d1772feddb00ba85d2c
 SHA512 
f8152a595f13932f6cad186cf2fdf2fb0bd64cc49bbb11a76d8299f4745ca6428823ead0e73a7bae1347f1b99bf1181d1f457587d13a7bfc7324ca81afc35cc1
 DIST julia-dsfmt-2.2.3.tar.gz 291773 BLAKE2B 
6ffae90494d72527920c80fc0fb005da1c7b84f8a03a7ecb0789434c0fff97359e5098e85431896dffccc7d5148c414e847aaba5feef648b8788421a466ff65e
 SHA512 
6d8ddcd01aab3f9039f4f0288a8af53e290cc2f293ed8c4a8c9f3b3f12398e7eedfce8016117b425766ba89c61c86c13b3e420035b5f9bf91315b8b814c03662
 DIST julia-libuv-2348256acf5759a544e5ca7935f638d2bc091d60.tar.gz 1555710 
BLAKE2B 
31ce57d23765c142799dd985a5511751d63238cf7e082fd1ad5574bf62201e9d6cb53b8da5dcc724765ccb4abd63da3ca6d6cbd45e078310c2ffa3859d09b8e4
 SHA512 
c8bf3c736a60feb0c6994aa7cd1b80e1a45bd6096aa66db320ddfc27b59a0797d303338ea75978619173e4f0a680254f3db29c9f6d1b84361030cc11c7729c98
 DIST julia-libuv-35b1504507a7a4168caae3d78db54d1121b121e1.tar.gz 1577394 
BLAKE2B 
8ab36f781619f710a64ddc6cf257a4c2f6d27ac22e33ed6f184902d0c6cc3a3941254e0a825071fcd57f869e3ccc5eaf71856539cf6b484358d5aafe383000a9
 SHA512 
5932e9105346e952fd0f51f79898e5b9c993261ec1558408437647ab3b3ce282562f1e0a16db5704cb66e7aa7a4c6a75dd7f0da498a98b1b6af48da88b4869f0

diff --git a/dev-lang/julia/files/julia-1.4.0-no_symlink_llvm.patch 
b/dev-lang/julia/files/julia-1.4.0-no_symlink_llvm.patch
new file mode 100644
index 000..1b6371b120d
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.4.0-no_symlink_llvm.patch
@@ -0,0 +1,10 @@
+--- a/base/Makefile2019-11-17 14:07:20.0 -0500
 b/base/Makefile2020-03-28 20:38:40.041571679 -0400
+@@ -223,7 +223,7 @@
+ln -sf "$$REALPATH" "$@"
+ ifneq ($(USE_SYSTEM_LLVM),0)
+ ifneq ($(USE_LLVM_SHLIB),0)
+-SYMLINK_SYSTEM_LIBRARIES += symlink_libLLVM
++#SYMLINK_SYSTEM_LIBRARIES += symlink_libLLVM
+ endif
+ endif

diff --git a/dev-lang/julia/julia-1.4.0.ebuild 
b/dev-lang/julia/julia-1.4.0.ebuild
new file mode 100644
index 000..0cd3cf9b406
--- /dev/null
+++ b/dev-lang/julia/julia-1.4.0.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+RESTRICT="splitdebug"
+
+inherit llvm pax-utils toolchain-funcs
+
+MY_PV="${PV//_rc/-rc}"
+MY_LIBUV_V="35b1504507a7a4168caae3d78db54d1121b121e1"
+MY_UTF8PROC_V="5c632c57426f2e4246e3b64dd2fd088d3920f9e5"
+MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
+MY_DSFMT_V="2.2.3"
+
+DESCRIPTION="High-performance programming language for technical computing"
+HOMEPAGE="https://julialang.org/";
+SRC_URI="
+   
https://github.com/JuliaLang/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz
+   https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> 
${PN}-libuv-${MY_LIBUV_V}.tar.gz
+   
https://api.github.com/repos/JuliaLang/utf8proc/tarball/${MY_UTF8PROC_V} -> 
${PN}-utf8proc-${MY_UTF8PROC_V}.tar.gz
+   https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} 
-> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
+   
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${MY_DSFMT_V}.tar.gz
 -> ${PN}-dsfmt-${MY_DSFMT_V}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   sys-devel/llvm:9=[llvm_targets_NVPTX(-)]
+"
+LLVM_MAX_SLOT=9
+
+RDEPEND+="
+   dev-libs/double-conversion:0=
+   dev-libs/gmp:0=
+   dev-libs/libgit2:0=
+

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2019-02-23 Thread Matthias Maier
commit: 922bc6021790baf5ca6cb2fd649167d58ba0cbda
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Feb 24 02:07:29 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Feb 24 03:11:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922bc602

dev-lang/julia: version bump to 1.1.0

Closes: https://bugs.gentoo.org/677524
Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Matthias Maier  gentoo.org>

 dev-lang/julia/Manifest   |  2 +-
 dev-lang/julia/files/julia-1.1.0-fix_llvm_install.patch   | 15 +++
 .../julia/{julia-1.1.0_rc1.ebuild => julia-1.1.0.ebuild}  |  3 ++-
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 7ce323c26a2..f102e3c0a1e 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,5 +1,5 @@
 DIST julia-1.0.3.tar.gz 7460268 BLAKE2B 
d9d42e0235f249fa8c1ced12c659091b97d338ec4a4662ea13ea6a107cb59e90d8385c51962199e47dae5f9770156be2db2d8bb2e3cc8f42aa7403b4f4ca7f04
 SHA512 
b61399c7b7ffae828264a6ec916b409b2cbc6b3b98d9a6d39b60b014a97a1f1ad75e1ed4860d9ab15d1e5ffec691c04d1b797c238953290770b7313790ae3f1d
-DIST julia-1.1.0-rc1.tar.gz 7672785 BLAKE2B 
3c49e189bec2da8d6d3f4c689600aa42e8092fe4343175981f8d998407bc6ef6c1bee20d579dc21594c2e9f9469898fc59d28807202b394cf64678b497037e0e
 SHA512 
ceba088ef7abe103a34b1eb6f3b9660165bac038e62d4def22ba207c1c6fddb8a90625b3aa967c32dcad5c24dd83a8f25781347fc8b4078f40dcdffd07b554ce
+DIST julia-1.1.0.tar.gz 7681396 BLAKE2B 
2038901132bab1ae5ea634e15de2e18771e250c77e967228858f078a6e44e3f1900c1ea464b5db762842f65c4ad8590b70ba6b0b267bf955e86fa7f16a812696
 SHA512 
da546430df5a9207926faa3fe7b1d2c193a1223a379ce1ff25219c6f4f2d650497d1b0e9091f1cd542fa19bfcf7bf1ee74a52f7d45a06fd8ab4441a5ac4d4a46
 DIST julia-dsfmt-2.2.3.tar.gz 291773 BLAKE2B 
6ffae90494d72527920c80fc0fb005da1c7b84f8a03a7ecb0789434c0fff97359e5098e85431896dffccc7d5148c414e847aaba5feef648b8788421a466ff65e
 SHA512 
6d8ddcd01aab3f9039f4f0288a8af53e290cc2f293ed8c4a8c9f3b3f12398e7eedfce8016117b425766ba89c61c86c13b3e420035b5f9bf91315b8b814c03662
 DIST julia-libuv-2348256acf5759a544e5ca7935f638d2bc091d60.tar.gz 1555710 
BLAKE2B 
31ce57d23765c142799dd985a5511751d63238cf7e082fd1ad5574bf62201e9d6cb53b8da5dcc724765ccb4abd63da3ca6d6cbd45e078310c2ffa3859d09b8e4
 SHA512 
c8bf3c736a60feb0c6994aa7cd1b80e1a45bd6096aa66db320ddfc27b59a0797d303338ea75978619173e4f0a680254f3db29c9f6d1b84361030cc11c7729c98
 DIST julia-libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e.tar.gz 1492695 
BLAKE2B 
ad03512dd1db2c7066b46b5a3a314645b925481d8ace09ac0a0ae23cf5b8a64338ad457f8df229aa82f1d45605b5366883f563f2e22756ce28bb6fb7607d7124
 SHA512 
1305035b1372bdf234e3c5e673ee4c8ab5bda83ff06bc27704786def52667c3143fe587fca8f6e0855ba0c8b6d4dd90b2faefd33736224173f459d751885683e

diff --git a/dev-lang/julia/files/julia-1.1.0-fix_llvm_install.patch 
b/dev-lang/julia/files/julia-1.1.0-fix_llvm_install.patch
new file mode 100644
index 000..9cb75188b96
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.1.0-fix_llvm_install.patch
@@ -0,0 +1,15 @@
+--- a/deps/llvm.mk 2019-02-09 10:09:30.102927517 +0300
 b/deps/llvm.mk 2019-02-09 10:10:51.479924878 +0300
+@@ -464,10 +464,11 @@
+ 
+ $(build_prefix)/manifest/llvm: | $(llvm_python_workaround)
+ 
++# unset DESTDIR to fix https://github.com/JuliaLang/julia/issues/23462
+ LLVM_INSTALL = \
+   cd $1 && mkdir -p $2$$(build_depsbindir) && \
+ cp -r $$(LLVM_SRC_DIR)/utils/lit $2$$(build_depsbindir)/ && \
+-$$(CMAKE) -DCMAKE_INSTALL_PREFIX="$2$$(build_prefix)" -P 
cmake_install.cmake
++DESTDIR="" $$(CMAKE) -DCMAKE_INSTALL_PREFIX="$2$$(build_prefix)" -P 
cmake_install.cmake
+ ifeq ($(OS), WINNT)
+ LLVM_INSTALL += && cp $2$$(build_shlibdir)/LLVM.dll $2$$(build_depsbindir)
+ endif

diff --git a/dev-lang/julia/julia-1.1.0_rc1.ebuild 
b/dev-lang/julia/julia-1.1.0.ebuild
similarity index 98%
rename from dev-lang/julia/julia-1.1.0_rc1.ebuild
rename to dev-lang/julia/julia-1.1.0.ebuild
index 36db882f1ed..02a71cbbd68 100644
--- a/dev-lang/julia/julia-1.1.0_rc1.ebuild
+++ b/dev-lang/julia/julia-1.1.0.ebuild
@@ -27,7 +27,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND+="
@@ -61,6 +61,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-fix_build_system.patch
+   "${FILESDIR}"/${PN}-1.1.0-fix_llvm_install.patch
 )
 
 S="${WORKDIR}/${PN}-${MY_PV}"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2019-01-07 Thread Matthias Maier
commit: c545f629a77bf34ddd9f2d357502f88d8064ed9d
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Jan  7 21:04:48 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Jan  7 21:35:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c545f629

dev-lang/julia: version bump to 1.1.0-rc1

 * give up and bundle llvm-6

Bug: https://bugs.gentoo.org/665192
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Matthias Maier  gentoo.org>

 dev-lang/julia/Manifest|   3 +
 .../julia/files/julia-1.1.0-fix_build_system.patch |  53 ++
 dev-lang/julia/julia-1.1.0_rc1.ebuild  | 197 +
 3 files changed, 253 insertions(+)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 41854360be4..7ce323c26a2 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,5 +1,8 @@
 DIST julia-1.0.3.tar.gz 7460268 BLAKE2B 
d9d42e0235f249fa8c1ced12c659091b97d338ec4a4662ea13ea6a107cb59e90d8385c51962199e47dae5f9770156be2db2d8bb2e3cc8f42aa7403b4f4ca7f04
 SHA512 
b61399c7b7ffae828264a6ec916b409b2cbc6b3b98d9a6d39b60b014a97a1f1ad75e1ed4860d9ab15d1e5ffec691c04d1b797c238953290770b7313790ae3f1d
+DIST julia-1.1.0-rc1.tar.gz 7672785 BLAKE2B 
3c49e189bec2da8d6d3f4c689600aa42e8092fe4343175981f8d998407bc6ef6c1bee20d579dc21594c2e9f9469898fc59d28807202b394cf64678b497037e0e
 SHA512 
ceba088ef7abe103a34b1eb6f3b9660165bac038e62d4def22ba207c1c6fddb8a90625b3aa967c32dcad5c24dd83a8f25781347fc8b4078f40dcdffd07b554ce
 DIST julia-dsfmt-2.2.3.tar.gz 291773 BLAKE2B 
6ffae90494d72527920c80fc0fb005da1c7b84f8a03a7ecb0789434c0fff97359e5098e85431896dffccc7d5148c414e847aaba5feef648b8788421a466ff65e
 SHA512 
6d8ddcd01aab3f9039f4f0288a8af53e290cc2f293ed8c4a8c9f3b3f12398e7eedfce8016117b425766ba89c61c86c13b3e420035b5f9bf91315b8b814c03662
+DIST julia-libuv-2348256acf5759a544e5ca7935f638d2bc091d60.tar.gz 1555710 
BLAKE2B 
31ce57d23765c142799dd985a5511751d63238cf7e082fd1ad5574bf62201e9d6cb53b8da5dcc724765ccb4abd63da3ca6d6cbd45e078310c2ffa3859d09b8e4
 SHA512 
c8bf3c736a60feb0c6994aa7cd1b80e1a45bd6096aa66db320ddfc27b59a0797d303338ea75978619173e4f0a680254f3db29c9f6d1b84361030cc11c7729c98
 DIST julia-libuv-ed3700c849289ed01fe04273a7bf865340b2bd7e.tar.gz 1492695 
BLAKE2B 
ad03512dd1db2c7066b46b5a3a314645b925481d8ace09ac0a0ae23cf5b8a64338ad457f8df229aa82f1d45605b5366883f563f2e22756ce28bb6fb7607d7124
 SHA512 
1305035b1372bdf234e3c5e673ee4c8ab5bda83ff06bc27704786def52667c3143fe587fca8f6e0855ba0c8b6d4dd90b2faefd33736224173f459d751885683e
 DIST julia-libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz 4183 
BLAKE2B 
c932e23b1b476d3fd16cf6f451efd5fc6d9c1ec2c53e8ac086340a100817d9b30dae3eff50b284a42c09b2bbae30b9e2fd38b2881f8cbf4974a89f3bd0c87599
 SHA512 
6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3
+DIST julia-llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 
60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881
 SHA512 
cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
 DIST julia-utf8proc-97ef668b312b96382714dbb8eaac4affce0816e6.tar.gz 156361 
BLAKE2B 
e5e1485b758e959ed78f7fde8b211376da2365e5835708042de57c091b10b59755e1203a9f88c0d761687bf3d166207410de6ec203d80fef4dbdf06a50404cd1
 SHA512 
1c80dc6e71fdad187b142d02e561dfe1880857baaec08d36240ecb2f275d1bc5467aace84eebe5a10fd3f4c40b0035e65a5db3ec2a9ee6940920b0aad6221c55

diff --git a/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch 
b/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch
new file mode 100644
index 000..394f5900a90
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch
@@ -0,0 +1,53 @@
+diff --git a/Make.inc b/Make.inc
+index 81ff923..79e47f1 100644
+--- a/Make.inc
 b/Make.inc
+@@ -185,7 +185,7 @@ USE_GPL_LIBS ?= 1
+ # Directories where said libraries get installed to
+ prefix ?= $(BUILDROOT)/julia-$(JULIA_COMMIT)
+ bindir := $(prefix)/bin
+-libdir := $(prefix)/lib
++libdir := $(prefix)/GENTOOLIBDIR
+ libexecdir := $(prefix)/libexec
+ datarootdir := $(prefix)/share
+ docdir := $(datarootdir)/doc/julia
+@@ -417,7 +417,7 @@ ifneq ($(OS), WINNT)
+ JCXXFLAGS += -pedantic
+ endif
+ DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -ggdb2 -falign-functions
++SHIPFLAGS := GENTOOCFLAGS
+ endif
+ 
+ ifeq ($(USECLANG),1)
+@@ -428,7 +428,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
+ JCPPFLAGS := -fasynchronous-unwind-tables
+ JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
+ DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -g
++SHIPFLAGS := GENTOOCFLAGS
+ ifeq ($(OS), Darwin)
+ ifeq ($(USE_LIBCPP), 1)
+ MACOSX_VERSION_MIN := 10.8
+@@ -457,7 +457,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2018-08-30 Thread Matthias Maier
commit: 3040b1578a07c14d7f9c2d64ba09b062b789c11c
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Aug 30 02:11:21 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Aug 31 02:31:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3040b157

dev-lang/julia: version bump to 1.0.0

Closes: https://bugs.gentoo.org/663266
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-lang/julia/Manifest|   2 +
 .../julia/files/julia-1.0.0-fix_build_system.patch |  75 
 dev-lang/julia/julia-1.0.0.ebuild  | 202 +
 3 files changed, 279 insertions(+)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 0124be31939..88b87cdcf4b 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,2 +1,4 @@
 DIST julia-0.6.3-bundled.tar.gz 2099258 BLAKE2B 
dea1f5d37477e0a612e3901d7d568e8c4b350496f9d2b344cd7e2c2043ae30b4dd26b567803a2cb96d1ec4dbe2ba514fb08b925c695589746691887334330dd2
 SHA512 
d04cd55ba0dde08f253db3a388cf5ebe87cec8ae321a5af4c1c92f2680aa6e6ef2ebfa771ec74f8f1ff96409e2c0645476acf577859e8718eac4a581f097639d
 DIST julia-0.6.3.tar.gz 5542642 BLAKE2B 
cccd1ee2eb4d9f59382a0d1f6466e77c84b0542456c405c05b718bc8a39ff537a09760a523ee572fc9eee6797158aa00010fc4c931a80deac645fb1e45061c87
 SHA512 
f529bb30a17989234061cf4c3d87aecc6da720eb494efaca7be4ec1ed5eda60d440896fb76a45b6cb30205030256e7de765e8944f873b31d96f7c9ecac542db8
+DIST julia-1.0.0-bundled.tar.gz 3740215 BLAKE2B 
1d230d9f2ba47a1ee3221d1a4c94648bd02a80c30205dd9d438f78261e005ab7ed2173a3c7673489b17ee50050a4cbc0563ce90f16202b8cea65e4c65155cf2c
 SHA512 
be89442366e0ebc789c16485b790368ef8702375bc1c1520d33bda152c8eda988a87f0a389d9b060f51b00ad0c249a95149468ab296811cd7050e110368d256a
+DIST julia-1.0.0.tar.gz 7378753 BLAKE2B 
1fcf3a63b00b6a49a86ca69b6ee809a28c828287c739405ae180e96645d565de0941b049d319f82f60e1ee63ee89629be213ecb22ab1ea901b306d1e149fa861
 SHA512 
5a53b16a1ab57cdffa5dadf11e78c413ed9f18af23ae90b64dee8323c2fc9bd6e6918b341f48accbcb7a6eab559811c80d72ac3ac0576c7cf6c9c9057356f6ba

diff --git a/dev-lang/julia/files/julia-1.0.0-fix_build_system.patch 
b/dev-lang/julia/files/julia-1.0.0-fix_build_system.patch
new file mode 100644
index 000..1ed19d6e06e
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.0.0-fix_build_system.patch
@@ -0,0 +1,75 @@
+diff --git a/Make.inc b/Make.inc
+index 8e0df61..5747a1c 100644
+--- a/Make.inc
 b/Make.inc
+@@ -181,7 +181,7 @@ USE_GPL_LIBS ?= 1
+ # Directories where said libraries get installed to
+ prefix ?= $(BUILDROOT)/julia-$(JULIA_COMMIT)
+ bindir := $(prefix)/bin
+-libdir := $(prefix)/lib
++libdir := $(prefix)/GENTOOLIBDIR
+ libexecdir := $(prefix)/libexec
+ datarootdir := $(prefix)/share
+ docdir := $(datarootdir)/doc/julia
+@@ -413,7 +413,7 @@ ifneq ($(OS), WINNT)
+ JCXXFLAGS += -pedantic
+ endif
+ DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -ggdb2 -falign-functions
++SHIPFLAGS := GENTOOCFLAGS
+ endif
+ 
+ ifeq ($(USECLANG),1)
+@@ -424,7 +424,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
+ JCPPFLAGS := -fasynchronous-unwind-tables
+ JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
+ DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -g
++SHIPFLAGS := GENTOOCFLAGS
+ ifeq ($(OS), Darwin)
+ ifeq ($(USE_LIBCPP), 1)
+ MACOSX_VERSION_MIN := 10.8
+@@ -453,7 +453,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
+ JCPPFLAGS :=
+ JCXXFLAGS := -pipe $(fPIC) -fno-rtti
+ DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
+-SHIPFLAGS := -O3 -g -falign-functions
++SHIPFLAGS := GENTOOCFLAGS
+ endif
+ 
+ ifeq ($(USECCACHE), 1)
+diff --git a/doc/Makefile b/doc/Makefile
+index 89b7988..c3125fd 100644
+--- a/doc/Makefile
 b/doc/Makefile
+@@ -29,7 +29,7 @@ deps: UnicodeData.txt
+   $(JLCHECKSUM) UnicodeData.txt
+ 
+ clean:
+-  -rm -rf _build/* deps/* docbuild.log UnicodeData.txt
++  @echo "Do not clean doc/_build/html. Just use it..."
+ 
+ cleanall: clean
+ 
+diff --git a/src/Makefile b/src/Makefile
+index 20da34d..84eae21 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -88,16 +88,7 @@ UV_HEADERS += uv/*.h
+ endif
+ PUBLIC_HEADER_TARGETS := $(addprefix $(build_includedir)/julia/,$(notdir 
$(PUBLIC_HEADERS)) $(UV_HEADERS))
+ 
+-ifeq ($(JULIACODEGEN),LLVM)
+-# In LLVM < 3.4, --ldflags includes both options and libraries, so use it 
both before and after --libs
+-# In LLVM >= 3.4, --ldflags has only options, and --system-libs has the 
libraries.
+-ifneq ($(USE_LLVM_SHLIB),1)
+-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) $(shell 
$(LLVM_CONFIG_HOST) --libs $(LLVM_LIBS)) $(shell $(LLVM_CONFIG_HOST) --ldflags) 
$(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
+-else
+-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) -lLLVM
+-FLAGS += -DLLVM_SHLIB
+-endif # USE_LLVM_SHLIB == 1
+-endif
++LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2018-06-30 Thread Matthias Maier
commit: ce5fe500802f8483a322348b4dc3e9c0385842bd
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jul  1 04:35:31 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jul  1 04:49:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5fe500

dev-lang/julia: drop old version 0.6.2

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-lang/julia/Manifest|   2 -
 .../julia/files/julia-0.6.0-fix_build_system.patch |  87 --
 dev-lang/julia/julia-0.6.2.ebuild  | 193 -
 3 files changed, 282 deletions(-)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 8207d853db3..0124be31939 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,4 +1,2 @@
-DIST julia-0.6.2-bundled.tar.gz 3508868 BLAKE2B 
b5b3f52d8036e5603b62606cd096f22f8a975f9cab2f9baad902c0208a81868359005e82a17e513a7705ec717750702cdc12ab476ffac3c1c38158f06d80ae99
 SHA512 
3a9a6cc43aab2eae6c57812287958e3a1ac1718d6fdf08e5ce7c8e8e8a62231fb4d7b6f064e2d6941ac750d8924f5cb37ae3ac4e2d18f366a82c94bdc9e6abe4
-DIST julia-0.6.2.tar.gz 5592907 BLAKE2B 
d6d25f43cd650f6a079c4ba6fe533e6bdbf6a1123255d7651460e297ed3d35a832688e19efddf41c780fbda2eb861bc8ed5f7c59ea7efb5fdf490eb2e7a47f5d
 SHA512 
679050463ed5825d34c477bd44cd91cfecc7d1735a2f52cc70b509afd9883cb60902861643266ecac5ba6cbb03f8fcdd12fc2e87dc41b9ed0eef813fa40610f1
 DIST julia-0.6.3-bundled.tar.gz 2099258 BLAKE2B 
dea1f5d37477e0a612e3901d7d568e8c4b350496f9d2b344cd7e2c2043ae30b4dd26b567803a2cb96d1ec4dbe2ba514fb08b925c695589746691887334330dd2
 SHA512 
d04cd55ba0dde08f253db3a388cf5ebe87cec8ae321a5af4c1c92f2680aa6e6ef2ebfa771ec74f8f1ff96409e2c0645476acf577859e8718eac4a581f097639d
 DIST julia-0.6.3.tar.gz 5542642 BLAKE2B 
cccd1ee2eb4d9f59382a0d1f6466e77c84b0542456c405c05b718bc8a39ff537a09760a523ee572fc9eee6797158aa00010fc4c931a80deac645fb1e45061c87
 SHA512 
f529bb30a17989234061cf4c3d87aecc6da720eb494efaca7be4ec1ed5eda60d440896fb76a45b6cb30205030256e7de765e8944f873b31d96f7c9ecac542db8

diff --git a/dev-lang/julia/files/julia-0.6.0-fix_build_system.patch 
b/dev-lang/julia/files/julia-0.6.0-fix_build_system.patch
deleted file mode 100644
index 6f804161775..000
--- a/dev-lang/julia/files/julia-0.6.0-fix_build_system.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff --git a/Make.inc b/Make.inc
-index e30c150..e6fdbb2 100644
 a/Make.inc
-+++ b/Make.inc
-@@ -399,7 +399,7 @@ ifneq ($(OS), WINNT)
- JCXXFLAGS += -pedantic
- endif
- DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -ggdb2 -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECLANG),1)
-@@ -410,7 +410,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS := -fasynchronous-unwind-tables
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g
-+SHIPFLAGS := GENTOOCFLAGS
- ifeq ($(OS), Darwin)
- ifeq ($(USE_LIBCPP), 1)
- MACOSX_VERSION_MIN := 10.8
-@@ -439,7 +439,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS :=
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECCACHE), 1)
-diff --git a/deps/tools/jldownload b/deps/tools/jldownload
-index ab4fd69..e2c2408 100755
 a/deps/tools/jldownload
-+++ b/deps/tools/jldownload
-@@ -5,9 +5,9 @@
- 
- CACHE_HOST=https://cache.julialang.org
- 
--WGET=$(which wget 2>/dev/null)
--CURL=$(which curl 2>/dev/null)
--FETCH=$(which fetch 2>/dev/null)
-+WGET=/bin/true
-+CURL=/bin/true
-+FETCH=/bin/true
- 
- TIMEOUT=15 # seconds
- WGET_OPTS="--no-check-certificate --tries=1 --timeout=$TIMEOUT"
-diff --git a/doc/Makefile b/doc/Makefile
-index 743804d..e06dde0 100644
 a/doc/Makefile
-+++ b/doc/Makefile
-@@ -25,7 +25,7 @@ deps: UnicodeData.txt
-   $(JLCHECKSUM) UnicodeData.txt
- 
- clean:
--  -rm -rf _build/* deps/* docbuild.log UnicodeData.txt
-+  @echo "Do not clean doc/_build/html. Just use it..."
- 
- cleanall: clean
- 
-diff --git a/src/Makefile b/src/Makefile
-index f71f53d..7cdd23f 100644
 a/src/Makefile
-+++ b/src/Makefile
-@@ -85,20 +85,8 @@ PUBLIC_HEADER_TARGETS := $(addprefix 
$(build_includedir)/julia/,$(notdir $(PUBLI
- 
- # In LLVM < 3.4, --ldflags includes both options and libraries, so use it 
both before and after --libs
- # In LLVM >= 3.4, --ldflags has only options, and --system-libs has the 
libraries.
--ifneq ($(USE_LLVM_SHLIB),1)
--LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) $(shell 
$(LLVM_CONFIG_HOST) --libs $(LLVM_LIBS)) $(shell $(LLVM_CONFIG_HOST) --ldflags) 
$(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
--else
--ifeq ($(LLVM_USE_CMAKE),1)
--LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) -lLLVM
--else
--ifeq ($(OS),WINNT)
--LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags)

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2017-11-28 Thread Matthias Maier
commit: 855cb7bc4846fe4df3d95a57d116a545201bcc35
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Nov 28 11:02:34 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Nov 28 11:06:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855cb7bc

dev-lang/julia: drop old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-lang/julia/Manifest|   4 -
 .../julia/files/julia-0.5.0-fix_build_system.patch |  85 -
 dev-lang/julia/julia-0.5.0-r3.ebuild   | 188 
 dev-lang/julia/julia-0.6.0-r1.ebuild   | 190 -
 4 files changed, 467 deletions(-)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index 7e2f9eb9086..c36ac90133e 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,6 +1,2 @@
-DIST julia-0.5.0-bundled.tar.gz 3461547 SHA256 
3f4887fc2c0112666eb28b99f86bd8f7bd50615325e03135c546127885d46fbf SHA512 
f8df589edf7d6b0e1e6553583c81d26fd256a79cacd79fbdd0ea1a9eea46b2466e3cbf055b5b7aa2d5c08318a5c35b9c09a30ac46a48689cc5c7245954b615c8
 WHIRLPOOL 
b0137b2ed55aef7dc2c1a8693043ce63305bd2bbb5c2f959b2752fdb68189a506b027b467bfc0bb443fa4202f3735dd9410a257adec08302dfcaa0c9e4bfed98
-DIST julia-0.5.0.tar.gz 6326490 SHA256 
bb62a14806e58f079ecd4941d4a18d1f1c1d89ab33c826d3a58a2244e364112e SHA512 
6d76c5050da5050cd541c8407c35c8ecd60ad2ba61c4defcc5c084aaeb09e82ffed09be79a3453000bdf88efe56039948335bab21c8389389ffb8b29806568de
 WHIRLPOOL 
7f0066cc7fa912fe7ce5b6bf43449d828b0b9dcf2ab57df6c13a0df17ee53351c6deb30e7b998dc00ff53c548074d79ed6288bc79507afebc4fd827b3e3c032f
-DIST julia-0.6.0-bundled.tar.gz 2097663 BLAKE2B 
4f16b636e10cbaf9ebd8394d0341c16d7cd7244b6e1467f264150cee64dd8f33aba7381670b7f66f822dd06eaa55d18b0ed04b38931a1943a8212275c1854c26
 SHA512 
50581da3628930b2d1b89d226f3551fa7b18ca23c322b7e93d1227cc0c3428f255a6087f9859ff2c592014407d53238e01a3847a727a87287fb8c7f679b022d1
-DIST julia-0.6.0.tar.gz 5565427 BLAKE2B 
e48b06d38b5332a7949421d248ccd47f8818630197c29604ee1b3ce404e652b4fa8fb8f720abd3b9470a8b9c3e22e10f35a987aed6924f98122e4ee838817af0
 SHA512 
da21b35eb2c682c0fb8720974a76759c51fe993f10e6af5ca4864fc7f0bb6c90d880b706eb798476c7228bae2db19ff0825add6a2abde2961f16a93a3050cb69
 DIST julia-0.6.1-bundled.tar.gz 2097663 BLAKE2B 
4f16b636e10cbaf9ebd8394d0341c16d7cd7244b6e1467f264150cee64dd8f33aba7381670b7f66f822dd06eaa55d18b0ed04b38931a1943a8212275c1854c26
 SHA512 
50581da3628930b2d1b89d226f3551fa7b18ca23c322b7e93d1227cc0c3428f255a6087f9859ff2c592014407d53238e01a3847a727a87287fb8c7f679b022d1
 DIST julia-0.6.1.tar.gz 5587691 BLAKE2B 
b230e717bf4a4f63319883b87bae5b51a2dd2d0be61ffc15eb89304fe6394df67416ed11d40f258a13d7f3ce4272452cfbe1bd482c368d70cb0d3eea9512d8f9
 SHA512 
8e7b14e8bba1eae1d2a7f43a114dc42e1870d2e692d8892a09475f48839c9b596eb8aaa24b111d3bac6836282a4d7ab64d10c4481c8193f1574cabcf2541db6e

diff --git a/dev-lang/julia/files/julia-0.5.0-fix_build_system.patch 
b/dev-lang/julia/files/julia-0.5.0-fix_build_system.patch
deleted file mode 100644
index e54b9a48fbb..000
--- a/dev-lang/julia/files/julia-0.5.0-fix_build_system.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --git a/Make.inc b/Make.inc
-index 651c9df..ff01872 100644
 a/Make.inc
-+++ b/Make.inc
-@@ -389,7 +389,7 @@ ifneq ($(OS), WINNT)
- JCXXFLAGS += -pedantic
- endif
- DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -ggdb2 -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECLANG),1)
-@@ -400,7 +400,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS := -fasynchronous-unwind-tables
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g
-+SHIPFLAGS := GENTOOCFLAGS
- ifeq ($(OS), Darwin)
- ifeq ($(USE_LIBCPP), 1)
- CC += -stdlib=libc++ -mmacosx-version-min=10.7
-@@ -427,7 +427,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS :=
- JCXXFLAGS := -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS := -O3 -g -falign-functions
-+SHIPFLAGS := GENTOOCFLAGS
- endif
- 
- ifeq ($(USECCACHE), 1)
-diff --git a/doc/Makefile b/doc/Makefile
-index 0749d73..f4d49ec 100644
 a/doc/Makefile
-+++ b/doc/Makefile
-@@ -62,7 +62,7 @@ help:
-   @echo "  doctestto run all doctests embedded in the documentation 
(if enabled)"
- 
- clean:
--  -rm -rf _build/*
-+  @echo "Do not clean doc/_build/html. Just use it..."
- 
- cleanall: clean
- 
-diff --git a/src/Makefile b/src/Makefile
-index d7ec864..61d2470 100644
 a/src/Makefile
-+++ b/src/Makefile
-@@ -66,20 +66,8 @@ HEADERS := $(addprefix $(SRCDIR)/,julia.h julia_threads.h 
julia_internal.h optio
- 
- # In LLVM < 3.4, --ldflags includes both options and libraries, so use it 
both before and after --libs
- # In LLVM >= 3.4, --ldflags has only options, and --system-libs has the 
libraries.

[gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/files/, dev-lang/julia/

2016-09-24 Thread Matthias Maier
commit: 8a5e6558802794a78eec6c23b6d4912343c3ead3
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Sep 24 17:06:23 2016 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Sep 24 21:18:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5e6558

dev-lang/julia: drop old versions 0.4.3, 0.4.6

Package-Manager: portage-2.2.28

 dev-lang/julia/Manifest|   4 -
 .../julia/files/julia-0.4.3-fix_build_system.patch | 140 
 dev-lang/julia/files/julia-0.4.6-llvm-3.8.patch|  56 ---
 dev-lang/julia/julia-0.4.3.ebuild  | 185 
 dev-lang/julia/julia-0.4.6.ebuild  | 186 -
 5 files changed, 571 deletions(-)

diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest
index aa23d93..c91190d 100644
--- a/dev-lang/julia/Manifest
+++ b/dev-lang/julia/Manifest
@@ -1,6 +1,2 @@
-DIST julia-0.4.3-bundled.tar.gz 2678787 SHA256 
9451160add4c1fa537762627abcd3dd5fecca9ce44f71c4140d89a4bb6b23392 SHA512 
919ca7b99a6eb17a651ce24fe07e5c12bfcee54ce86fac8f744765195002e8f3330df9059fadd5af3408c1f7e067e247ad4bb135879ae4ae43e1457245f90db9
 WHIRLPOOL 
94bb022d4f1586dfdc2f52286db423cb09898a3a5dff2f2086ca111b9117dca808758351dada23cea1056a8e5c3b33f6919410c34af96a92a4a9f8b0e0758783
-DIST julia-0.4.3.tar.gz 5563437 SHA256 
b2c12b267c0d8eb380f6628e7be48c7ec46d2cfb5c585ecb3ca4cc442650e4e0 SHA512 
7d5180c69573452c00563c7b98514fc9e4f0f70762912cf4f90cbf632e4b23ec149295ff1955164833ab94efd1feab992067996e3d60f795850542cf2f18f67f
 WHIRLPOOL 
75c3ebf8cb1af67158896872e098bf66a8073eba3daf6cf5903471d34201e1605458e59f14c19ff5177413daee5aac102ec69a0afe9a93a219698a4640acaf33
-DIST julia-0.4.6-bundled.tar.gz 2678787 SHA256 
9451160add4c1fa537762627abcd3dd5fecca9ce44f71c4140d89a4bb6b23392 SHA512 
919ca7b99a6eb17a651ce24fe07e5c12bfcee54ce86fac8f744765195002e8f3330df9059fadd5af3408c1f7e067e247ad4bb135879ae4ae43e1457245f90db9
 WHIRLPOOL 
94bb022d4f1586dfdc2f52286db423cb09898a3a5dff2f2086ca111b9117dca808758351dada23cea1056a8e5c3b33f6919410c34af96a92a4a9f8b0e0758783
-DIST julia-0.4.6.tar.gz 5548248 SHA256 
e5d12b5a8ddff0131e460612ecf222ddf16014fc64c4fc3d8b021da7ebbd9a9f SHA512 
744fbae14f7b38d5f7ef1c39d05c66f42833ee0e07b3f4be2ae377f2c997872777c6f7e9e667f52e5a33879032b2d02d76b00fab59f81ba6552f1fd4165953da
 WHIRLPOOL 
3403364fc13bd8012da1ee333cc51fd0a957e94920bbd3f951fad4a689469f514e19a661bf2bdfdd29afbcadac1c9d6948638fd9d4201780a1aa7c0fd2995dee
 DIST julia-0.5.0-bundled.tar.gz 3461547 SHA256 
3f4887fc2c0112666eb28b99f86bd8f7bd50615325e03135c546127885d46fbf SHA512 
f8df589edf7d6b0e1e6553583c81d26fd256a79cacd79fbdd0ea1a9eea46b2466e3cbf055b5b7aa2d5c08318a5c35b9c09a30ac46a48689cc5c7245954b615c8
 WHIRLPOOL 
b0137b2ed55aef7dc2c1a8693043ce63305bd2bbb5c2f959b2752fdb68189a506b027b467bfc0bb443fa4202f3735dd9410a257adec08302dfcaa0c9e4bfed98
 DIST julia-0.5.0.tar.gz 6326490 SHA256 
bb62a14806e58f079ecd4941d4a18d1f1c1d89ab33c826d3a58a2244e364112e SHA512 
6d76c5050da5050cd541c8407c35c8ecd60ad2ba61c4defcc5c084aaeb09e82ffed09be79a3453000bdf88efe56039948335bab21c8389389ffb8b29806568de
 WHIRLPOOL 
7f0066cc7fa912fe7ce5b6bf43449d828b0b9dcf2ab57df6c13a0df17ee53351c6deb30e7b998dc00ff53c548074d79ed6288bc79507afebc4fd827b3e3c032f

diff --git a/dev-lang/julia/files/julia-0.4.3-fix_build_system.patch 
b/dev-lang/julia/files/julia-0.4.3-fix_build_system.patch
deleted file mode 100644
index c83f043..
--- a/dev-lang/julia/files/julia-0.4.3-fix_build_system.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff --git a/Make.inc b/Make.inc
-index da01e38..c751607 100644
 a/Make.inc
-+++ b/Make.inc
-@@ -297,7 +297,7 @@ JCFLAGS = -std=gnu99 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS =
- JCXXFLAGS = -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS = -O0 -ggdb3 -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS = -O3 -ggdb3 -falign-functions
-+SHIPFLAGS = GENTOOCFLAGS
- endif
- 
- ifeq ($(USECLANG),1)
-@@ -307,7 +307,7 @@ JCFLAGS = -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64
- JCPPFLAGS =
- JCXXFLAGS = -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS = -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS = -O3 -g
-+SHIPFLAGS =  GENTOOCFLAGS
- ifeq ($(OS), Darwin)
- ifeq ($(USE_LIBCPP), 1)
- CC += -stdlib=libc++ -mmacosx-version-min=10.7
-@@ -334,7 +334,7 @@ JCFLAGS = -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing 
-D_FILE_OFFSET_BITS=64 -
- JCPPFLAGS =
- JCXXFLAGS = -pipe $(fPIC) -fno-rtti
- DEBUGFLAGS = -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
--SHIPFLAGS = -O3 -g -falign-functions
-+SHIPFLAGS = GENTOOCFLAGS
- endif
- 
- ifeq ($(USECCACHE), 1)
-diff --git a/deps/Makefile b/deps/Makefile
-index 051b23d..881ba68 100644
 a/deps/Makefile
-+++ b/deps/Makefile
-@@ -862,7 +862,7 @@ OPENSPECFUN_TAR_URL = 
https://api.github.com/repos/JuliaLang/openspecfun/tarball
- $(eval $(call 
git-external,openspecfun,OPENSPECFUN,Makefile,libopenspecfun.$(SHLIB_EXT)))
- 
- # issue 8799
--OPENSPECFUN_CFLAGS = -O3 -std=c99
-+O