Sam James (2):
crossdev: don't turn off openmp/fortran for nvptx
crossdev: build openmp, fortran by default for nvptx
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
'crossdev -t nvptx-none' creates a standalone cross-compiler which is needed
anyway, but by itself, it's less useful than offloading support within
host gcc, where GCC can choose to offload into that cross-compiler as
appropriate.
This could include amdgcn-amdhsa support in the future.
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
When enabling the Rust eclass, we started directly using
`llvm-r1_pkg_setup`, assuming that this combination would be
sufficicent, however due to forcing `CC` (etc) to variations
on `${CHOST}-clang" _before_ calling `llvm-r1_pkg_setup`,
these would always be forced to the newest version in
`PATH` instead of the one matching `LLVM_SLOT` due to
the eclass fixing the version before doing any `PATH`
manipulation.
To ensure a consistent build environment, we will:
1. Explicitly include `-${LLVM_SLOT}` in `CC`, `CPP`, `CXX`
2. Set these variables (and `AR` and `NM`) after `llvm-r1_pkg_setup`
has done its PATH manipulation.
Bug: https://bugs.gentoo.org/935689
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Michal Rostecki (4):
crossdev: Use libunwind and libc++ in LLVM environments
ci: Test crossdev in GitHub Actions
ci: Run the container explicitly with `docker run`
ci: Test more targets, move the testing logic to a script
Sam James (4):
crossdev: tweak GUSE_DISABLE*
crossdev: no SSP for nvptx
wrappers/emerge-wrapper: add nvptx*
crossdev: nvptx target fixes
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
We need to handle nvptx* in CTARGET in a few more places so we propagate
that we're using newlib (which is obviously right but also means we don't
then fail when building libatomic b/c libg.a is missing).
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
Sam James (1):
test-getuto: binpkgs are compressed with xz now
Zen (6):
getuto: fix 404 in tests by using 23.0 instead of 17.1
getuto: extend the quiet arg to remove permission warnings
getuto: remove no-permission-warning from the gpg.conf
getuto: add missing QUIET_ARGS
getuto: Update LASTRUNFILE on init
getuto: Fix gpg cleanup by running separate kill commands
Signed-off-by: Sam James <sam@gentoo.org>
Needs one backport to fix a test regression when not building with
debug.
I've also added an experimental dedup thing. One of the major issues
with rust is that cargo locks and requires all crates to be downloaded
offline, even if you're not using most of them because the crate
dependencies are Windows-specific. I haven't solved that, but I did
manage to remove about 40 of them by removing some workspace members
from the ruff monorepo that aren't actually part of the ruff binary in
any configuration (which means their dependencies don't need to be
locked, either). This has to be done before running pycargoebuild *and*
also done in the ebuild itself.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
distutils-r1.eclass now uses hatchling >=1.26 support for disabling
runtime use of trove_classifiers at all. It is still necessary as a
runtime dependency for the sake of people who install and run hatchling
via their user account, outside of ebuild packaging, but we no longer
need to guarantee that trove_classifiers is always ordered before
anything else during a world update.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
In the previous commit, a change was patched into setuptools to enable
skipping pypi.org specific validations we do not want. Export the
environment variable which activates this, whenever the build backend is
setuptools.
Bug: https://github.com/pypa/setuptools/issues/4459
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Trove classifiers, and their officialness, have no effect on a wheel
other than determining whether they are allowed to be uploaded to a
non-Gentoo website, and enabling the search index of that other site.
We don't need this, and we don't need to validate it. Setuptools will
disable validation if both of:
- network downloads failed
- cannot successfully import the `trove_classifiers` module
occurs. If trove-classifiers is installed by coincidence, this breaks
builds when it doesn't get updated on an extremely rapid basis and some
random package in dev-python/* uses a classifier that was made official
just the other day.
We could solve this another way, by making dev-python/setuptools
PDEPEND on trove-classifiers, and constantly bump the >= dependency. But
this is a pointless hassle. In fact, we're actually doing it, and it's
been a pointless hassle. We need to maintain up-to-the-minute minimum
bounds on the very latest version, and bump setuptools to a new -rX just
to update the minimum version of a package it doesn't even depend on. We
need to package new versions of trove-classifiers before *other* Gentoo
Devs outside of the python project, can successfully revbump their own
packages. We need to coordinate stabilization of trove-classifiers in
combination with those other packages. We force people to install a
pointless package. We overuse PDEPEND.
Instead, apply a *rejected* upstream patch to add an environment
variable that skips this specific validation code block entirely.
Upstream doesn't want to maintain code that contains branches, so we
will maintain it locally.
Since it is Gentoo-specific, the variable is also prefixed with GENTOO_
and is expected to be used solely inside of distribution packaging while
not affecting manual usage of setuptools outside of portage.
Bug: https://github.com/pypa/setuptools/issues/4459
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>