Add new package: sse2neon (#16168)
This commit is contained in:
parent
45fee6edbd
commit
e4805bb75f
1 changed files with 23 additions and 0 deletions
23
var/spack/repos/builtin/packages/sse2neon/package.py
Normal file
23
var/spack/repos/builtin/packages/sse2neon/package.py
Normal file
|
@ -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)
|
Loading…
Reference in a new issue