From 62f1cf3678eac7947cb66b2d10ba16781e337e76 Mon Sep 17 00:00:00 2001 From: Ondřej Čertík Date: Wed, 28 Nov 2018 13:13:30 -0700 Subject: Add f18 package (#9183) * Add f18 package * Fix flake8 errors * Install the f18 binary into prefix.bin by hand * Add spack-build into the path * Fix the license header --- var/spack/repos/builtin/packages/f18/package.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/f18/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/f18/package.py b/var/spack/repos/builtin/packages/f18/package.py new file mode 100644 index 0000000000..8193a60a4c --- /dev/null +++ b/var/spack/repos/builtin/packages/f18/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class F18(CMakePackage): + """F18 is a front-end for Fortran intended to replace the existing front-end + in the Flang compiler""" + + homepage = "https://github.com/flang-compiler/f18" + + git = "https://github.com/flang-compiler/f18" + + version('develop', branch='master') + + depends_on('llvm@6.0.0+clang', when='@develop') + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install("spack-build/tools/f18/f18", prefix.bin) -- cgit v1.2.3-70-g09d2