[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] 2 commits: build: fix -Dneon=runtime
Arun Raghavan (@arun)
gitlab at gitlab.freedesktop.org
Thu May 26 14:27:14 UTC 2022
Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing
Commits:
26f44934 by Jan Palus at 2022-05-21T14:08:15+02:00
build: fix -Dneon=runtime
- - - - -
ca118694 by Jan Palus at 2022-05-21T14:10:48+02:00
build: don't detect neon again when building on aarch64
it will try to add -mfpu=neon to cflags not available on aarch64 since
neon is mandatory there
- - - - -
1 changed file:
- meson.build
Changes:
=====================================
meson.build
=====================================
@@ -192,14 +192,14 @@ if ['x86', 'x86_64'].contains(host_machine.cpu_family())
endif
neon_opt = get_option('neon')
-if neon_opt != 'no'
+if neon_opt != 'no' and not have_neon
if neon_opt != 'runtime'
if cc.compiles('#include <arm_neon.h>', args : '-mfpu=neon')
arch_cflags += ['-mfpu=neon', '-DWEBRTC_HAS_NEON']
have_neon = true
endif
else
- neon_opt += ['-DWEBRTC_DETECT_NEON', '-mfpu=neon']
+ arch_cflags += ['-DWEBRTC_DETECT_NEON', '-mfpu=neon']
have_neon = true
endif
endif
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/e31340c243f034e26e1e876f3f32fc842f5e5b5b...ca1186946d3c9d08229c02cc7a46c3caf766ca2e
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/e31340c243f034e26e1e876f3f32fc842f5e5b5b...ca1186946d3c9d08229c02cc7a46c3caf766ca2e
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20220526/bc30a8b2/attachment.htm>
More information about the pulseaudio-commits
mailing list