Don't run lsb_release on linux (#26707)
Running `lsb_release` on Linux takes about 50ms because it is written in Python. We do not use the output, so this change makes use not call it.
This commit is contained in:
1
lib/spack/external/__init__.py
vendored
1
lib/spack/external/__init__.py
vendored
@@ -38,6 +38,7 @@
|
||||
* Homepage: https://pypi.python.org/pypi/distro
|
||||
* Usage: Provides a more stable linux distribution detection.
|
||||
* Version: 1.0.4 (last version supporting Python 2.6)
|
||||
* Note: Patched to disable lsb_release by default to improve Spack's startup time.
|
||||
|
||||
functools
|
||||
---------
|
||||
|
||||
Reference in New Issue
Block a user