summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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