summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2020-10-14 00:08:21 +0900
committerGitHub <noreply@github.com>2020-10-13 10:08:21 -0500
commitedfbfc89625e209e1231bad701b19a7114a3f7ae (patch)
tree58b3c9ab186b24ae7bc0a4fa6a334bd7bb31aa32
parente65bb455eb30e45f30e1cc2a81debeddcb038ad5 (diff)
downloadspack-edfbfc89625e209e1231bad701b19a7114a3f7ae.tar.gz
spack-edfbfc89625e209e1231bad701b19a7114a3f7ae.tar.bz2
spack-edfbfc89625e209e1231bad701b19a7114a3f7ae.tar.xz
spack-edfbfc89625e209e1231bad701b19a7114a3f7ae.zip
ppopen-math-vis: change download site to github. (#19285)
-rw-r--r--var/spack/repos/builtin/packages/ppopen-math-vis/package.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/ppopen-math-vis/package.py b/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
index 0082783ed5..48d838857d 100644
--- a/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
@@ -5,7 +5,6 @@
from spack import *
-import os
class PpopenMathVis(MakefilePackage):
@@ -23,9 +22,9 @@ class PpopenMathVis(MakefilePackage):
"""
homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/"
- url = "file://{0}/ppohVIS_0.2.0.tar.gz".format(os.getcwd())
+ git = "https://github.com/Post-Peta-Crest/ppOpenHPC.git"
- version('0.2.0', sha256='f816885cb9fab4802f9df55c1f1e7f8505867dc8862562bce26d193d6a0dc29d')
+ version('master', branch='MATH/VIS')
depends_on('mpi')
@@ -36,6 +35,8 @@ class PpopenMathVis(MakefilePackage):
makefile_in.filter('mpifrtpx', spec['mpi'].mpifc)
makefile_in.filter('-Kfast', '-O3')
makefile_in.filter(r'~/ppOpen-HPC/.*', prefix)
+ mkdirp('include')
+ mkdirp('lib')
def install(self, spec, prefix):
make('install')