modified:var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py (#19487)
This commit is contained in:
parent
8ac4284e66
commit
98a7cf7654
1 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
class PpopenApplFvm(MakefilePackage):
|
class PpopenApplFvm(MakefilePackage):
|
||||||
|
@ -29,14 +28,17 @@ class PpopenApplFvm(MakefilePackage):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/"
|
homepage = "http://ppopenhpc.cc.u-tokyo.ac.jp/ppopenhpc/"
|
||||||
url = "file://{0}/ppohFVM_0.3.0.tar.gz".format(os.getcwd())
|
git = "https://github.com/Post-Peta-Crest/ppOpenHPC.git"
|
||||||
|
|
||||||
version('0.3.0', sha256='4e05dd71f4eeda62c9683b7c3069a2537f3c2c7e86ba50a00d4963f41d9cbe29')
|
version('master', branch='APPL/FVM')
|
||||||
|
|
||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
depends_on('metis@:4')
|
depends_on('metis@:4')
|
||||||
|
|
||||||
def edit(self, spec, prefix):
|
def edit(self, spec, prefix):
|
||||||
|
mkdirp('bin')
|
||||||
|
mkdirp('lib')
|
||||||
|
mkdirp('include')
|
||||||
fflags = ['-O3']
|
fflags = ['-O3']
|
||||||
if spec.satisfies('%gcc'):
|
if spec.satisfies('%gcc'):
|
||||||
fflags.append('-ffree-line-length-none')
|
fflags.append('-ffree-line-length-none')
|
||||||
|
|
Loading…
Reference in a new issue