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

Commit

Permalink
tox.ini: Initialize the BOOTSTRAP variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 22, 2020
1 parent 585bdac commit 756f310
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ gitlab-build-docker.log

/.tox
/prefix
worktree*
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ passenv =
local-direct: *

setenv =
# By default, we bootstrap using autotools and do not allow downloads of the configure tarball.
BOOTSTRAP=./bootstrap
# For https downloads from upstream_url listed in checksums.ini, do not
# check certificates, to avoid problems on Docker images with outdated
# certificates and with system python3 on macOS (#29418)
Expand Down Expand Up @@ -190,7 +192,7 @@ setenv =
fedora-32: BASE_TAG=32
#
# https://hub.docker.com/_/centos
# centos-6 only has autoconf 2.63 -- too old for bootstrap
# centos-6 only has autoconf 2.63 -- too old for bootstrap; download configure tarball instead.
#
centos: SYSTEM=fedora
centos: BASE_IMAGE=centos
Expand Down Expand Up @@ -408,7 +410,7 @@ commands =
docker: done'
# pathpy checksuite needs tox. #28728: gap fails its test suite.
# linbox/cysignals testsuites fail. ppl takes very long.
local: bash -c 'export PATH={env:PATH} && {env:SETENV} && {env:BOOTSTRAP:./bootstrap} && ./configure --prefix={envdir}/local {env:CONFIGURE_ARGS} && make -k V=0 base-toolchain && make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!pathpy,!gap,!cysignals,!linbox,!git,!ppl,!cmake,!networkx,!symengine_py" {env:TARGETS_PRE:} {posargs:build} && (make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!pathpy,!gap,!cysignals,!linbox,!git,!ppl,!cmake" {env:TARGETS_OPTIONAL:} || echo "(error ignored)" ) '
local: bash -c 'export PATH={env:PATH} && {env:SETENV} && {env:BOOTSTRAP} && ./configure --prefix={envdir}/local {env:CONFIGURE_ARGS} && make -k V=0 base-toolchain && make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!pathpy,!gap,!cysignals,!linbox,!git,!ppl,!cmake,!networkx,!symengine_py" {env:TARGETS_PRE:} {posargs:build} && (make -k V=0 SAGE_SPKG="sage-spkg -y -o" SAGE_CHECK=warn SAGE_CHECK_PACKAGES="!cython,!r,!python3,!nose,!pathpy,!gap,!cysignals,!linbox,!git,!ppl,!cmake" {env:TARGETS_OPTIONAL:} || echo "(error ignored)" ) '

[testenv:check_configure]
## Test that configure behaves properly
Expand Down

0 comments on commit 756f310

Please sign in to comment.