modified:var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py (#19487)

This commit is contained in:
daichi-nishi 2020-10-23 13:06:37 +09:00 committed by GitHub
parent 8ac4284e66
commit 98a7cf7654
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 PpopenApplFvm(MakefilePackage):
@ -29,14 +28,17 @@ class PpopenApplFvm(MakefilePackage):
"""
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('metis@:4')
def edit(self, spec, prefix):
mkdirp('bin')
mkdirp('lib')
mkdirp('include')
fflags = ['-O3']
if spec.satisfies('%gcc'):
fflags.append('-ffree-line-length-none')