Opened 2 years ago

Last modified 2 years ago

#29052 closed enhancement

Create build/bin/sage-build-env-config and call it from build/make/deps; add sage --buildsh — at Version 7

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.1
Component: build Keywords:
Cc: dimpase, embray, jdemeyer, fbissey, isuruf Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/create_build_bin_sage_build_env_and_call_it_from_build_make_deps__add_sage___buildsh (Commits, GitHub, GitLab) Commit: e3e5a08b074a5546c2363a256525a1233c929c6a
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

This is part of #21707 - "Split sage-env into 5".

We set up a new configure-generated, to-be-sourced shell script build/bin/sage-build-env-config to which we move environment variable settings from src/bin/sage-env[-config] that are only needed for:

  1. Sage-the-distribution while building spkgs,
  2. Sage-the-distribution for building sagelib.

The new script is used in addition to src/bin/sage-env in these two contexts.

We add a command sage --buildsh, like sage --sh but using the larger environment.


Follow-up:

  • build/make/install contains more environment settings that should be reviewed for moving to sage-build-env-config

Change History (7)

comment:1 Changed 2 years ago by mkoeppe

  • Description modified (diff)

comment:2 Changed 2 years ago by mkoeppe

  • Description modified (diff)

comment:3 Changed 2 years ago by mkoeppe

  • Summary changed from Create build/bin/sage-build-env and call it from build/make/deps; add sage --buildsh to Create build/bin/sage-build-env-config and call it from build/make/deps; add sage --buildsh

comment:4 Changed 2 years ago by mkoeppe

  • Branch set to u/mkoeppe/create_build_bin_sage_build_env_and_call_it_from_build_make_deps__add_sage___buildsh

comment:5 Changed 2 years ago by git

  • Commit set to e3e5a08b074a5546c2363a256525a1233c929c6a

Branch pushed to git repo; I updated commit sha1. New commits:

e3e5a08build/make/deps, build/make.Makefile.in: Source build/bin/sage-build-env-config for building sagelib and for script packages

comment:6 Changed 2 years ago by mkoeppe

  • Cc dimpase embray jdemeyer fbissey added
  • Status changed from new to needs_review

Updated the branch that was on #21707.

comment:7 Changed 2 years ago by mkoeppe

  • Description modified (diff)
Note: See TracTickets for help on using tickets.