-
Notifications
You must be signed in to change notification settings - Fork 17
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
Pip Managed Runtime Dependencies #314
Draft
mdavis36
wants to merge
33
commits into
develop
Choose a base branch
from
feature/pip-runtime-deps
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…he build and runtime.
…e to track build-requirements.
…ting build and docs requirements;
…IR; System + compiler specific cache directories; Clean targets for pip cache and envs.
…p package dependencies.
…boost back to 1.74.0; rocmcc error mitigation for building older boost.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Spheral +python variant
+python
. This will add python as a dependency for building spheral. It will also enable+python
for polytope.Build Time Deps
mpi4py
correctly.decorator
(forPYB11Generator
), as well assphinx
andsphinx-rtd-theme
.scripts/build-requirements.txt
Spheral_Python_Env
function we build a virtual environment target in the build tree with these dependencies. Allpybind11
code and documentation is generated from this environment.Runtime Deps
Spheral_Python_Env
function we can generate a Virtual Env in the Install directory fromruntime-requirements.txt
.spheral-setup-venv
will now copy only the necessary Spheral libraries into this environment at the install time.The build and runtime environment target scripts will be run on every
make
call. However after the initial installation on the firstmake
this only takes a few seconds as pip will check each time to ensure the environments satisfy their respective requirements.txt files.Caching Builds for LC
It seems as if all pip packages install from a local Livermore pypi repo. This could be very advantageous and might mean we may not have to manage cached tars ourselves.
C++ Only Builds
~python
specs).ToDo :
RELEASE_NOTES.md
with notable changes.