1 |
commit: 124ccaee9cb3a4874b6c5c51dcd3c623c19cae2c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 9 08:43:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 14:44:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124ccaee |
7 |
|
8 |
dev-ml/llvm-ocaml: Remove 12.0.1-rc4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-ml/llvm-ocaml/Manifest | 1 - |
13 |
dev-ml/llvm-ocaml/llvm-ocaml-12.0.1_rc4.ebuild | 124 ------------------------- |
14 |
2 files changed, 125 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest |
17 |
index f3cacde58cc..104b03477e7 100644 |
18 |
--- a/dev-ml/llvm-ocaml/Manifest |
19 |
+++ b/dev-ml/llvm-ocaml/Manifest |
20 |
@@ -1,5 +1,4 @@ |
21 |
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 |
22 |
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81 |
23 |
DIST llvmorg-12.0.0.tar.gz 134226215 BLAKE2B f9c3ba8c58571855caa4f206fd285c9b5be66672fb0814cb8bc0964a051f57f5d35013aa1e27cbda502652b37df1ec23474129109e76a42066847860db441dbe SHA512 0cff02155c5ac0d6db2b72d60d9819d5b5dd859663b45f721b1c7540239c2fceb1f57d9173f6870c49de851c242ed8e85c5c6d6577a1f8092a7c5dcd12513b26 |
24 |
-DIST llvmorg-12.0.1-rc4.tar.gz 134278617 BLAKE2B d407421c7244bb125151e69e2a341f1af0a0cf8c1fda3b8ae3d4114c3a285d6307620bbf82b22d96d2c7782b37b0975e87be80c24e3ce1fdc71152734be1e8f8 SHA512 1a2c18435a970491eb9fc9381ba66af726e17dcbd5bf6774f9341b1e82fd35f2e5686844743f5317ebd2106b902c39e09aa98102e58a86e290b29102241c949f |
25 |
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 |
26 |
|
27 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.1_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.1_rc4.ebuild |
28 |
deleted file mode 100644 |
29 |
index f1bf9cd09e2..00000000000 |
30 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.1_rc4.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,124 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{8..10} ) |
39 |
-inherit cmake llvm llvm.org python-any-r1 |
40 |
- |
41 |
-DESCRIPTION="OCaml bindings for LLVM" |
42 |
-HOMEPAGE="https://llvm.org/" |
43 |
- |
44 |
-# Keep in sync with sys-devel/llvm |
45 |
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY VE ) |
46 |
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 |
47 |
- NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore |
48 |
- "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" ) |
49 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
50 |
- |
51 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
52 |
-SLOT="0/${PV}" |
53 |
-KEYWORDS="" |
54 |
-IUSE="debug test ${ALL_LLVM_TARGETS[*]}" |
55 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-RDEPEND=" |
59 |
- >=dev-lang/ocaml-4.00.0:0= |
60 |
- dev-ml/ocaml-ctypes:= |
61 |
- ~sys-devel/llvm-${PV}:=[debug?] |
62 |
- !sys-devel/llvm[ocaml(-)]" |
63 |
-for x in "${ALL_LLVM_TARGETS[@]}"; do |
64 |
- RDEPEND+=" |
65 |
- ${x}? ( ~sys-devel/llvm-${PV}[${x}] )" |
66 |
-done |
67 |
-unset x |
68 |
- |
69 |
-DEPEND="${RDEPEND}" |
70 |
-BDEPEND=" |
71 |
- dev-lang/perl |
72 |
- dev-ml/findlib |
73 |
- >=dev-util/cmake-3.16 |
74 |
- test? ( dev-ml/ounit2 ) |
75 |
- ${PYTHON_DEPS}" |
76 |
- |
77 |
-LLVM_COMPONENTS=( llvm ) |
78 |
-llvm.org_set_globals |
79 |
- |
80 |
-pkg_setup() { |
81 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
82 |
- python-any-r1_pkg_setup |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- local libdir=$(get_libdir) |
87 |
- local mycmakeargs=( |
88 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
89 |
- |
90 |
- -DBUILD_SHARED_LIBS=OFF |
91 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
92 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
93 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
94 |
- |
95 |
- # cheap hack: LLVM combines both anyway, and the only difference |
96 |
- # is that the former list is explicitly verified at cmake time |
97 |
- -DLLVM_TARGETS_TO_BUILD="" |
98 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
99 |
- -DLLVM_BUILD_TESTS=$(usex test) |
100 |
- |
101 |
- # disable various irrelevant deps and settings |
102 |
- -DLLVM_ENABLE_FFI=OFF |
103 |
- -DLLVM_ENABLE_TERMINFO=OFF |
104 |
- -DHAVE_HISTEDIT_H=NO |
105 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
106 |
- -DLLVM_ENABLE_EH=ON |
107 |
- -DLLVM_ENABLE_RTTI=ON |
108 |
- |
109 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
110 |
- |
111 |
- -DPython3_EXECUTABLE="${PYTHON}" |
112 |
- |
113 |
- # disable go bindings |
114 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
115 |
- |
116 |
- # TODO: ocamldoc |
117 |
- ) |
118 |
- |
119 |
- use test && mycmakeargs+=( |
120 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
121 |
- ) |
122 |
- |
123 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
124 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
125 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
126 |
- cmake_src_configure |
127 |
- |
128 |
- local llvm_libdir=$(llvm-config --libdir) |
129 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
130 |
- cd "${BUILD_DIR}/${libdir}" || die |
131 |
- ln -s "${llvm_libdir}"/*.so . || die |
132 |
- |
133 |
- if use test; then |
134 |
- local llvm_bindir=$(llvm-config --bindir) |
135 |
- # Force using system-installed tools. |
136 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
137 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
138 |
- fi |
139 |
-} |
140 |
- |
141 |
-src_compile() { |
142 |
- cmake_build ocaml_all |
143 |
-} |
144 |
- |
145 |
-src_test() { |
146 |
- # respect TMPDIR! |
147 |
- local -x LIT_PRESERVES_TMP=1 |
148 |
- cmake_build check-llvm-bindings-ocaml |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- DESTDIR="${D}" \ |
153 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
154 |
- |
155 |
- dodoc bindings/ocaml/README.txt |
156 |
-} |