Coder Social home page Coder Social logo

Need for insights about uberenv HOT 2 OPEN

llnl avatar llnl commented on June 16, 2024
Need for insights

from uberenv.

Comments (2)

cyrush avatar cyrush commented on June 16, 2024

this supported the case where

  1. we had a cached build of all dependencies for CI to cut down on build times
  2. 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.

adrienbernede avatar adrienbernede commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.