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