1 |
commit: 861a53d3c22a29127b5673c16cdea565186b63cd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 2 16:44:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 2 21:16:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861a53d3 |
7 |
|
8 |
dev-ml/llvm-ocaml: Remove 13.0.1_rc3 |
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-13.0.1_rc3.ebuild | 112 ------------------------- |
14 |
2 files changed, 113 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest |
17 |
index 01e990540752..20315e2d7eee 100644 |
18 |
--- a/dev-ml/llvm-ocaml/Manifest |
19 |
+++ b/dev-ml/llvm-ocaml/Manifest |
20 |
@@ -1,5 +1,4 @@ |
21 |
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81 |
22 |
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 |
23 |
DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2 |
24 |
-DIST llvmorg-13.0.1-rc3.tar.gz 147302323 BLAKE2B 9ac2f97568062d7dd618295a68d6e14898fcd69e2bb66290b999ceb8c12132371f4e9b59d8ba2b252e5e5cb249045676b24fc50c117b2afae20abab98f426582 SHA512 88a04ad02af2d41ec21c7a62bad21ee0e627b7276a16795875afd062ed29ac7fb4aadec5b5e48785a6502c9fd797a4b67d648a21f193c9f7602112870b10a3d1 |
25 |
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f |
26 |
|
27 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc3.ebuild |
28 |
deleted file mode 100644 |
29 |
index 5551d8610615..000000000000 |
30 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,112 +0,0 @@ |
33 |
-# Copyright 1999-2022 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 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
45 |
-SLOT="0/${PV}" |
46 |
-KEYWORDS="" |
47 |
-IUSE="debug test" |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- >=dev-lang/ocaml-4.00.0:0= |
52 |
- dev-ml/ocaml-ctypes:= |
53 |
- ~sys-devel/llvm-${PV}:=[debug?] |
54 |
- !sys-devel/llvm[ocaml(-)]" |
55 |
- |
56 |
-DEPEND="${RDEPEND}" |
57 |
-BDEPEND=" |
58 |
- dev-lang/perl |
59 |
- dev-ml/findlib |
60 |
- >=dev-util/cmake-3.16 |
61 |
- test? ( dev-ml/ounit2 ) |
62 |
- ${PYTHON_DEPS}" |
63 |
- |
64 |
-LLVM_COMPONENTS=( llvm ) |
65 |
-LLVM_USE_TARGETS=llvm |
66 |
-llvm.org_set_globals |
67 |
- |
68 |
-pkg_setup() { |
69 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
70 |
- python-any-r1_pkg_setup |
71 |
-} |
72 |
- |
73 |
-src_configure() { |
74 |
- local libdir=$(get_libdir) |
75 |
- local mycmakeargs=( |
76 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
77 |
- |
78 |
- -DBUILD_SHARED_LIBS=OFF |
79 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
80 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
81 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
82 |
- |
83 |
- # cheap hack: LLVM combines both anyway, and the only difference |
84 |
- # is that the former list is explicitly verified at cmake time |
85 |
- -DLLVM_TARGETS_TO_BUILD="" |
86 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
87 |
- -DLLVM_BUILD_TESTS=$(usex test) |
88 |
- |
89 |
- # disable various irrelevant deps and settings |
90 |
- -DLLVM_ENABLE_FFI=OFF |
91 |
- -DLLVM_ENABLE_TERMINFO=OFF |
92 |
- -DHAVE_HISTEDIT_H=NO |
93 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
94 |
- -DLLVM_ENABLE_EH=ON |
95 |
- -DLLVM_ENABLE_RTTI=ON |
96 |
- |
97 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
98 |
- |
99 |
- -DPython3_EXECUTABLE="${PYTHON}" |
100 |
- |
101 |
- # disable go bindings |
102 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
103 |
- |
104 |
- # TODO: ocamldoc |
105 |
- ) |
106 |
- |
107 |
- use test && mycmakeargs+=( |
108 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
109 |
- ) |
110 |
- |
111 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
112 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
113 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
114 |
- cmake_src_configure |
115 |
- |
116 |
- local llvm_libdir=$(llvm-config --libdir) |
117 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
118 |
- cd "${BUILD_DIR}/${libdir}" || die |
119 |
- ln -s "${llvm_libdir}"/*.so . || die |
120 |
- |
121 |
- if use test; then |
122 |
- local llvm_bindir=$(llvm-config --bindir) |
123 |
- # Force using system-installed tools. |
124 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
125 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-src_compile() { |
130 |
- cmake_build ocaml_all |
131 |
-} |
132 |
- |
133 |
-src_test() { |
134 |
- # respect TMPDIR! |
135 |
- local -x LIT_PRESERVES_TMP=1 |
136 |
- cmake_build check-llvm-bindings-ocaml |
137 |
-} |
138 |
- |
139 |
-src_install() { |
140 |
- DESTDIR="${D}" \ |
141 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
142 |
- |
143 |
- dodoc bindings/ocaml/README.txt |
144 |
-} |