ppopen-at: change download site to github (#19282)
This commit is contained in:
parent
cb9e0d5297
commit
ae5c0054b3
@ -5,22 +5,22 @@
|
|||||||
|
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
class PpopenAt(MakefilePackage):
|
class PpopenAt(MakefilePackage):
|
||||||
"""ppOpen-AT is a part of the ppOpenHPC"""
|
"""ppOpen-AT is a part of the ppOpenHPC"""
|
||||||
|
|
||||||
homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/"
|
homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/"
|
||||||
url = "file://{0}/ppohAT_1.0.0.tar.gz".format(os.getcwd())
|
git = "https://github.com/Post-Peta-Crest/ppOpenHPC.git"
|
||||||
|
|
||||||
version('1.0.0', sha256='2b5664839762c941e0b2dd7c15416e2dcfd5d909558cf7e4347a79ce535f3887')
|
version('master', branch='AT')
|
||||||
|
|
||||||
def edit(self, spec, prefix):
|
def edit(self, spec, prefix):
|
||||||
makefile_in = FileFilter('Makefile.in')
|
makefile_in = FileFilter('Makefile.in')
|
||||||
makefile_in.filter('gcc', spack_cxx)
|
makefile_in.filter('gcc', spack_cxx)
|
||||||
makefile_in.filter('~/ppohAT_1.0.0', prefix)
|
makefile_in.filter('~/ppohAT_1.0.0', prefix)
|
||||||
makefile_in.filter('mkdir', 'mkdir -p')
|
makefile_in.filter('mkdir', 'mkdir -p')
|
||||||
|
mkdirp('bin')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
make('install')
|
make('install')
|
||||||
|
Loading…
Reference in New Issue
Block a user