diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-03-07 13:45:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 13:45:11 +0100 |
commit | d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea (patch) | |
tree | b4147d3bf3ebf598264465c7baaa6195eb02a8dc /lib | |
parent | da48d3113c36f3b8bab04c661d189e57cdbaf04c (diff) | |
download | spack-d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea.tar.gz spack-d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea.tar.bz2 spack-d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea.tar.xz spack-d77dd298ebb2b305ea5552dc1b27c1a35c98b1ea.zip |
Changed CudaPackage base class to PackageBase (#7416)
CudaPackage is always used as a mixin. As such it should inherit from
PackageBase, and not Package.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/cuda.py | 4 |
1 files 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. """ |