summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/vectorclass-version2/package.py
blob: f78ae229bc6d2fab534d31c5046e85308af23ae0 (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
24
25
26
27
# Copyright 2013-2023 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.package import *


class VectorclassVersion2(Package):
    """This is a C++ class library for using the Single Instruction Multiple
    Data (SIMD) instructions to improve performance on modern microprocessors
    with the x86 or x86/64 instruction set on Windows, Linux, and Mac platforms."""

    homepage = "https://www.agner.org/optimize/#vectorclass"
    url = "https://github.com/vectorclass/version2/archive/refs/tags/v2.01.04.tar.gz"

    maintainers("haralmha")

    license("Apache-2.0")

    version("2.01.04", sha256="7885c343b1af9eb940f4debdd7cd19544130a06ed70e0000e1a8471fb9c15118")

    def install(self, spec, prefix):
        # Put all cpp files to an include folder
        # (makes a filesystem view with this
        # package in it less noisy)
        install_tree(".", prefix.include)