pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libhighway



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 17 19:32:46 UTC 2022

Added Files:
        pkgsrc/graphics/libhighway: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libhighway/DESCR \
    pkgsrc/graphics/libhighway/Makefile pkgsrc/graphics/libhighway/PLIST \
    pkgsrc/graphics/libhighway/buildlink3.mk \
    pkgsrc/graphics/libhighway/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/libhighway/DESCR
diff -u /dev/null pkgsrc/graphics/libhighway/DESCR:1.1
--- /dev/null   Sun Jul 17 19:32:46 2022
+++ pkgsrc/graphics/libhighway/DESCR    Sun Jul 17 19:32:46 2022
@@ -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.
Index: pkgsrc/graphics/libhighway/Makefile
diff -u /dev/null pkgsrc/graphics/libhighway/Makefile:1.1
--- /dev/null   Sun Jul 17 19:32:46 2022
+++ pkgsrc/graphics/libhighway/Makefile Sun Jul 17 19:32:46 2022
@@ -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"
Index: pkgsrc/graphics/libhighway/PLIST
diff -u /dev/null pkgsrc/graphics/libhighway/PLIST:1.1
--- /dev/null   Sun Jul 17 19:32:46 2022
+++ pkgsrc/graphics/libhighway/PLIST    Sun Jul 17 19:32:46 2022
@@ -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
Index: pkgsrc/graphics/libhighway/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/libhighway/buildlink3.mk:1.1
--- /dev/null   Sun Jul 17 19:32:46 2022
+++ pkgsrc/graphics/libhighway/buildlink3.mk    Sun Jul 17 19:32:46 2022
@@ -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
Index: pkgsrc/graphics/libhighway/distinfo
diff -u /dev/null pkgsrc/graphics/libhighway/distinfo:1.1
--- /dev/null   Sun Jul 17 19:32:46 2022
+++ pkgsrc/graphics/libhighway/distinfo Sun Jul 17 19:32:46 2022
@@ -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