diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-03-22 18:09:43 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-03-22 10:09:43 -0700 |
commit | 6699ba8769f173d9a0bc2479ee0859bff17d1d77 (patch) | |
tree | 9a2877228148701be18115ba160be8d959fb711d /lib | |
parent | c8a8079c341b7122ac24445c4486ea5bfc6377f0 (diff) | |
download | spack-6699ba8769f173d9a0bc2479ee0859bff17d1d77.tar.gz spack-6699ba8769f173d9a0bc2479ee0859bff17d1d77.tar.bz2 spack-6699ba8769f173d9a0bc2479ee0859bff17d1d77.tar.xz spack-6699ba8769f173d9a0bc2479ee0859bff17d1d77.zip |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |