pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libhighway graphics/libhighway: import libhig...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26200f3bb6d1
branches:  trunk
changeset: 382001:26200f3bb6d1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 17 19:32:46 2022 +0000

description:
graphics/libhighway: import libhighway-0.17.0

Renamed to libhighway due to textproc/highway.

Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e.
applying the same operation to 'lanes'.

## Why Highway?

- more portable (same source code) than platform-specific intrinsics,
- works on a wider range of compilers than compiler-specific vector extensions,
- more dependable than autovectorization,
- easier to write/maintain than assembly language,
- supports runtime dispatch,
- supports variable-length vector architectures.

## Current status

Supported targets: scalar, SSE4, AVX2, AVX-512, NEON (ARMv7 and v8), WASM SIMD.
Ports to RVV and SVE/SVE2 are in progress.

diffstat:

 graphics/libhighway/DESCR         |  16 ++++++++++++++
 graphics/libhighway/Makefile      |  28 +++++++++++++++++++++++++
 graphics/libhighway/PLIST         |  43 +++++++++++++++++++++++++++++++++++++++
 graphics/libhighway/buildlink3.mk |  13 +++++++++++
 graphics/libhighway/distinfo      |   5 ++++
 5 files changed, 105 insertions(+), 0 deletions(-)

diffs (125 lines):

diff -r b76581fd8fc8 -r 26200f3bb6d1 graphics/libhighway/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libhighway/DESCR Sun Jul 17 19:32:46 2022 +0000
@@ -0,0 +1,16 @@
+Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e.
+applying the same operation to 'lanes'.
+
+## Why Highway?
+
+- more portable (same source code) than platform-specific intrinsics,
+- works on a wider range of compilers than compiler-specific vector extensions,
+- more dependable than autovectorization,
+- easier to write/maintain than assembly language,
+- supports runtime dispatch,
+- supports variable-length vector architectures.
+
+## Current status
+
+Supported targets: scalar, SSE4, AVX2, AVX-512, NEON (ARMv7 and v8), WASM SIMD.
+Ports to RVV and SVE/SVE2 are in progress.
diff -r b76581fd8fc8 -r 26200f3bb6d1 graphics/libhighway/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libhighway/Makefile      Sun Jul 17 19:32:46 2022 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2022/07/17 19:32:46 wiz Exp $
+
+DISTNAME=      highway-0.17.0
+PKGNAME=       lib${DISTNAME}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT=        highway
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/google/highway/
+COMMENT=       C++ library for SIMD
+LICENSE=       apache-2.0
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+=   -DHWY_SYSTEM_GTEST:BOOL=TRUE
+
+PKGCONFIG_OVERRIDE+=   libhwy-contrib.pc.in
+PKGCONFIG_OVERRIDE+=   libhwy-test.pc.in
+PKGCONFIG_OVERRIDE+=   libhwy.pc.in
+
+TEST_TARGET=   test
+
+BUILDLINK_API_DEPENDS.googletest+=     googletest>=1.10.0nb1
+.include "../../devel/googletest/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b76581fd8fc8 -r 26200f3bb6d1 graphics/libhighway/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libhighway/PLIST Sun Jul 17 19:32:46 2022 +0000
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/17 19:32:46 wiz Exp $
+include/hwy/aligned_allocator.h
+include/hwy/base.h
+include/hwy/cache_control.h
+include/hwy/contrib/dot/dot-inl.h
+include/hwy/contrib/image/image.h
+include/hwy/contrib/math/math-inl.h
+include/hwy/contrib/sort/disabled_targets.h
+include/hwy/contrib/sort/shared-inl.h
+include/hwy/contrib/sort/sorting_networks-inl.h
+include/hwy/contrib/sort/traits-inl.h
+include/hwy/contrib/sort/traits128-inl.h
+include/hwy/contrib/sort/vqsort-inl.h
+include/hwy/contrib/sort/vqsort.h
+include/hwy/detect_compiler_arch.h
+include/hwy/detect_targets.h
+include/hwy/foreach_target.h
+include/hwy/highway.h
+include/hwy/highway_export.h
+include/hwy/nanobenchmark.h
+include/hwy/ops/arm_neon-inl.h
+include/hwy/ops/arm_sve-inl.h
+include/hwy/ops/emu128-inl.h
+include/hwy/ops/generic_ops-inl.h
+include/hwy/ops/scalar-inl.h
+include/hwy/ops/set_macros-inl.h
+include/hwy/ops/shared-inl.h
+include/hwy/ops/wasm_128-inl.h
+include/hwy/ops/x86_128-inl.h
+include/hwy/ops/x86_256-inl.h
+include/hwy/ops/x86_512-inl.h
+include/hwy/print-inl.h
+include/hwy/print.h
+include/hwy/targets.h
+include/hwy/tests/hwy_gtest.h
+include/hwy/tests/test_util-inl.h
+include/hwy/tests/test_util.h
+lib/libhwy.a
+lib/libhwy_contrib.a
+lib/libhwy_test.a
+lib/pkgconfig/libhwy-contrib.pc
+lib/pkgconfig/libhwy-test.pc
+lib/pkgconfig/libhwy.pc
diff -r b76581fd8fc8 -r 26200f3bb6d1 graphics/libhighway/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libhighway/buildlink3.mk Sun Jul 17 19:32:46 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/07/17 19:32:46 wiz Exp $
+
+BUILDLINK_TREE+=       libhighway
+
+.if !defined(LIBHIGHWAY_BUILDLINK3_MK)
+LIBHIGHWAY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libhighway+=     libhighway>=0.12.2
+BUILDLINK_PKGSRCDIR.libhighway?=       ../../graphics/libhighway
+
+.endif # LIBHIGHWAY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libhighway
diff -r b76581fd8fc8 -r 26200f3bb6d1 graphics/libhighway/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libhighway/distinfo      Sun Jul 17 19:32:46 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/07/17 19:32:46 wiz Exp $
+
+BLAKE2s (highway-0.17.0.tar.gz) = 0797498051a9bdccac2f7451d0c5fd4ead0406cfd7f92c8cad5e5182b57862ec
+SHA512 (highway-0.17.0.tar.gz) = 7e55724c844a09a07cb981a7d8e913dcc5491e07d14ff3e7783a69060b0c470e7d5adc4f5dbeea526b3e109eea8cc9e80605d6b8d2da1b794382e56fd534ba06
+Size (highway-0.17.0.tar.gz) = 1694290 bytes



Home | Main Index | Thread Index | Old Index