116.8. intel-gmmlib-22.10.2
Intel Graphics Memory Management Library for the media driver
22.10.2-1 · MIT · 1.2 SBU · 2.0 MiB, 72 files · 41_system, 601 of 1047 · ports/core/gpu/intel-gmmlib
Homepage: https://github.com/intel/gmmlib
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/gpu.txt:
The memory-management library intel-media-driver cannot build without. The version coupling is hard: media-driver 26.2.4 needs igdgmm 12.10.x.
Required by (1): intel-media-driver.
Sources: intel-gmmlib-22.10.2.tar.gz (866.2 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install intel-gmmlib'
build.sh:
export LDFLAGS="$LDFLAGS -Wl,--strip-debug"
cmake -S . -B build -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DRUN_TEST_SUITE=OFF
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libigdgmm.so.
Directories: /usr/include/igdgmm, /usr/share/licenses/intel-gmmlib.