summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/f18/package.py23
1 files changed, 23 insertions, 0 deletions
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)