From 7b6ca5903861f7b7e648d651f5715ba6262e2a58 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 19 Jun 2021 08:25:21 -0500 Subject: psimd: add new package (#24406) --- var/spack/repos/builtin/packages/psimd/package.py | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/psimd/package.py (limited to 'var') 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' -- cgit v1.2.3-60-g2f50