diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-05-18 14:41:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 14:41:03 -0700 |
commit | 54201e3c0216656b5b933fa2e5c36b9afcb1dc4f (patch) | |
tree | 7eb5796d84a28c9fe4b556cb3e8354aab4a95f3c /bin/sbang | |
parent | 780cc9d72da9165470290393aeee278ad04e93de (diff) | |
download | spack-54201e3c0216656b5b933fa2e5c36b9afcb1dc4f.tar.gz spack-54201e3c0216656b5b933fa2e5c36b9afcb1dc4f.tar.bz2 spack-54201e3c0216656b5b933fa2e5c36b9afcb1dc4f.tar.xz spack-54201e3c0216656b5b933fa2e5c36b9afcb1dc4f.zip |
locks: add configuration and command-line options to enable/disable locks (#7692)
- spack.util.lock behaves the same as llnl.util.lock, but Lock._lock and
Lock._unlock do nothing.
- can be disabled with a control variable.
- configuration options can enable/disable locking:
- `locks` option in spack configuration controls whether Spack will use filesystem locks or not.
- `-l` and `-L` command-line options can force-disable or force-enable locking.
- Spack will check for group- and world-writability before disabling
locks, and it will not allow a group- or world-writable instance to
have locks disabled.
- update documentation
Diffstat (limited to 'bin/sbang')
0 files changed, 0 insertions, 0 deletions