ppopen-math-vis: change download site to github. (#19285)

This commit is contained in:
Toyohisa Kameyama 2020-10-14 00:08:21 +09:00 committed by GitHub
parent e65bb455eb
commit edfbfc8962
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 @@ def edit(self, spec, prefix):
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')