From 0e97fb8c911c65139122c144f84c5754926a9731 Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Sun, 7 Sep 2025 17:41:16 -0500 Subject: [PATCH] add back numa --- lib/build.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/build.sh b/lib/build.sh index c19eeba..9e63071 100644 --- a/lib/build.sh +++ b/lib/build.sh @@ -212,7 +212,8 @@ libopus 1.5.2 tar.gz https://github.com/xiph/opus/releases/download/v${ver}/ libdav1d 1.5.1 tar.xz http://downloads.videolan.org/videolan/dav1d/${ver}/dav1d-${ver}.${ext} libx264 latest git https://code.videolan.org/videolan/x264.git -libx265 4.1 tar.gz https://bitbucket.org/multicoreware/x265_git/downloads/x265_${ver}.${ext} cmake +libx265 4.1 tar.gz https://bitbucket.org/multicoreware/x265_git/downloads/x265_${ver}.${ext} libnuma,cmake +libnuma 2.0.19 tar.gz https://github.com/numactl/numactl/archive/refs/tags/v${ver}.${ext} cmake 3.31.8 tar.gz https://github.com/Kitware/CMake/archive/refs/tags/v${ver}.${ext} ' @@ -655,6 +656,18 @@ build_libx264() { sanitize_sysroot_libs 'libx264' || return 1 } +build_libnuma() { + # darwin does not have numa + if is_darwin; then return 0; fi + + ./autogen.sh || return 1 + ./configure \ + "${CONFIGURE_FLAGS[@]}" || return 1 + ccache make -j"${JOBS}" || return 1 + ${SUDO_MODIFY} make -j"${JOBS}" install || return 1 + sanitize_sysroot_libs 'libnuma' || return 1 +} + add_project_versioning_to_ffmpeg() { local optFile local fname='ffmpeg_opt.c'