diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2018-10-03 17:17:13 +0200 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-10-03 17:17:13 +0200 |
commit | a97e9cb28254fc66b189a1f96fd748e8bc647317 (patch) | |
tree | 6fe805ba2c8728c753d691f4fea437eda26db4ef | |
parent | fe60b2f6def006feb1ca362006cb9b74fdb78d40 (diff) | |
download | spack-a97e9cb28254fc66b189a1f96fd748e8bc647317.tar.gz spack-a97e9cb28254fc66b189a1f96fd748e8bc647317.tar.bz2 spack-a97e9cb28254fc66b189a1f96fd748e8bc647317.tar.xz spack-a97e9cb28254fc66b189a1f96fd748e8bc647317.zip |
CLAW Compiler: Add Spack Package (#9405)
-rw-r--r-- | var/spack/repos/builtin/packages/claw/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py new file mode 100644 index 0000000000..28cef928b1 --- /dev/null +++ b/var/spack/repos/builtin/packages/claw/package.py @@ -0,0 +1,28 @@ +from spack import * + + +class Claw(CMakePackage): + """CLAW Compiler targets performance portability problem in climate and + weather application written in Fortran. From a single source code, it + generates architecture specific code decorated with OpenMP or OpenACC""" + + homepage = 'https://claw-project.github.io/' + git = 'https://github.com/claw-project/claw-compiler.git' + maintainers = ['clementval'] + + version('1.1.0', commit='16b165a443b11b025a77cad830b1280b8c9bcf01', submodules=True) + + depends_on('cmake@3.0:', type='build') + depends_on('java@7:') + depends_on('ant@1.9:') + depends_on('libxml2') + depends_on('bison') + + def cmake_args(self): + args = [] + spec = self.spec + + args.append('-DOMNI_CONF_OPTION=--with-libxml2={0}'. + format(spec['libxml2'].prefix)) + + return args |