From d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 7 Mar 2018 13:45:11 +0100 Subject: Changed CudaPackage base class to PackageBase (#7416) CudaPackage is always used as a mixin. As such it should inherit from PackageBase, and not Package. --- lib/spack/spack/build_systems/cuda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py index 874b30f679..95c91f88b2 100644 --- a/lib/spack/spack/build_systems/cuda.py +++ b/lib/spack/spack/build_systems/cuda.py @@ -22,12 +22,12 @@ # License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## -from spack.package import Package +from spack.package import PackageBase from spack.directives import depends_on, variant, conflicts import platform -class CudaPackage(Package): +class CudaPackage(PackageBase): """Auxiliary class which contains CUDA variant, dependencies and conflicts and is meant to unify and facilitate its usage. """ -- cgit v1.2.3-70-g09d2