Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
tox.ini (local): Handle environment variables SKIP_BOOTSTRAP, SKIP_CO…
Browse files Browse the repository at this point in the history
…NFIGURE
  • Loading branch information
Matthias Koeppe committed Jan 10, 2021
1 parent ace4ef6 commit ddc4f0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ passenv =
# If set, we use this prefix and push to it
docker: DOCKER_PUSH_REPOSITORY
local: MAKE
# Set to 1 to skip the system package install phase
# Set to 1 to skip preliminary install phases before make is invoked
local: SKIP_SYSTEM_PKG_INSTALL
local: SKIP_BOOTSTRAP
local: SKIP_CONFIGURE
local-direct: *

setenv =
Expand Down Expand Up @@ -467,8 +469,8 @@ commands =
# #28728: gap fails its test suite.
# linbox/cysignals testsuites fail. ppl takes very long.
local: bash -c 'export PATH={env:PATH} && {env:SETENV} && \
local: {env:BOOTSTRAP} && \
local: ./configure --prefix={envdir}/local {env:CONFIGURE_ARGS} && \
local: case "{env:SKIP_BOOTSTRAP:}" in 1|y*|Y*);; *) {env:BOOTSTRAP} ;; esac && \
local: case "{env:SKIP_CONFIGURE:}" in 1|y*|Y*);; *) ./configure --prefix={envdir}/local {env:CONFIGURE_ARGS} ;; esac && \
local: case "{posargs:}" in \
local: bash) bash -i; exit ;; \
local: config*) ;; \
Expand Down

0 comments on commit ddc4f0b

Please sign in to comment.