summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-19 08:25:21 -0500
committerGitHub <noreply@github.com>2021-06-19 08:25:21 -0500
commit7b6ca5903861f7b7e648d651f5715ba6262e2a58 (patch)
tree52051d4a7f6e777a64ab7611bf19d9579896a978 /var
parent62653b9c36dcb8da790ff3c1691009406cc2dca5 (diff)
downloadspack-7b6ca5903861f7b7e648d651f5715ba6262e2a58.tar.gz
spack-7b6ca5903861f7b7e648d651f5715ba6262e2a58.tar.bz2
spack-7b6ca5903861f7b7e648d651f5715ba6262e2a58.tar.xz
spack-7b6ca5903861f7b7e648d651f5715ba6262e2a58.zip
psimd: add new package (#24406)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/psimd/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/psimd/package.py b/var/spack/repos/builtin/packages/psimd/package.py
new file mode 100644
index 0000000000..b0d3b0488d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/psimd/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 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 *
+
+
+class Psimd(CMakePackage):
+ """Portable 128-bit SIMD intrinsics."""
+
+ homepage = "https://github.com/Maratyszcza/psimd"
+ git = "https://github.com/Maratyszcza/psimd.git"
+
+ version('master', branch='master')
+ version('2020-05-17', commit='072586a71b55b7f8c584153d223e95687148a900') # py-torch@1.6:1.9
+ version('2019-12-26', commit='10b4ffc6ea9e2e11668f86969586f88bc82aaefa') # py-torch@1.5
+ version('2018-09-06', commit='90a938f30ba414ada2f4b00674ee9631d7d85e19') # py-torch@1.0:1.4
+ version('2017-10-26', commit='4ac61b112252778b174575931c641bef661ab3cd') # py-torch@0.4
+
+ depends_on('cmake@2.8.12:', type='build')
+ depends_on('ninja', type='build')
+
+ generator = 'Ninja'