summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libisal/package.py
blob: 153a623fb67fcdc47ebe05400bbbe12012643522 (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
28
29
# 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 Libisal(AutotoolsPackage):
    """ISA-L is a collection of optimized low-level functions targeting
    storage applications."""

    homepage = "https://github.com/intel/isa-l"
    url = "https://github.com/intel/isa-l/archive/v2.29.0.tar.gz"

    license("BSD-3-Clause")

    version("2.29.0", sha256="832d9747ef3f0c8c05d39e3d7fd6ee5299a844e1ee7382fc8c8b52a268f36eda")

    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")
    depends_on("m4", type="build")

    depends_on("nasm", type="build")

    def autoreconf(self, spec, prefix):
        autogen = Executable("./autogen.sh")
        autogen()