mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
add back numa
This commit is contained in:
15
lib/build.sh
15
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}
|
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
|
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}
|
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
|
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() {
|
add_project_versioning_to_ffmpeg() {
|
||||||
local optFile
|
local optFile
|
||||||
local fname='ffmpeg_opt.c'
|
local fname='ffmpeg_opt.c'
|
||||||
|
|||||||
Reference in New Issue
Block a user