Comments (2)
this supported the case where
- we had a cached build of all dependencies for CI to cut down on build times
- but as part of CI it was very important for us to rebuild a few key dependencies as part of our process to vet changes
So it was really there as an optimization - mainly as we fought against time limits on CI services a compile times for TPLs grew.
The current logic works as follows:
All variants of any package identified in the spack_clean_packages
list will fully uninstalled.
In your example, all (for any spec) will be uninstalled.
Also, for more context -- 99% of the time, I only use an uberenv spack build for 1 set of tpls.
I will use another checkout and build space for a different spec.
Perhaps thats a bit wasteful in space, and I think others might prefer multiple builds in a single instance -- but for me it simplifies things quite a bit, since there is no possible way to confuse what sets of tpls I am using when I pick up and use the host config.
from uberenv.
Thanks for the answer!
The underlying question remains, though:
- Should Uberenv support multiple installations?
Your answer is telling me "probably". I think it should, but it may make the script a bit more complex (rigorous).
And your answer also brought another question:
- Do we still want to maintain this "time optimization feature" ?
I would say no, since we could also use upstream Spack instances to get the same result.
from uberenv.
Related Issues (20)
- Add --force option to concretizer opts
- Fix Github Actions deprecated warnings
- No docs for spack_clean, spack_clean_packages
- optparse -> argparse
- Add ability to create a useful Spack environment via command line
- Add guidance to upgrade to new Spack Environment file
- Investigate if we are adding the spec unnecessarily to the various install commands
- Add ability to build a different package than project's main HOT 2
- Command line argument --upstream not working HOT 5
- Spack environments in uberenv: handling of compiler flags HOT 3
- Move to `spack bootstrap now`
- spack envs + uberenv python issues HOT 1
- capture extra_rpaths?
- symlinking host config is broken with envs + extra spec constraints
- Add option to force creating a spack.yaml
- Always copy generated `spack.yaml`
- Verify Uberenv behavior when no `.uberenv_config.json`
- python3.12 dropping distutils
- Support multiple package repos? HOT 4
- Mirrors in uberenv cannot be defined with an url (http or oci) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uberenv.