From 6699ba8769f173d9a0bc2479ee0859bff17d1d77 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 22 Mar 2018 18:09:43 +0100 Subject: Recover the old patching order for packages. (#7558) fixes #7543 This is very likely an hot-fix, while a more permanent solution is needed. See this comment for more insight: https://github.com/spack/spack/pull/7193#discussion_r176448831 on the problem. --- lib/spack/spack/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 8ea6f4415c..de2c231e90 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -1162,7 +1162,7 @@ class PackageBase(with_metaclass(PackageMeta, object)): patch_list for spec, patch_list in self.patches.items() if self.spec.satisfies(spec)) - return sorted(patchesToApply, key=lambda p: p.path_or_url) + return list(patchesToApply) def content_hash(self, content=None): """Create a hash based on the sources and logic used to build the -- cgit v1.2.3-70-g09d2