summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Womeldorff <womeld@lanl.gov>2020-10-09 17:37:17 -0600
committerGitHub <noreply@github.com>2020-10-09 17:37:17 -0600
commit35a9626ae90d35b15ddbb28bd9de5ac569949b13 (patch)
tree710b8feb7c2143fc01e3392d8e5573d689ccecd4
parent012b4279b6285235a24a7b7b2fe37854a6d5957d (diff)
downloadspack-35a9626ae90d35b15ddbb28bd9de5ac569949b13.tar.gz
spack-35a9626ae90d35b15ddbb28bd9de5ac569949b13.tar.bz2
spack-35a9626ae90d35b15ddbb28bd9de5ac569949b13.tar.xz
spack-35a9626ae90d35b15ddbb28bd9de5ac569949b13.zip
Add package for FLCL (#19252)
* Initial cut at FLCL spackage. Works with GCC so far. * Update spackage to list release which supports spack. Add @agaspar as a maintainer. Default unit tests to disabled when building with spack. * Change url to 0.2. * Nope, 0.3.
-rw-r--r--var/spack/repos/builtin/packages/flcl/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flcl/package.py b/var/spack/repos/builtin/packages/flcl/package.py
new file mode 100644
index 0000000000..fcc7e673b6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/flcl/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2020 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 Flcl(CMakePackage):
+ """API for Fortran to C++ and C++ to Fortran multi-dimensional array
+ interoperability using Kokkos."""
+
+ homepage = "https://github.com/kokkos/kokkos-fortran-interop"
+ git = "https://github.com/kokkos/kokkos-fortran-interop.git"
+ url = "https://github.com/kokkos/kokkos-fortran-interop/releases/download/0.3/0.3.tar.gz"
+
+ maintainers = ['womeld', 'agaspar']
+
+ version('develop', branch='develop')
+ version('0.3', sha256='0586b981b976588d8059e5bf1bf71fb5a7153ea950c7e2b562a3d812fefee56e')
+
+ depends_on('kokkos')
+ depends_on('cmake@3.17:', type='build')
+
+ def cmake_args(self):
+ args = []
+ args.append('-DBUILD_TESTING:BOOL={0}'.format(
+ 'ON' if self.run_tests else 'OFF'))
+
+ return args