Package inheritance: Find patch files defined in parent classes using MRO (#12051)
Fixes #8908, 11844 Use Python MRO to find patch files from parent classes.
This commit is contained in:

committed by
Tamara Dahlgren

parent
4b6de78062
commit
4f9131fdc2
@@ -0,0 +1,11 @@
|
||||
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.pkg.builtin.mock.patch import Patch
|
||||
|
||||
|
||||
class PatchInheritance(Patch):
|
||||
def install(self, spec, prefix):
|
||||
Patch.install(self, spec, prefix)
|
Reference in New Issue
Block a user