The -ldl flag was previously set globally, it's now set for the libs
that use it.
Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.
Differential Revision: https://phabricator.services.mozilla.com/D203594
This patch updates the linux/aarch64 sources in our code base to the
SVE-disabled version. The commit version remains at 7fb8cec.
Differential Revision: https://phabricator.services.mozilla.com/D206720
Initially, *vpx_config.c* on various platform-architecture combinations
was revmoed from the input list for source list generation and later
added to the source list in moz.build. This was necessary because the
generated list was based solely on architecture, while the vpx_config.c
differed across platform-architecture combinations.
With the source list generation reworked in the previous patch, each
platform-architecture combination now has its own list. Therefore,
vpx_config.c can be directly included in the source list, simplifying
the process.
Differential Revision: https://phabricator.services.mozilla.com/D207183
Previously, source lists on different platforms were generated solely
based on architecture. Each architecture's source list would be copied
to lists on various platforms with the same architecture, with
modifications as necessary. However, with recently divergent settings
for platforms sharing the same architecture, maintaining a single list
and modifying it across different platforms becomes cumbersome.
To streamline this process and accommodate differing platform-specific
settings, this patch introduces a new approach. It generates source
lists for each platform-architecture combination. Consequently, source
lists for all platform-architecture combinations can be directly copied
without subsequent modifications. This simplifies maintenance across
different platforms and architectures.
Differential Revision: https://phabricator.services.mozilla.com/D206719
This patch is the result running 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
updating process).
Depends on D206409
Differential Revision: https://phabricator.services.mozilla.com/D206410
This disable the rust backend on iOS until we sort it out -- the old backend
still works well.
This essentially disables all device management: enumeration, recovery after
device disappearance, etc. This also disables Aggregate device support, but it
should fall back on regular duplex IO code.
The modifications done to the backend are put in a patch applied during update,
as usual. When not building for iOS, cubeb-coreaudio-rs is still used, and is
not modified by this patch.
I'm including a small assert disabling that stems from the fact that there's no
dynamic linker and so we can't do ffts for Web Audio API yet.
Differential Revision: https://phabricator.services.mozilla.com/D205449
The 'sys/auxv.h' file is not on our Windows AArch64 and OSX AArch64 CIs,
so we undefine the `HAVE_GETAUXVAL` macro to avoid building dav1d
sources with this header.
Differential Revision: https://phabricator.services.mozilla.com/D205647
This patch removes the sve-related files from libvpx sources on Windows
AArch64 platforms. The SVE-feature was disabled on the previous patch.
Differential Revision: https://phabricator.services.mozilla.com/D204801
This patch generates log files during the configuration of libvpx on
variouse platforms. These logs can be used for manual verification of
the correctness of settings. In this particular case, the log file for
win/aarch64 reveals the sve feature is disabled on win/aarch64.
The logs will be excluded to the repo, by .gitignore and .hgignore
settings.
Differential Revision: https://phabricator.services.mozilla.com/D204799
The new API requires an extra array member at the very end,
which old API users did not do.
This disables in-place RDFT transforms and instead
does the transform out of place by copying once, there shouldn't
be a significant loss of speed as our in-place FFT requires a reorder
which is likely more expensive in the majority of cases to do.
Cherry-picked from
90adef99ca
Differential Revision: https://phabricator.services.mozilla.com/D203388
Remove Fix-contrib-conftest-pngcp.dfa.patch which was a cherry picked commit from upstream to fix a build issue in the last version but is now in the current version.
The other two patches still apply cleanly but are just updating offsets/context so we don't get too far away from latest.
Differential Revision: https://phabricator.services.mozilla.com/D202702