summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-22 18:33:13 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-22 18:33:13 -0700
commit3ab56a188e83054420d9004be1c6d07276c91375 (patch)
treee2685be0339fbd8645aa0f30f2a7e18192106b85
parentd0870865817054288fbebb7dda626b6e8aeb0114 (diff)
downloadspack-3ab56a188e83054420d9004be1c6d07276c91375.tar.gz
spack-3ab56a188e83054420d9004be1c6d07276c91375.tar.bz2
spack-3ab56a188e83054420d9004be1c6d07276c91375.tar.xz
spack-3ab56a188e83054420d9004be1c6d07276c91375.zip
Fixes #980: really slow spack spec performance
- `spack spec dealii` now takse seconds rather than 18 minutes. - Slow hash (`dag_hash`) was accidentally inserted into the fast hash (`__hash__`). - Do not put the slow hash in the fast hash.
-rw-r--r--lib/spack/spack/spec.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 2cfcb7f341..7c09af4c21 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -1750,8 +1750,7 @@ class Spec(object):
self.variants,
self.architecture,
self.compiler,
- self.compiler_flags,
- self.dag_hash())
+ self.compiler_flags)
def eq_node(self, other):
"""Equality with another spec, not including dependencies."""