Skip to content
Snippets Groups Projects
  1. Jul 19, 2018
  2. Jul 18, 2018
  3. Jul 17, 2018
  4. Jul 16, 2018
    • Todd Gamblin's avatar
      add `spack --print-shell-vars` to speed up `setup-env.[c]sh` (#8101) · 06418a3d
      Todd Gamblin authored
      - The setup-env.sh script currently makes two calls to spack, but it
        should only need to make one.
      
      - Add a fast-path shell setup routine in `main.py` to allow the shell
        setup to happen in a single, fast call that doesn't load more than it
        needs to.
      
      - This simplifies setup code, as it has to eval what Spack prints
      
      - TODO: consider eventually making the whole setup script the output of a
        spack command
      06418a3d
    • 健美猞猁's avatar
      aspera-cli: a new package. (#8715) · d006139e
      健美猞猁 authored
      * aspera-cli: a new package.
      
      * flak8.
      d006139e
  5. Jul 15, 2018
  6. Jul 14, 2018
  7. Jul 13, 2018
  8. Jul 12, 2018
    • Todd Gamblin's avatar
      locks: improve errors and permission checking · 650786c8
      Todd Gamblin authored
      - Clean up error messages for when a lock can't be created, or when an
        exclusive (write) lock can't be taken on a file.
      
      - Add a number of subclasses of LockError to distinguish timeouts from
        permission issues.
      
      - Add an explicit check to prevent the user from taking a write lock on a
        read-only file.
        - We had a check for this for when we try to *upgrade* a lock on an RO
          file, but not for an initial write lock attempt.
      
      - Add more tests for different lock permission scenarios.
      650786c8
    • Todd Gamblin's avatar
      locks: llnl.util.lock now only writes host info when in debug mode · ab794fa7
      Todd Gamblin authored
      - write locks previously wrote information about the lock holder (host
        and pid), and read locks woudl read this in.
      
      - This is really only for debugging, so only enable it then
      
      - add some tests that target debug info, and improve multiproc lock test
        output
      ab794fa7
    • Todd Gamblin's avatar
      tests: Separate tests for llnl.util.lock and spack.util.lock · b9af52a8
      Todd Gamblin authored
      - llnl.util.lock tests are now independent of Spack
      b9af52a8
Loading