Skip to content

Commit

Permalink
sys-devel/crossdev: add 20241202
Browse files Browse the repository at this point in the history
Sam James (3):
      crossdev: nvptx: disable irrelevant languages and force necessary ones on
      crossdev: nvptx: don't force on openmp as it affects stage1 too
      crossdev: nvptx: enable zlib+zstd for LTO

Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Dec 2, 2024
1 parent 835717c commit 453e85f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-devel/crossdev/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST crossdev-20240921.tar.xz 31008 BLAKE2B 9daeabcbeefa32624d71b86c5ddeb1f6bf6c
DIST crossdev-20241130.2.tar.xz 32856 BLAKE2B ffcca5a7743fa6217ad23c97c5b122628a5950558f16413c1f52457d6fdd942dd2207c8f01e4a7c57712c051e5d0b66eff586d1d3141bc6d917aed4151df561c SHA512 28f7e914d56f7a9658292be8e5fdc57d1d0c1d57c8f4f00cfad493261ad94fb2edf19b4c34b926a1ea7b9da12c4f6be5fb8fee338074c5c8c554f15e996e670b
DIST crossdev-20241130.3.tar.xz 32916 BLAKE2B 6bac26d79850f5ba0d12ef904e40d8540082e2bd58d7ecaf175dccea13bfb90f6cf41950b4bf3443fad8ec37e77dc8a2767aa6bd278306cedc0a48b6484c689c SHA512 b157d0b2b49fbd7b31d764ddfeeb223839cb62707b3ed88b4ce254d568640265f7dbcea96314d4fb7dd6039578450b8c0a090f5311eb22618e0c3679d77c8649
DIST crossdev-20241130.tar.xz 32832 BLAKE2B eaf14cf139abf73816f9facd090846c92d3056e34eb4d7f9bca2c2f4b22e9d3f342e93dac70b462b252b64eb86270f666d151170a6474961342a26f152919f69 SHA512 59054ba5015c18c9b80e2258391f667ad4585644009ab74b631557e8c6550270e188967515a13ab0dd8e27272c6e5f0650a77e8c100dadbc2686cd8796a62c00
DIST crossdev-20241202.tar.xz 33032 BLAKE2B 74ec859e1ae5f816397349c18f8bd98d8fae2f4de471112d70621767733a6c91dfffaabb33afc4bdabf5bed31b83a0cdf8afaffaba3e0df95f70d43cf249fb94 SHA512 c6a8c534135aa15b2005546d3f006953570de1e54ae3d3170c71bed62f044c2db79412ecde3b91fd85fca92e7c996762ba086db29c6132f6f1d9e9a48f1e79ea
40 changes: 40 additions & 0 deletions sys-devel/crossdev/crossdev-20241202.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

if [[ ${PV} == "99999999" ]] ; then
inherit git-r3
EGIT_REPO_URI="
https://anongit.gentoo.org/git/proj/crossdev.git
https://github.com/gentoo/crossdev
"
else
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi

DESCRIPTION="Gentoo Cross-toolchain generator"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev"

LICENSE="GPL-2"
SLOT="0"

RDEPEND="
>=sys-apps/portage-2.1
app-shells/bash
sys-apps/gentoo-functions
sys-apps/config-site
"
BDEPEND="app-arch/xz-utils"

src_install() {
default

if [[ ${PV} == "99999999" ]] ; then
sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
fi

dodir /usr/share/config.site.d
mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
}

0 comments on commit 453e85f

Please sign in to comment.