Comments (2)
I think this would be useful. I personally forget to add the "%" sometimes in --spec
sometimes so we should make it obvious to the user that we aren't building the project package.
Also on that note, what if the user does do --spec=<project_package>
without the "%", with this update?
While this issue is 3 years old but it does relate to #11.
from uberenv.
@white238 I would like to know more about the use case here.
I understand what you guys want, but I wonder if this is good for uberenv. It’s meant to be a specialized wrapper that sets spack up and builds you projects dependencies.
If we add the ability to install any package, it becomes a Spack wrapper: we can install anything and we may get used to rely on Uberenv instead of Spack, with several risks:
- Wanting to add support for more and more options from Spack we don’t currently need. "Hey, since we can install anything, it would be good to be able to call
spack find
to list all the specs we have", "Oh, and I’d like to be able to remove packages too". - Adding complexity to the script. The current implementation, just got simpler thanks to @chapman39, but adding the ability to install any package may require an entirely new path in the script. The evil is in the details.
- Conflicting with the core feature. I think installing a specific spec would have to be done outside the environment, otherwise the spec is added to the environment, correct ? I’m rusted with environment, but what I mean is that I’m not sure it’s as simple at it seems to keep things straightforward (and maintainable) in terms of implementation.
My alternate suggestion (or question) is: What’s the problem with using the Spack set up by Uberenv to manage your additional packages? It’s there, set up with your controlled configuration, it may require you to set some env variable to be isolated (how about that spack command wrapper @kennyweiss wanted uberenv to generate?).
from uberenv.
Related Issues (20)
- 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
- 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
- Eventually remove setting concretizer:clingo
- Add ReadTheDocs documentation for --setup-and-env-only option
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.