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