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 spack --keep-stage option HOT 4
- new spack install of clingo may cause error
- Improve handling of mirroring (caching) against branches
- a few items related to envs and spack 17 support
- newer versions of spack breaks uberenv disabling things in spack/lib/spack/spack/config.py HOT 2
- Warn when spack is too recent to use original concretizer
- change from spack_commit to spack_branch ignored
- Add CI tests for the remaining two build modes
- Spack `activate` is going away in 0.19.0
- env path foward? spack install with yaml file on command line HOT 4
- Spack now defaults to `--reuse` we need to add `--fresh` HOT 2
- add spack debug option HOT 2
- Move to Spack Environments HOT 1
- Not using parser.add_option()'s default arg in spack-build-mode
- Adding a spack package repo instead of copying packages over to spack's builtin location HOT 1
- distutils.version Depreceation Warning
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.