Skip to content

Update ARM architecture handling in setup.py for better compatibility #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025

Conversation

zhouzaiqing
Copy link
Contributor

add macos build & install support.

if arch.find('arm') >= 0: ap_sources = [src for src in ap_sources if src.find('mips.') < 0 and src.find('sse') < 0] define_macros.append(('WEBRTC_HAS_NEON', None)) if arch.find('arm64') >= 0: define_macros.remove(('WEBRTC_LINUX', None)) define_macros.append(('WEBRTC_MAC', None)) define_macros.append(('WEBRTC_ARCH_ARM64', None)) define_macros.append(('WEBRTC_CLOCK_TYPE_REALTIME', None)) extra_compile_args.clear() else: if set_compile_flags: extra_compile_args.append('-mfloat-abi=hard') extra_compile_args.append('-mfpu=neon')

@xiongyihui xiongyihui merged commit 66d46b5 into xiongyihui:master May 7, 2025
@xiongyihui
Copy link
Owner

Merged, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants