-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tox: Improve local-sudo-ubuntu-standard #30944
Comments
comment:1
The variant could be called |
Replying to @tobiasdiez:
Right, I forgot about the mess with New commits:
|
Commit: |
Dependencies: #30923 |
comment:8
Replying to gh-tobiasdiez in #29124:
All of these environments install system packages... The only one that does not is |
comment:9
Ah ok...than it makes sense. |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
To simplify the build rule for |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Thanks! Looks good to me, as far as I understand the changes. Just to make sure:
Is fixed as well? |
comment:18
Replying to @tobiasdiez:
Yes. This is what I meant in the previous comment - "special casing on |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:28
Rebased on top of 9.3.beta3 and rebased #29124 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:31
Merged newest version of #29124. Still needs review |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
comment:34
Merged newest #29124, needs review |
comment:36
I think #29124 isn't merged completely. |
comment:37
What does + local: case "{posargs:}" in \
+ local: config*) ;; \
+ local: *) make -k V=0 base-toolchain ;; \
+ local: esac && \
- local: make -k V=0 base-toolchain && \ do? (That is not the diff, but I think morally it is.) |
comment:38
It implements the last bullet point of the ticket description: |
comment:39
Thanks. But does it stop then or are the other things still run?: + local: make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!gap,!cysignals,!linbox,!git,!ppl,!cmake,!networkx,!symengine_py" {env:TARGETS_PRE:} {posargs:build} && \
+ local: ([ -z "{env:TARGETS_OPTIONAL:}" ] || make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!gap,!cysignals,!linbox,!git,!ppl,!cmake" {env:TARGETS_OPTIONAL:} || echo "(error ignored)" ) ' |
comment:40
I have reworded the ticket description to clarify it. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reviewer: Jonathan Kliem |
comment:42
LGTM. |
comment:43
Thank you! |
Changed branch from u/mkoeppe/tox__improve_local_sudo_ubuntu_standard to |
As a follow up to #30923, we improve the
local-sudo-...
environments as follows:local-root...
, which assume that we are already root, removing thesudo
requirement (which is not installed on github actions and not needed there)configure --enable-build-as-root
forlocal-root
DEBIAN_FRONTEND: noninteractive
to the installation of packages viaapt get
(otherwise installation oftzdata
blocks CI)tox -e local-sudo-standard -- config.status
only buildconfig.status
instead of also invokingmake base-toolchain
(which is run as the required first step of the Sage build system before something likemake numpy
can be run; see build/make/Makefile.in: base-toolchain should be a dependency of every non-base, non-toolchain package #30721).Depends on #29124
CC: @mkoeppe @dimpase @kliem
Component: porting
Author: Matthias Koeppe
Branch/Commit:
ab19133
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/30944
The text was updated successfully, but these errors were encountered: