Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7baf27bd15e01df68926be1e9d36361e20a5fbdb
      
https://github.com/WebKit/WebKit/commit/7baf27bd15e01df68926be1e9d36361e20a5fbdb
  Author: Basuke Suzuki <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M Source/ThirdParty/dav1d/CMakeLists.txt

  Log Message:
  -----------
  Fix CMake build on arm64 broken by 317696@main (Enable ASM support in dav1d)
https://bugs.webkit.org/show_bug.cgi?id=319992
rdar://182923403

Reviewed by Alex Christensen.

317696@main ("Enable ASM support in dav1d") changed config.h so that
HAVE_ASM=1 on arm64 and updated the Xcode project to compile the arm64
.S assembly, but Source/ThirdParty/dav1d/CMakeLists.txt was left behind.
The ASM-enabled C then referenced dav1d_*_neon symbols with no assembly
compiled, breaking the arm64 CMake build.

Compile the arm64 .S files (and the generic arm/cpu.c) in the CMake build
when WTF_CPU_ARM64, mirroring the aarch64 source list in src/meson.build.
The .S files are compiled once into a dedicated OBJECT library (no BITDEPTH)
and set their own architecture via .arch, so no extra assembler flags are
needed. Other architectures keep HAVE_ASM=0 and build no assembly.

* Source/ThirdParty/dav1d/CMakeLists.txt:

Canonical link: https://commits.webkit.org/317725@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to