forked from NVIDIA/nemoclaw-community
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblender-5.1.2-arm64-dgx.patch
More file actions
42 lines (42 loc) · 2.01 KB
/
Copy pathblender-5.1.2-arm64-dgx.patch
File metadata and controls
42 lines (42 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff --git a/build_files/build_environment/cmake/wayland_weston.cmake b/build_files/build_environment/cmake/wayland_weston.cmake
index 54c99ba8..cbe2c42b 100644
--- a/build_files/build_environment/cmake/wayland_weston.cmake
+++ b/build_files/build_environment/cmake/wayland_weston.cmake
@@ -27,6 +27,9 @@ ExternalProject_Add(external_wayland_weston
-Dbackend-default=headless # For tests.
-Dbackend-drm-screencast-vaapi=false
-Dbackend-drm=false
+ -Dbackend-wayland=false
+ -Dbackend-x11=false
+ -Drenderer-gl=false
-Dbackend-pipewire=false
-Dbackend-rdp=false
-Dbackend-vnc=false
diff --git a/build_files/cmake/platform/dependency_targets.cmake b/build_files/cmake/platform/dependency_targets.cmake
index bc068e9c..5f296878 100644
--- a/build_files/cmake/platform/dependency_targets.cmake
+++ b/build_files/cmake/platform/dependency_targets.cmake
@@ -244,6 +244,10 @@ if(WITH_CODEC_FFMPEG)
target_compile_definitions(bf_deps_optional_ffmpeg INTERFACE WITH_FFMPEG)
target_include_directories(bf_deps_optional_ffmpeg SYSTEM INTERFACE ${FFMPEG_INCLUDE_DIRS})
target_link_libraries(bf_deps_optional_ffmpeg INTERFACE ${FFMPEG_LIBRARIES})
+ if(UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)$")
+ find_library(NUMA_LIBRARY numa REQUIRED)
+ target_link_libraries(bf_deps_optional_ffmpeg INTERFACE ${NUMA_LIBRARY})
+ endif()
if(WITH_IMAGE_OPENJPEG)
target_link_libraries(bf_deps_optional_ffmpeg INTERFACE ${OPENJPEG_LIBRARIES})
endif()
diff --git a/source/creator/symbols_unix.map b/source/creator/symbols_unix.map
index 6621a9b9..52af5bd4 100644
--- a/source/creator/symbols_unix.map
+++ b/source/creator/symbols_unix.map
@@ -36,6 +36,8 @@ global:
realloc*;
realpath*;
sched_*;
+ /* ARM64 GCC emits this weak std::string helper in Blender while USD imports it. */
+ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm;
valloc*;
/* Needed on FreeBSD. Uses wildcard to avoid linker error when symbols are not found. */
__progname*;