summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack8
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/spack b/bin/spack
index 7cc1b28a37..454a9a5b2d 100755
--- a/bin/spack
+++ b/bin/spack
@@ -41,14 +41,6 @@ SPACK_PREFIX = os.path.dirname(os.path.dirname(SPACK_FILE))
SPACK_LIB_PATH = os.path.join(SPACK_PREFIX, "lib", "spack")
sys.path.insert(0, SPACK_LIB_PATH)
-# Try to use system YAML if it is available, as it might have libyaml
-# support (for faster loading via C). Load it before anything in
-# lib/spack/external so it will take precedence over Spack's PyYAML.
-try:
- import yaml
-except ImportError:
- pass # ignore and use slow yaml
-
# Add external libs
SPACK_EXTERNAL_LIBS = os.path.join(SPACK_LIB_PATH, "external")
sys.path.insert(0, SPACK_EXTERNAL_LIBS)