enable cpu runtime detection in bundled libvpx for OpenBSD/arm64
Categories
(Core :: Audio/Video, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: gaston, Assigned: chunmin)
References
Details
Attachments
(3 files)
on OpenBSD/arm64, libvpx fails to build because there's nothing for cpu runtime detection, and we hit the default codepath in https://searchfox.org/mozilla-central/source/media/libvpx/libvpx/vpx_ports/aarch64_cpudetect.c#182
we have a patch for the systemwide libvpx since a while in https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/multimedia/libvpx/patches/patch-vpx_ports_aarch64_cpudetect_c?rev=1.1&content-type=text/x-cvsweb-markup and it was ported to firefox in https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/mozilla-firefox/patches/patch-media_libvpx_libvpx_vpx_ports_aarch64_cpudetect_c?rev=1.2&content-type=text/x-cvsweb-markup
since upstream libvpx is chromium and generally doesnt welcome non-tier1-supporting patches, could this patch (or a variation of it) be added to the patches that updatebot applies ?
| Assignee | ||
Comment 1•2 years ago
|
||
This patch imports the fix to build ARM CPU runtime detection code on
OpenBSD [1] to our code base.
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D206408
| Assignee | ||
Comment 3•2 years ago
|
||
This patch runs the command below
./mach vendor media/libvpx/moz.yaml --patch-mode=only --ignore-modified
with arm_cpu_runtime_detection_code_on_openbsd.patch in moz.yaml's
patches list only (other patches are temporarily removed during the
process).
Depends on D206409
| Assignee | ||
Comment 4•2 years ago
•
|
||
Sure, I've imported the patch to our code base and I am going to test it on our CI: https://treeherder.mozilla.org/jobs?repo=try&revision=0ef36e4bf3479017890d7b51dedd5db71a415355
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/112d7c3a8432
https://hg.mozilla.org/mozilla-central/rev/26ac68728a9c
https://hg.mozilla.org/mozilla-central/rev/6d481aee635e
| Reporter | ||
Comment 7•2 years ago
|
||
thanks :chunmin!
Description
•