summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2023-03-01 07:06:37 -0600
committerGitHub <noreply@github.com>2023-03-01 14:06:37 +0100
commitb59c8e9a436ce88fa04f412cb55fa987fd5fcfc0 (patch)
tree1186fd4a47c1fcdecb8df3e1d1dc98dbeac3cac6 /var
parent9483e34d154dc8a1935b8b721e0daf20e887c31f (diff)
downloadspack-b59c8e9a436ce88fa04f412cb55fa987fd5fcfc0.tar.gz
spack-b59c8e9a436ce88fa04f412cb55fa987fd5fcfc0.tar.bz2
spack-b59c8e9a436ce88fa04f412cb55fa987fd5fcfc0.tar.xz
spack-b59c8e9a436ce88fa04f412cb55fa987fd5fcfc0.zip
isa-l_crypto: add a new package (#35651)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/isa-l-crypto/package.py46
1 files changed, 46 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/isa-l-crypto/package.py b/var/spack/repos/builtin/packages/isa-l-crypto/package.py
new file mode 100644
index 0000000000..0a468c74f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/isa-l-crypto/package.py
@@ -0,0 +1,46 @@
+# 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 IsaLCrypto(AutotoolsPackage):
+ """ISA-L_crypto is a collection of optimized low-level functions
+ targeting storage applications. ISA-L_crypto includes:
+
+ - Multi-buffer hashes - run multiple hash jobs together on one
+ core for much better throughput than single-buffer versions.
+ + SHA1, SHA256, SHA512, MD5
+ - Multi-hash - Get the performance of multi-buffer hashing with
+ a single-buffer interface.
+ - Multi-hash + murmur - run both together.
+ - AES - block ciphers
+ + XTS, GCM, CBC
+ - Rolling hash - Hash input in a window which moves through the input
+ """
+
+ homepage = "https://github.com/intel/isa-l_crypto"
+ url = "https://github.com/intel/isa-l_crypto/archive/v2.22.0.tar.gz"
+ git = "https://github.com/intel/isa-l_crypto.git"
+ maintainers("hyoklee")
+
+ version("master", branch="master")
+
+ # Current
+ version("2.24.0", sha256="1b2d5623f75c94562222a00187c7a9de010266ab7f76e86b553b68bb654d39be")
+ version("2.23.0", sha256="4827bc3e281d19a434deaa17a172f22f38c113ffc65f5df4348062165cb89eb8")
+ version("2.22.0", sha256="c6503b455bdf0efcad74fdae4e9b30465e0e208cff2b0b34fd8f471553455527")
+
+ depends_on("autoconf", type="build")
+ depends_on("automake", type="build")
+ depends_on("libtool", type="build")
+ depends_on("m4", type="build")
+ depends_on("yasm@1.2.0:", type="build")
+ depends_on("nasm@2.13:", type="build")
+
+ def configure_args(self):
+ config_args = ["--enable-shared"]
+
+ return config_args