Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/fix_fix_unavailable_sem_symbol_for_linux_aarch64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
libwebrtc: patch
webrtc-sys: patch
---

# fix: fix unavailable sem symbol for Linux aarch64.

#975 by @cloudwebrtc


2 changes: 1 addition & 1 deletion webrtc-sys/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use regex::Regex;
use reqwest::StatusCode;

pub const SCRATH_PATH: &str = "livekit_webrtc";
pub const WEBRTC_TAG: &str = "webrtc-24f6822-2";
pub const WEBRTC_TAG: &str = "webrtc-24f6822-3";
pub const IGNORE_DEFINES: [&str; 2] = ["CR_CLANG_REVISION", "CR_XCODE_VERSION"];

pub fn target_os() -> String {
Expand Down
6 changes: 5 additions & 1 deletion webrtc-sys/libwebrtc/build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ cd third_party

git apply "$COMMAND_DIR/patches/david_disable_gun_source_macro.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn

cd ../..
cd libyuv

git apply "$COMMAND_DIR/patches/disable_sme_for_libyuv.patch" -v --ignore-space-change --ignore-whitespace --whitespace=nowarn

cd ../../..

mkdir -p "$ARTIFACTS_DIR/lib"

Expand Down
2 changes: 1 addition & 1 deletion webrtc-sys/libwebrtc/patches/disable_sme_for_libyuv.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 3334df70..9859a121 100644
# TODO: bug 359006069 - Remove the restriction after the linker and
# compilation errors are fixed.
- libyuv_use_sme = current_cpu == "arm64" && (is_linux || is_android)
+ libyuv_use_sme = current_cpu == "arm64" && (is_linux)
+ libyuv_use_sme = false
libyuv_use_msa =
(current_cpu == "mips64el" || current_cpu == "mipsel") && mips_use_msa
libyuv_use_mmi =
Loading