Massive conversion from Package to CMakePackage (#4975)

This commit is contained in:
Adam J. Stewart
2017-08-05 10:15:18 -05:00
committed by GitHub
parent 17cdb73be7
commit c7df12f698
57 changed files with 410 additions and 677 deletions

View File

@@ -26,7 +26,7 @@
from spack import *
class Panda(Package):
class Panda(CMakePackage):
"""PANDA: Parallel AdjaceNcy Decomposition Algorithm"""
homepage = "http://comopt.ifi.uni-heidelberg.de/software/PANDA/index.html"
url = "http://comopt.ifi.uni-heidelberg.de/software/PANDA/downloads/panda-2016-03-07.tar"
@@ -35,11 +35,5 @@ class Panda(Package):
# Note: Panda can also be built without MPI support
depends_on("cmake", type="build")
depends_on("mpi")
def install(self, spec, prefix):
with working_dir('spack-build', create=True):
cmake("..", *std_cmake_args)
make()
make("install")
depends_on('cmake@2.6.4:', type='build')
depends_on('mpi')