From f57c9a3b1d198241dbcd08b835c3276079bb3dd8 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 8 Jan 2023 04:37:50 +0300 Subject: [PATCH] add libhighway. --- programming/library/libhwy/actions.py | 23 +++++++++++ programming/library/libhwy/pspec.xml | 58 +++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 programming/library/libhwy/actions.py create mode 100644 programming/library/libhwy/pspec.xml diff --git a/programming/library/libhwy/actions.py b/programming/library/libhwy/actions.py new file mode 100644 index 0000000000..dd808bea89 --- /dev/null +++ b/programming/library/libhwy/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools + +i = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DBUILD_SHARED_LIBS=ON', + ' -DHWY_SYSTEM_GTEST=ON', + ' -B_build -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + cmaketools.make("-C _build") + +def install(): + cmaketools.install("-C _build") diff --git a/programming/library/libhwy/pspec.xml b/programming/library/libhwy/pspec.xml new file mode 100644 index 0000000000..20830130b7 --- /dev/null +++ b/programming/library/libhwy/pspec.xml @@ -0,0 +1,58 @@ + + + + + libhwy + https://github.com/google/highway + + fury + uglyside@yandex.ru + + Apache-2 + library + programming.library + Efficient and performance-portable vector software. + Highway is a C++ library that provides portable SIMD/vector intrinsics. + + https://github.com/google/highway/archive/refs/tags/1.0.2.tar.gz + + + cmake + gtest-devel + + + + + + + + libhwy + + libgcc + + + /usr/lib + + + + + libhwy-devel + + libhwy + + + /usr/include/hwy + /usr/lib/pkgconfig + + + + + + 2023-01-06 + 1.0.2 + First build. + fury + uglyside@yandex.ru + + +