diff options
| author | Crucible <crucible@localhost> | 2026-10-10 20:48:09 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-10 20:48:09 -0500 |
| commit | f118d22765d50ec3494331d5b5c45810304ea943 (patch) | |
| tree | 74a62409a22a6d022c492e5b57c531d27704d51f /dev-lang | |
| parent | 8d50579e39879dc6ba06d9fa6829f2e9a2c77420 (diff) | |
| download | srcux-f118d22765d50ec3494331d5b5c45810304ea943.tar.gz srcux-f118d22765d50ec3494331d5b5c45810304ea943.tar.xz srcux-f118d22765d50ec3494331d5b5c45810304ea943.zip | |
Publish srcux candidate 0000000623-20261010-204610
Diffstat (limited to 'dev-lang')
| -rw-r--r-- | dev-lang/ocaml/Manifest | 1 | ||||
| -rw-r--r-- | dev-lang/ocaml/ocaml-5.5.1.ebuild | 111 | ||||
| -rw-r--r-- | dev-lang/rust-bin/rust-bin-1.98.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-lang/rust-common/rust-common-1.98.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-lang/rust/rust-1.98.1.ebuild | 2 |
5 files changed, 115 insertions, 3 deletions
diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest index 43d38aa76567..493ddbae2efe 100644 --- a/dev-lang/ocaml/Manifest +++ b/dev-lang/ocaml/Manifest @@ -1,3 +1,4 @@ DIST ocaml-4.14.2.tar.gz 5505119 BLAKE2B 518c2a69ee32e1c141b574a9800a64efc445381eb2808985b5dbb9d5ec54228aa25042a1c410307c3556488ba12a751980396b0d9a01e60a1ea84ac5b52e6dd6 SHA512 61bfa7961aae02458210f10865a5703f7a50a9be2452379e820cf2dfac2c6037da553c31835145e50a776880bdeb2ec78cd7a3147d65f418e7b3e593534e8a04 DIST ocaml-5.3.0.tar.gz 6239856 BLAKE2B a790293d14a31d34b10f2fac22a416e967c2a06f64001b54665e691a6aecdb71caf60dd6217460257f8d18191551ffa01d0d3d62327c6eb9bc63c254c162752e SHA512 73817ada340bdf4091b3edd7b292bd0074c87b4836f202f48ecf0f620a00feaa70ebc9101b97155e8caa6907646dfdf21eff728fa0e14542df3b5e5436229d06 DIST ocaml-5.4.0.tar.gz 6448449 BLAKE2B 88a055ac07a7ce126b71d8a242e63b68689bb637f40f0adc08e8f0be28961f7d7a6b3a2a673a137726f5100d4a032b6bba7424b168b283553e859f1bf868b482 SHA512 3684468800f4528c9fd96ef3fdd6aa04f71b77180d3ae8045d429f96b32e23cb3a8a307762c7237b6c56c087f45b59b0dab672a31166e3de254bb0fb9b4eb588 +DIST ocaml-5.5.1.tar.gz 6611164 BLAKE2B 6e79379ea9a761e2565f46d49ccfdcb93fc6a6cea0e9efea03a33e4d49ea12591a9a73520f41f2dc77ab6f986abd09159fa748a6d073981f6db944516b0afb15 SHA512 860fc91424b0fedf8b7045a59215da732dee4def07f6fb25d1dbd09bdf3d0e892e36205788f9c4ccc04ae0d3c3ff83a7797b43c7d6aa8d06ab28f6213ce2bc56 diff --git a/dev-lang/ocaml/ocaml-5.5.1.ebuild b/dev-lang/ocaml/ocaml-5.5.1.ebuild new file mode 100644 index 000000000000..3223e9ee78b4 --- /dev/null +++ b/dev-lang/ocaml/ocaml-5.5.1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" +HOMEPAGE="https://ocaml.org/" +SRC_URI="https://caml.inria.fr/pub/distrib/ocaml-5.5/${P}.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="emacs flambda latex +ocamlopt test xemacs" + +RDEPEND="sys-libs/binutils-libs:= + !dev-ml/findlib:0/0" +BDEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +QA_FLAGS_IGNORED='/usr/lib.*/ocaml/bigarray.cmxs' + +RESTRICT="!test? ( test )" + +src_prepare() { + default + + cp "${FILESDIR}"/ocaml.conf "${T}" || die + + # OCaml generates textrels on 32-bit arches + # We can't do anything about it, but disabling it means that tests + # for OCaml-based packages won't fail on unexpected output + # bug #773226 + if use arm || use ppc || use x86 ; then + append-ldflags "-Wl,-z,notext" + fi + + # Upstream build ignores LDFLAGS in several places. + sed -i -e 's/\(^MKDLL=.*\)/\1 $(LDFLAGS)/' Makefile.config.in || die "LDFLAGS fix failed" + + # drop failing test (domain_count < nproc) + rm testsuite/tests/parallel/recommended_domain_count_unix.ml || die + + # test is not working + rm testsuite/tests/native-debugger/linux-gdb-amd64.ml || die +} + +src_configure() { + filter-lto #bug 870349 + local opt=( + --bindir="${EPREFIX}/usr/bin" + --libdir="${EPREFIX}/usr/$(get_libdir)/ocaml" + --mandir="${EPREFIX}/usr/share/man" + --prefix="${EPREFIX}/usr" + $(use_enable test ocamltest) \ + $(use_enable flambda) + ) + + econf "${opt[@]}" +} + +src_compile() { + env -u P emake world + + if use ocamlopt ; then + env -u P emake opt + env -u P emake opt.opt + fi +} + +src_test() { + emake -j + + # OCaml tests only work when run sequentially + if use ocamlopt ; then + emake -j1 ocamltest.opt + else + emake -j1 ocamltest + #ewarn "${PN} was built without 'ocamlopt' USE flag; skipping tests." + fi + + emake -j1 tests +} + +src_install() { + # OCaml generates textrels on 32-bit arches + if use arm || use ppc || use x86 ; then + export QA_TEXTRELS='.*' + fi + default + + dodir /usr/include + # Create symlink for header files + dosym "../$(get_libdir)/ocaml/caml" /usr/include/caml + dodoc Changes README.adoc + + # Create envd entry for latex input files + if use latex ; then + echo "TEXINPUTS=\"${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:\"" > "${T}"/99ocamldoc || die + doenvd "${T}"/99ocamldoc + fi + + sed -i -e "s:lib:$(get_libdir):" "${T}"/ocaml.conf || die + + # Install ocaml-rebuild portage set + insinto /usr/share/portage/config/sets + doins "${T}"/ocaml.conf +} diff --git a/dev-lang/rust-bin/rust-bin-1.98.1.ebuild b/dev-lang/rust-bin/rust-bin-1.98.1.ebuild index 4c1ae303bd26..618ce739f3d1 100644 --- a/dev-lang/rust-bin/rust-bin-1.98.1.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.98.1.ebuild @@ -24,7 +24,7 @@ else SRC_URI="$(rust_all_arch_uris "rust-${PV}") rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2026-09-03/rust-src-${PV}.tar.xz ) " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash diff --git a/dev-lang/rust-common/rust-common-1.98.1.ebuild b/dev-lang/rust-common/rust-common-1.98.1.ebuild index 1037d635a091..44d5013f245f 100644 --- a/dev-lang/rust-common/rust-common-1.98.1.ebuild +++ b/dev-lang/rust-common/rust-common-1.98.1.ebuild @@ -32,7 +32,7 @@ else verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc ) " S="${WORKDIR}/rustc-${MY_PV}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4" diff --git a/dev-lang/rust/rust-1.98.1.ebuild b/dev-lang/rust/rust-1.98.1.ebuild index fa51029e3894..0b9cd7ed23f9 100644 --- a/dev-lang/rust/rust-1.98.1.ebuild +++ b/dev-lang/rust/rust-1.98.1.ebuild @@ -61,7 +61,7 @@ else " S="${WORKDIR}/${MY_P}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi DESCRIPTION="Systems programming language originally developed by Mozilla" |
