Skip to content
Snippets Groups Projects
  1. Aug 15, 2020
  2. Aug 13, 2020
    • Massimiliano Culpo's avatar
      Improve output of the external find command (#18017) · 31f660bd
      Massimiliano Culpo authored
      This commit adds output to the "spack external find"
      command to inform users of the result of the operation.
      
      It also fixes a bug introduced in #17804 due to the fact
      that a function was not updated to conform to the new
      packages.yaml format (_get_predefined_externals).
      Unverified
      31f660bd
    • Harmen Stoppels's avatar
      fix buildcache create for environments with uninstalled root specs (#17859) · d6587ea3
      Harmen Stoppels authored
      * Handle uninstalled rootspecs in buildcache
      
      - Do not parse specs / find matching specs when in an environment and no
      package string is provided
      - Error only when a spec.yaml or spec string are not installed. In an
      environment it is fine when the root spec does not exist.
      - When iterating through the matched specs, simply skip uninstalled
      packages
      Unverified
      d6587ea3
    • Massimiliano Culpo's avatar
      "spack config update" can handle comments in YAML files (#18045) · d2f56830
      Massimiliano Culpo authored
      fixes #18031
      
      With this fix "spack config update" can update YAML
      files that contain comments, while previously it
      couldn't.
      Unverified
      d2f56830
    • Todd Gamblin's avatar
      bump version number for 0.15.4 · 091b45c3
      Todd Gamblin authored
      091b45c3
    • Massimiliano Culpo's avatar
      Move Python 2.6 unit tests to Github Actions (#17279) · 1707448f
      Massimiliano Culpo authored
      * Run Python2.6 unit tests on Github Actions
      * Skip url tests on Python 2.6 to reduce waiting times
      * Skip foreground background tests on Python 2.6 to reduce waiting times
      * Removed references to Travis in the documentation
      * Deleted install_patchelf.sh (can be installed from repo on CentOS 6)
      1707448f
    • Patrick Gartung's avatar
      Buildcache: bindist test without invoking spack compiler wrappers. (#15687) · 4d254814
      Patrick Gartung authored
      * Buildcache:
         * Try mocking an install of quux, corge and garply using prebuilt binaries
         * Put patchelf install after ccache restore
         * Add script to install patchelf from source so it can be used on Ubuntu:Trusty which does not have a patchelf pat package. The script will skip building on macOS
         * Remove mirror at end of bindist test
         * Add patchelf to Ubuntu build env
         * Revert mock patchelf package to allow other tests to run.
         * Remove depends_on('patchelf', type='build') relying instead on
         * Test fixture to ensure patchelf is available.
      
      * Call g++ command to build libraries directly during test build
      
      * Flake8
      
      * Install patchelf in before_install stage using apt unless on Trusty where a build is done.
      
      * Add some symbolic links between packages
      
      * Flake8
      
      * Flake8:
      
      * Update mock packages to write their own source files
      
      * Create the stage because spec search does not create it any longer
      
      * updates after change of list command arguments
      
      * cleanup after merge
      
      * flake8
      4d254814
    • Todd Gamblin's avatar
      docs: document releases and branches in Spack · 30388283
      Todd Gamblin authored
      - [x] Remove references to `master` branch
      - [x] Document how release branches are structured
      - [x] Document how to make a major release
      - [x] Document how to make a point release
      - [x] Document how to do work in our release projects
      30388283
    • Todd Gamblin's avatar
      Remove references to `master` from CI · 5b63ec86
      Todd Gamblin authored
      - [x] remove master from github actions
      - [x] remove master from .travis.yml
      - [x] make `develop` the default branch for `spack ci`
      5b63ec86
    • Massimiliano Culpo's avatar
      Moved flake8, shell and documentation tests to Github Action (#17328) · fc94dde3
      Massimiliano Culpo authored
      * Move flake8 tests on Github Actions
      
      * Move shell test to Github Actions
      
      * Moved documentation build to Github Action
      
      * Don't run coverage on Python 2.6
      
      Since we get connection errors consistently on Travis
      when trying to upload coverage results for Python 2.6,
      avoid computing coverage entirely to speed-up tests.
      fc94dde3
    • Todd Gamblin's avatar
      bugfix: fix spack -V with releases/latest and shallow clones (#17884) · c05fa250
      Todd Gamblin authored
      `spack -V` stopped working when we added the `releases/latest` tag to
      track the most recent release. It started just reporting the version,
      even on a `develop` checkout. We need to tell it to *only* search for
      tags that start with `v`, so that it will ignore `releases/latest`.
      
      `spack -V` also would print out unwanted git eror output on a shallow
      clone.
      
      - [x] add `--match 'v*'` to `git describe` arguments
      - [x] route error output to `os.devnull`
      c05fa250
    • Patrick Gartung's avatar
      Buildcache create: change NoOverwriteException back to a warning as in v0.14 (#17832) · 8e2f41fe
      Patrick Gartung authored
      * Change buildcache create `NoOverwriteException` back to a warning.
      8e2f41fe
    • Todd Gamblin's avatar
      bugfix: fix spack buildcache list --allarch · 5f8ab693
      Todd Gamblin authored
      `spack buildcache list` was trying to construct an `Arch` object and
      compare it to `arch_for_spec(<spec>)`. for each spec in the buildcache.
      `Arch` objects are only intended to be constructed for the machine they
      describe. The `ArchSpec` object (part of the `Spec`) is the descriptor
      that lets us talk about architectures anywhere.
      
      - [x] Modify `spack buildcache list` and `spack buildcache install` to
            filter with `Spec` matching instead of using `Arch`.
      5f8ab693
    • Todd Gamblin's avatar
      architecture: make it easier to get a Spec for the default arch · aff0e8b5
      Todd Gamblin authored
      - [x] Make it easier to get a `Spec` with a proper `ArchSpec` from an
            `Arch` object via new `Arch.to_spec()` method.
      
      - [x] Pull `spack.architecture.default_arch()` out of
            `spack.architecture.sys_type()` so we can get an `Arch` instead of
            a string.
      aff0e8b5
    • eugeneswalker's avatar
    • Chris White's avatar
      Axom + Conduit updates (#17863) · 105caa72
      Chris White authored
      * Loosen Axom's variants, add shared variant for axom, fix clang/xlf rpath'ing problem on blueos
      
      * Fix flake8
      
      * Add main branch to list of known git branches
      Unverified
      105caa72
  3. Aug 12, 2020
  4. Aug 11, 2020
  5. Aug 10, 2020
    • Massimiliano Culpo's avatar
      Simplify the detection protocol for packages · c0d490ff
      Massimiliano Culpo authored
      Packages can implement “detect_version” to support detection
      of external instances of a package. This is generally easier
      than implementing “determine_spec_details”. The API for
      determine_version is similar: for example you can return
      “None” to indicate that an executable is not an instance
      of a package.
      
      Users may implement a “determine_variants” method for a package.
      When doing external detection, executables are grouped by version
      and each group results in a single invocation of “determine_variants”
      for the associated spec. The method returns a string specifying
      the variants for the package. The method may additionally return
      a dictionary representing extra attributes for the package.
      
      These will be stored in the spec yaml and can be retrieved
      from self.spec.extra_attributes
      
      The Spack GCC package has been updated with an implementation
      of “determine_variants” which adds the following extra
      attributes to the package: c, cxx, fortran
      c0d490ff
    • Massimiliano Culpo's avatar
      Update packages.yaml format and support configuration updates · 193e8333
      Massimiliano Culpo authored
      The YAML config for paths and modules of external packages has
      changed: the new format allows a single spec to load multiple
      modules. Spack will automatically convert from the old format
      when reading the configs (the updates do not add new essential
      properties, so this change in Spack is backwards-compatible).
      
      With this update, Spack cannot modify existing configs/environments
      without updating them (e.g. “spack config add” will fail if the
      configuration is in a format that predates this PR). The user is
      prompted to do this explicitly and commands are provided. All
      config scopes can be updated at once. Each environment must be
      updated one at a time.
      193e8333
    • Michael Kuhn's avatar
      Hotfix for config singleton initialization (#17263) · 8c132995
      Michael Kuhn authored
      Fixes #17262
      Unverified
      8c132995
  6. Aug 09, 2020
  7. Aug 07, 2020
  8. Aug 06, 2020
    • Todd Gamblin's avatar
      bugfix: fix spack -V with releases/latest and shallow clones (#17884) · 9dbe1d77
      Todd Gamblin authored
      `spack -V` stopped working when we added the `releases/latest` tag to
      track the most recent release. It started just reporting the version,
      even on a `develop` checkout. We need to tell it to *only* search for
      tags that start with `v`, so that it will ignore `releases/latest`.
      
      `spack -V` also would print out unwanted git eror output on a shallow
      clone.
      
      - [x] add `--match 'v*'` to `git describe` arguments
      - [x] route error output to `os.devnull`
      Unverified
      9dbe1d77
  9. Aug 04, 2020
  10. Aug 03, 2020
  11. Aug 02, 2020
  12. Aug 01, 2020
    • Todd Gamblin's avatar
      bugfix: fix spack buildcache list --allarch · ff27233e
      Todd Gamblin authored
      `spack buildcache list` was trying to construct an `Arch` object and
      compare it to `arch_for_spec(<spec>)`. for each spec in the buildcache.
      `Arch` objects are only intended to be constructed for the machine they
      describe. The `ArchSpec` object (part of the `Spec`) is the descriptor
      that lets us talk about architectures anywhere.
      
      - [x] Modify `spack buildcache list` and `spack buildcache install` to
            filter with `Spec` matching instead of using `Arch`.
      ff27233e
    • Todd Gamblin's avatar
      architecture: make it easier to get a Spec for the default arch · 0c48f0a1
      Todd Gamblin authored
      - [x] Make it easier to get a `Spec` with a proper `ArchSpec` from an
            `Arch` object via new `Arch.to_spec()` method.
      
      - [x] Pull `spack.architecture.default_arch()` out of
            `spack.architecture.sys_type()` so we can get an `Arch` instead of
            a string.
      0c48f0a1
  13. Jul 31, 2020
    • Massimiliano Culpo's avatar
      Move Python 2.6 unit tests to Github Actions (#17279) · 9dbad500
      Massimiliano Culpo authored
      * Run Python2.6 unit tests on Github Actions
      * Skip url tests on Python 2.6 to reduce waiting times
      * Skip foreground background tests on Python 2.6 to reduce waiting times
      * Removed references to Travis in the documentation
      * Deleted install_patchelf.sh (can be installed from repo on CentOS 6)
      Unverified
      9dbad500
  14. Jul 28, 2020
  15. Jul 27, 2020
Loading