diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-04-21 05:59:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 16:59:51 -0500 |
commit | e4805bb75ffd075318b31154fb9323ed360a8fad (patch) | |
tree | 540b937d706df07d0605ac3bb50d5a9a4aa09992 | |
parent | 45fee6edbd696ae1180dda066a8e714bc8676349 (diff) | |
download | spack-e4805bb75ffd075318b31154fb9323ed360a8fad.tar.gz spack-e4805bb75ffd075318b31154fb9323ed360a8fad.tar.bz2 spack-e4805bb75ffd075318b31154fb9323ed360a8fad.tar.xz spack-e4805bb75ffd075318b31154fb9323ed360a8fad.zip |
Add new package: sse2neon (#16168)
-rw-r--r-- | var/spack/repos/builtin/packages/sse2neon/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sse2neon/package.py b/var/spack/repos/builtin/packages/sse2neon/package.py new file mode 100644 index 0000000000..5c01d6f0ae --- /dev/null +++ b/var/spack/repos/builtin/packages/sse2neon/package.py @@ -0,0 +1,23 @@ +# 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 * +import glob + + +class Sse2neon(Package): + """A C/C++ header file that converts Intel SSE intrinsics to ARN NEON + intrinsics.""" + + homepage = "https://github.com/jratcliff63367/sse2neon" + git = "https://github.com/jratcliff63367/sse2neon.git" + + version('master', branch='master') + + def install(self, spec, prefix): + mkdirp(prefix.include) + headers = glob.glob('*.h') + for f in headers: + install(f, prefix.include) |