1 |
commit: ea41c6d415cfa605dee789fd6b0fab35403ebd7f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 26 11:07:11 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 26 11:07:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea41c6d4 |
7 |
|
8 |
dev-ml/llvm-ocaml: Remove 16.0.0_pre20221113 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-ml/llvm-ocaml/Manifest | 1 - |
13 |
.../llvm-ocaml-16.0.0_pre20221113.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 4c3b583f2fd3..1da547ced192 100644 |
18 |
--- a/dev-ml/llvm-ocaml/Manifest |
19 |
+++ b/dev-ml/llvm-ocaml/Manifest |
20 |
@@ -8,5 +8,4 @@ DIST llvm-project-15.0.5.src.tar.xz 110931004 BLAKE2B d751e3627ee26e60a1a037a4a6 |
21 |
DIST llvm-project-15.0.5.src.tar.xz.sig 566 BLAKE2B a6e7204abc912045346a36f2b349e0829a4d5b9efcb230fb0c97caa38d5159ca17ffb47ce0485cbab276a4938ff3a5c05ef9f8b0b75f4c2028d870ee33023431 SHA512 312bc09b54408a9265f8102241089b0f674be0832dd5cb1998ff13dbccbe19324d7060ba2680457118dee96a1ff390b16282677ad825d7230008014ecebe47d5 |
22 |
DIST llvm-project-7b91798a5d3a8432b296778da4efe169012fb7b4.tar.gz 170989337 BLAKE2B 1ab79554a05f8d7a74c0b4bab319c30375475d3fd089764733744fde55c65eb38967cdb19e5b0211a1543549c2bfc3c0f3d43facb7e041f51988e8a65e4448f3 SHA512 4c4d3a748b967cbc75372d0db87ac48d32271a54047ddeeb028d565fa6b7004b2ab3abd82d8ff4621e50c9410fce28c3044550cc94aaf0f6e4f672498f47aba8 |
23 |
DIST llvm-project-959c9cc7acf4d0aa433f2436e2a45b782e18022a.tar.gz 171575300 BLAKE2B 090d41a8913f8e061d297e66ca653d95e18b8da744464d7085d7a199c0a444753a82b6ff6503e142aec81be01b419323cdbe3709497738df74afa886d69fd63d SHA512 fc3b26e148ead7a07b4d1509909a42712a43b179da435b052c26a237b0d2ae88c3c8d76eaa93c415be1ed0f0b5fb55e0ad92f427a18d70bc9634a6e7d1b6a4d9 |
24 |
-DIST llvm-project-f6f1fd443f48f417de9dfe23353055f1b20d87ef.tar.gz 170625743 BLAKE2B 3add45d7e2f26659f9602b5ccc034033610921ebeb2d6d69d6f5a3d1e3af224d3f5fd42e411d1fe0d5f8249c2ad995d41a236a87eba5a72ea9b20c112faa4c2f SHA512 2b57132d156f3d6d96802f617fff3eec0df6a3b5077ddcc4f31c87829e617f3065074d80e9d26c8c1c64322e76a09321fdfc8ae1d7a84f5da9f8606125e3b635 |
25 |
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f |
26 |
|
27 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221113.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221113.ebuild |
28 |
deleted file mode 100644 |
29 |
index 3f12e090b092..000000000000 |
30 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221113.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=8 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{8..11} ) |
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 |
- |
57 |
-DEPEND=" |
58 |
- ${RDEPEND} |
59 |
-" |
60 |
-BDEPEND=" |
61 |
- ${PYTHON_DEPS} |
62 |
- dev-lang/perl |
63 |
- dev-ml/findlib |
64 |
- >=dev-util/cmake-3.16 |
65 |
-" |
66 |
- |
67 |
-LLVM_COMPONENTS=( llvm cmake third-party ) |
68 |
-LLVM_USE_TARGETS=llvm |
69 |
-llvm.org_set_globals |
70 |
- |
71 |
-pkg_setup() { |
72 |
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup |
73 |
- python-any-r1_pkg_setup |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- local libdir=$(get_libdir) |
78 |
- local mycmakeargs=( |
79 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
80 |
- |
81 |
- -DBUILD_SHARED_LIBS=OFF |
82 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
83 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
84 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
85 |
- |
86 |
- # cheap hack: LLVM combines both anyway, and the only difference |
87 |
- # is that the former list is explicitly verified at cmake time |
88 |
- -DLLVM_TARGETS_TO_BUILD="" |
89 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
90 |
- -DLLVM_BUILD_TESTS=$(usex test) |
91 |
- |
92 |
- # disable various irrelevant deps and settings |
93 |
- -DLLVM_ENABLE_FFI=OFF |
94 |
- -DLLVM_ENABLE_TERMINFO=OFF |
95 |
- -DHAVE_HISTEDIT_H=NO |
96 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
97 |
- -DLLVM_ENABLE_EH=ON |
98 |
- -DLLVM_ENABLE_RTTI=ON |
99 |
- |
100 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
101 |
- |
102 |
- -DPython3_EXECUTABLE="${PYTHON}" |
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 |
-} |