summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sse2neon/package.py
blob: 5c01d6f0aec9d1c6afe52c278cc7cc060a4d5934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)