[dav1d] should not depend on nasm
on arm64
#39920
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Is your feature request related to a problem? Please describe.
When building the dav1d port on arm64 (both AArch64 Linux and macOS), the build fails with the following if the
nasm
package is not installed:This dependency is used only in x86 builds of the port, otherwise it uses GAS or Clang's integrated assembler by invoking the C compiler binary.
Proposed solution
Similarly to ports like x264, the call to
vcpkg_find_acquire_program(NASM)
should be gated behind a check for x86:vcpkg/ports/x264/portfile.cmake
Lines 58 to 75 in 7aeffc9
dav1d
similarly supports gaspp when targeting arm/arm64 Windows.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: