spack/lib/spack
Todd Gamblin 54201e3c02
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
2018-05-18 14:41:03 -07:00
..
docs locks: add configuration and command-line options to enable/disable locks (#7692) 2018-05-18 14:41:03 -07:00
env Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
external Capture source line number in CTest log parser 2018-05-15 05:43:07 -07:00
llnl locks: add configuration and command-line options to enable/disable locks (#7692) 2018-05-18 14:41:03 -07:00
spack locks: add configuration and command-line options to enable/disable locks (#7692) 2018-05-18 14:41:03 -07:00