Skip to content
Snippets Groups Projects
  1. Apr 02, 2019
  2. Apr 01, 2019
  3. Mar 31, 2019
  4. Mar 30, 2019
  5. Mar 29, 2019
  6. Mar 28, 2019
    • Massimiliano Culpo's avatar
      Spack can be extended with external commands (#8612) · 0a006351
      Massimiliano Culpo authored
      This provides a mechanism to implement a new Spack command in a
      separate directory, and with a small configuration change point Spack
      to the new command.
      
      To register the command, the directory must be added to the
      "extensions" section of config.yaml. The command directory name must
      have the prefix "spack-", and have the following layout:
      
        spack-X/
          pytest.ini #optional, for testing
          X/
      	  cmd/
      	    name-of-command1.py
      	    name-of-command2.py
      	    ...
          tests/ #optional
            conftest.py
      	  test_name-of-command1.py
          templates/ #optional jinja templates, if needed
      
      And in config.yaml:
      
        config:
          extensions:
            - /path/to/spack-X
      
      If the extension includes tests, you can run them via spack by adding
      the --extension option, like "spack test --extension=X"
      0a006351
    • Kelly (KT) Thompson's avatar
      Random123 - provide a patch to fix compiles with IBM XL (#11028) · b2b91a1f
      Kelly (KT) Thompson authored
      * Newer versions of IBM XL no longer define `__xlC__`, but define `__ibmxl__`
        instead.  This one-line patch fixes this problem in Random123.
      * This patch was also provided to the Random123 maintiners
        (Random123@DEShawResearch.com). I don't expect a new release from them for a
        while, so I believe that this patch is the correct path forward (for now).
      b2b91a1f
    • Satish Balay's avatar
    • Peter Scheibel's avatar
      Consistent patch ordering (#10879) · a6511fba
      Peter Scheibel authored
      * preserve the order in which patches are applied by packages (in spite of grouping them by 'when')
      
      * add tests confirming patch order
      a6511fba
  7. Mar 27, 2019
    • Peter Scheibel's avatar
      spack chain (#8772) · 99f35c33
      Peter Scheibel authored
      * initial work to make use of an 'upstream' spack installation: this uses the DB of the upstream installation to check if a package is installed
      
      * need to query upstream dbs when adding new record to local db
      
      * prevent reindexing upstream DBs
      
      * set prefix on specs read from DB based on path stored in install record
      
      * check that Spack does not install packages that are recorded as installed in an upstream db
      
      * externals do not add their path to install records - need to use 'external_path' to get path of upstream externals
      
      * views need to check for upstream installations when linking metadata
      
      * package and spec now calculate upstream installation properties on-demand themselves rather than depending on concretization to set these properties up-front. The added tests for upstream installations don't work with this new strategy so they need to be updated
      
      * only refresh modules for local specs (not those in upstream packages); optionally generate local module files for packages installed upstream
      
      * when a user tries to locate a module file for a package installed upstream, tell them to use the upstream spack instance to locate it
      
      * support recursive upstream databases (allow upstream databases to use their own upstream databases)
      
      * separate upstream config into separate file with its own schema; each entry now also includes a name
      
      * metadata_dir is no longer customizable on a per-instance basis for YamlDirectoryLayout
      
      * treat metadata_dir as an instance variable but dont set it from kwargs; this follows several other hardcoded variables which must be consistent between upstream and downstream DBs. Also update DirectoryLayout.metadata_path to work entirely with Spec.prefix, since Spec.prefix is set from the DB when available (so metadata_path was duplicating that logic)
      99f35c33
    • Mario Melara's avatar
      Replace previous bash command to new one (#7005) · 298a55b2
      Mario Melara authored
      Prevents infinite recursion caused by sourcing `setup-env.sh` in bashrc
      298a55b2
    • Elsa Gonsiorowski, PhD's avatar
      libyogrt package: add versions, scheduler support (#10884) · 8a4e762b
      Elsa Gonsiorowski, PhD authored
      * Add latest libyogrt versions
      * Add url_for_version to handle differing url formats for different
        versions
      * Add 'scheduler' variant to configure scheduler. Currently only
        slurm can be installed with Spack. A value of 'system' indicates
        to use the scheduler installed on the system
      8a4e762b
  8. Mar 26, 2019
Loading