Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

87.12. highway-1.4.0

Performance-portable SIMD library with runtime CPU dispatch

1.4.0-1 · Apache-2.0 OR BSD-3-Clause · 35.5 SBU · 10.8 MiB, 74 files · 41_system, 349 of 1047 · ports/core/devlibs/highway

Homepage: https://github.com/google/highway

Depends on: cmake, ninja.

Required by (3): kquickimageeditor, libjxl, libvips.

Sources: highway-1.4.0.tar.gz (3.5 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install highway'

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON \
	-DHWY_ENABLE_TESTS=OFF \
	-DHWY_ENABLE_EXAMPLES=OFF \
	-DHWY_ENABLE_CONTRIB=ON \
	-DHWY_ENABLE_INSTALL=ON \
	-DHWY_WARNINGS_ARE_ERRORS=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libhwy.so, libhwy_contrib.so.

Directories: /usr/include/hwy, /usr/lib/cmake/hwy, /usr/share/licenses/highway.