1 |
commit: 15793d1bdb4bc42f8e8018e49f8cea3ef3426d5f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 15:57:34 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 15:57:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15793d1b |
7 |
|
8 |
dev-ml/llvm-ocaml: Remove 16.0.0_pre20220926, it is too broken |
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_pre20220926.ebuild | 115 --------------------- |
14 |
2 files changed, 116 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest |
17 |
index 04542f02bf03..4d1bc3f24027 100644 |
18 |
--- a/dev-ml/llvm-ocaml/Manifest |
19 |
+++ b/dev-ml/llvm-ocaml/Manifest |
20 |
@@ -3,5 +3,4 @@ DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf |
21 |
DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda |
22 |
DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda |
23 |
DIST llvm-project-303526ef3aa211c1930be2885deae15eeeda3b18.tar.gz 167503164 BLAKE2B 143c72c58517b3e40ee74c1a0df47bfd0d0f9e71926bc8c39a007e674a08df95d0ffe05f523f97e4409b248349e13719cabbc7ac6938feebe702959e84a07243 SHA512 9aa5c86de6c6be1d26c085eb29ea283429e41330e937e5fdbd545bb3f5b996ac82cd6268701fcbbd202e89ee35f2b67e595fc595bb7383778e9ad5fd52ca10a0 |
24 |
-DIST llvm-project-4f188ef89ce5a3bee21fd0b4e8fcdf7f030f64b2.tar.gz 168720595 BLAKE2B 10bd3ac4eea674fc171f17414f6892a681529b020a5d513e075920f7792fb31d6d4a3584679ebea24bc839c2a233459b935d368c7ea57c94ad27c7c81da05cff SHA512 77ae7eb57c8c50affb516581dabe3b31e342f7ed899440521b6738aeec3b6e795c50c078bbe0f483a070961c9b5b73a7bbe28e2f109e2ce69d238ddbda8e134f |
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_pre20220926.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20220926.ebuild |
28 |
deleted file mode 100644 |
29 |
index 3f682163a64b..000000000000 |
30 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20220926.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,115 +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=${PV%%.*} 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 |
- # disable go bindings |
105 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
106 |
- |
107 |
- # TODO: ocamldoc |
108 |
- ) |
109 |
- |
110 |
- use test && mycmakeargs+=( |
111 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
112 |
- ) |
113 |
- |
114 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
115 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
116 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
117 |
- cmake_src_configure |
118 |
- |
119 |
- local llvm_libdir=$(llvm-config --libdir) |
120 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
121 |
- cd "${BUILD_DIR}/${libdir}" || die |
122 |
- ln -s "${llvm_libdir}"/*.so . || die |
123 |
- |
124 |
- if use test; then |
125 |
- local llvm_bindir=$(llvm-config --bindir) |
126 |
- # Force using system-installed tools. |
127 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
128 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
129 |
- fi |
130 |
-} |
131 |
- |
132 |
-src_compile() { |
133 |
- cmake_build ocaml_all |
134 |
-} |
135 |
- |
136 |
-src_test() { |
137 |
- # respect TMPDIR! |
138 |
- local -x LIT_PRESERVES_TMP=1 |
139 |
- cmake_build check-llvm-bindings-ocaml |
140 |
-} |
141 |
- |
142 |
-src_install() { |
143 |
- DESTDIR="${D}" \ |
144 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
145 |
- |
146 |
- dodoc bindings/ocaml/README.txt |
147 |
-} |