diff options
-rw-r--r-- | var/spack/repos/builtin/packages/ppopen-math-mp/package.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/ppopen-math-mp/package.py b/var/spack/repos/builtin/packages/ppopen-math-mp/package.py index 8f62264485..317f364a71 100644 --- a/var/spack/repos/builtin/packages/ppopen-math-mp/package.py +++ b/var/spack/repos/builtin/packages/ppopen-math-mp/package.py @@ -5,7 +5,6 @@ from spack import * -import os class PpopenMathMp(MakefilePackage): @@ -26,9 +25,9 @@ class PpopenMathMp(MakefilePackage): """ homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/" - url = "file://{0}/ppohMATHMP_1.0.0.tar.gz".format(os.getcwd()) + git = "https://github.com/Post-Peta-Crest/ppOpenHPC.git" - version('1.0.0', sha256='eb85a181286e4e7d071bd7c106fa547d38cfd16df87753e9d4e38da1a84a8f22') + version('master', branch='MATH/MP') depends_on('mpi') @@ -44,6 +43,8 @@ class PpopenMathMp(MakefilePackage): makefile.write('FC_spack = {0}\n'.format(spec['mpi'].mpifc)) makefile.write('FFLAGS_spack = {0}\n'.format(' '.join(flags))) makefile.write('AR_spack = ar cr\n') + mkdirp('include') + mkdirp('lib') def install(self, spec, prefix): for d in ['include', 'lib', 'doc', 'test']: |