Skip to content
Snippets Groups Projects
  1. Aug 13, 2020
  2. Jul 28, 2020
  3. Jul 27, 2020
  4. Jul 24, 2020
  5. Jul 23, 2020
  6. Jul 11, 2020
  7. Jul 10, 2020
    • Greg Becker's avatar
      spack install: improve error message with no args (#17454) · c2393fe5
      Greg Becker authored
      The error message was not updated when the behavior of Spack environments
      was changed to not automatically activate the local environment in #17258.
      The previous error message no longer makes sense.
      c2393fe5
    • Greg Becker's avatar
      installation: skip repository metadata for externals (#16954) · afbb4a5c
      Greg Becker authored
      When Spack installs a package, it stores repository package.py files
      for it and all of its dependencies - any package with a Spack metadata
      directory in its installation prefix.
      
      It turns out this was too broad: this ends up including external
      packages installed by Spack (e.g. installed by another Spack instance).
      Currently Spack doesn't store the namespace properly for such packages,
      so even though the package file could be fetched from the external,
      Spack is unable to locate it.
      
      This commit avoids the issue by skipping any attempt to locate and copy
      from the package repository of externals, regardless of whether they
      have a Spack repo directory.
      afbb4a5c
    • Peter Scheibel's avatar
      add public spack mirror (#17077) · e2bec750
      Peter Scheibel authored
      e2bec750
    • Todd Gamblin's avatar
      bugfix: no infinite recursion in setup-env.sh on Cray · 054e0d1d
      Todd Gamblin authored
      On Cray platforms, we rely heavily on the module system to figure out
      what targets, compilers, etc. are available. This unfortunately means
      that we shell out to the `module` command as part of platform
      initialization.
      
      Because we run subcommands in a shell, we can get infinite recursion if
      `setup-env.sh` and friends are in some init script like `.bashrc`.
      
      This fixes the infinite loop by adding guards around `setup-env.sh`,
      `setup-env.csh`, and `setup-env.fish`, to prevent recursive
      initializations of Spack. This is safe because Spack never shells out to
      itself, so we do not need it to be initialized in subshells.
      
      - [x] add recursion guard around `setup-env.sh`
      - [x] add recursion guard around `setup-env.csh`
      - [x] add recursion guard around `setup-env.fish`
      054e0d1d
    • cedricchevalier19's avatar
      Fix gcc + binutils compilation. (#9024) · c8a83661
      cedricchevalier19 authored
      
      * fix binutils deptype for gcc
      
      binutils needs to be a run dependency of gcc
      
      * Fix gcc+binutils build on RHEL7+
      
      static-libstdc++ is not available with system gcc.
      Anyway, as it is for bootstraping, we do not really care depending on
      a shared libstdc++.
      
      Co-authored-by: default avatarMichael Kuhn <michael@ikkoku.de>
      c8a83661
Loading