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

81.4. ispc-1.32.0

Intel SPMD Program Compiler — C-like SIMD kernels compiled for SSE, AVX and AVX-512, with a runtime dispatcher

1.32.0-1 · BSD-3-Clause · 1.2 SBU · 76.3 MiB, 194 files · 41_system, 975 of 1047 · ports/core/toolchain/ispc

Homepage: https://ispc.github.io/

Why it is in KDOS. The comment above lldb and ispc in script/phases/41_system/packages.d/toolchain.txt:

The debugger Rust and Zig point at; gdb is the C story. Its version is not a free choice — it must equal the llvm and clang the tree already pins, or the plugin ABI does not match.

Depends on: cmake, ninja, python3, bison, flex, m4, llvm, clang, zlib, zstd, libxml2.

Required by (2): embree, oidn.

Sources: ispc-1.32.0.tar.gz (19.3 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 ispc'

build.sh:

cmake -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DX86_ENABLED=ON \
	-DARM_ENABLED=OFF \
	-DRISCV_ENABLED=OFF \
	-DPPC64_ENABLED=OFF \
	-DWASM_ENABLED=OFF \
	-DXE_ENABLED=OFF \
	-DISPC_CROSS=OFF \
	-DISPC_STATIC_LINK=OFF \
	-DISPC_SLIM_BINARY=ON \
	-DISPC_LIBRARY=OFF \
	-DISPC_LIBRARY_JIT=OFF \
	-DISPC_INCLUDE_RT=ON \
	-DISPCRT_BUILD_CPU=ON \
	-DISPCRT_BUILD_GPU=OFF \
	-DISPCRT_BUILD_TASKING=ON \
	-DISPCRT_BUILD_TASK_MODEL=Threads \
	-DISPC_INCLUDE_UTILS=ON \
	-DISPC_INCLUDE_EXAMPLES=OFF \
	-DISPC_INCLUDE_DPCPP_EXAMPLES=OFF \
	-DISPC_INCLUDE_TESTS=OFF \
	-DISPC_INCLUDE_BENCHMARKS=OFF \
	-DISPC_PREPARE_PACKAGE=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

test -x "$PKG/usr/bin/ispc"

Programs: check_isa, ispc.

Libraries: libispcrt.so, libispcrt_device_cpu.so, libispcrt_static.a.

Directories: /usr/include/intrinsics, /usr/include/ispcrt, /usr/include/stdlib, /usr/lib/cmake/ispc, /usr/lib/cmake/ispcrt-1.32.0, /usr/share/ispc, /usr/share/licenses/ispc.