Diff julia-1.8.5-r1 with a julia-1.9.0

/usr/portage/dev-lang/julia/julia-1.9.0.ebuild 2023-10-09 14:52:29.464368349 +0300
6 6

  
7 7
EAPI=8
8 8

  
9
# >=1.8.2 still sits on LLVM 13, bug: https://bugs.gentoo.org/876184
10
MY_LLVM_V=13.0.1
9
MY_LLVM_V=14.0.6
11 10

  
12 11
PYTHON_COMPAT=( python3_{9..11} )
13 12

  
......
18 17
	https://github.com/JuliaLang/julia/"
19 18
SRC_URI="
20 19
	https://github.com/JuliaLang/julia/releases/download/v${PV}/${P}-full.tar.gz
21
	https://github.com/JuliaLang/julia/commit/0b211609.patch
22
		-> ${PN}-0b211609.patch
23
	https://github.com/JuliaLang/julia/commit/a48ad530.patch
24
		-> ${PN}-a48ad530.patch
25 20
"
26 21

  
27 22
LICENSE="MIT"
28 23
SLOT="0"
29
KEYWORDS="~amd64 ~x86"
24
KEYWORDS=""
25
#KEYWORDS="~amd64 ~x86"
30 26
PROPERTIES="test_network"
31 27
RESTRICT="test"
32 28

  
......
65 61

  
66 62
CHECKREQS_DISK_BUILD="4G"
67 63
PATCHES=(
68
	"${DISTDIR}"/${PN}-0b211609.patch
69
	"${DISTDIR}"/${PN}-a48ad530.patch
70
	"${FILESDIR}"/${PN}-1.8.0-llvm-no-bindings.patch
71
	"${FILESDIR}"/${PN}-1.8.3-gcc13.patch
72 64
)
73 65
QA_FLAGS_IGNORED+='usr/.*/julia/sys.so'  # Julia sysimage generated by bootstrapping.
74 66

  
75 67
# Huge thanks to Arch Linux developers for the patches.
76 68
archlinux_uri="https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/"
77 69
archlinux_patches=(
78
	074d761f.patch              # wanted
79
	0db596e6.patch              # secondary
80
	190565c2.patch              # secondary
81
	23f39f83.patch              # secondary
82
	3423639d.patch              # secondary
83
	68adc00e.patch              # secondary
84
	700c69b1.patch              # secondary
85
	ed9851b0.patch              # wanted
86
	julia-hardcoded-libs.patch  # wanted
87
	julia-libunwind-1.6.patch   # wanted
88
	julia-mpfr-4.2.patch        # secondary
89
	julia-system-cblas.patch    # wanted
90 70
)
91 71
for archlinux_patch in ${archlinux_patches[@]} ; do
92 72
	archlinux_patch_name="${PN}-1.8.0-${archlinux_patch}"
......
114 94
	done
115 95

  
116 96
	# Extract tarballs for patching.
117
	cd "${S}/deps/srccache/" || die
118
	tar xf llvm-julia-13.0.1-3.tar.gz || die
97
	# cd "${S}/deps/srccache/" || die
98
	# tar xf llvm-julia-${MY_LLVM_V}-3.tar.gz || die
119 99
}
120 100

  
121 101
src_prepare() {
......
141 121
	echo "#!/bin/sh" > deps/tools/jlchecksum || die
142 122

  
143 123
	# Repack tarballs.
144
	cd "${S}/deps/srccache/" || die
145
	tar czf llvm-julia-13.0.1-3.tar.gz JuliaLang-llvm-project-8a2ae8c || die
124
	# cd "${S}/deps/srccache/" || die
125
	# tar czf llvm-julia-${MY_LLVM_V}-3.tar.gz JuliaLang-llvm-project-* || die
146 126
}
147 127

  
148 128
src_configure() {
Thank you!