diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/fp16/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/fp16/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fp16/package.py b/var/spack/repos/builtin/packages/fp16/package.py new file mode 100644 index 0000000000..e20b215ce1 --- /dev/null +++ b/var/spack/repos/builtin/packages/fp16/package.py @@ -0,0 +1,19 @@ +# 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 Fp16(Package): + """FP16 is a header-only library for + conversion to/from half-precision floating point formats""" + + homepage = "https://github.com/Maratyszcza/FP16/" + git = "https://github.com/Maratyszcza/FP16.git" + + version('master') + + def install(self, spec, prefix): + install_tree('include', prefix.include) |