Skip to content

libDF tract backend fails to build on native Windows ARM64 #707

Description

@MichaelxBelmonte

Problem

The libDF tract backend cannot currently build on native Windows ARM64. Its tract-linalg dependency treats every native MSVC host as a MASM target, including aarch64-pc-windows-msvc. The generated ARM64 .S kernels therefore take the wrong assembler path: cl.exe cannot assemble them, and selecting Clang alone still leaves MASM-rendered syntax.

Upstream fix

I validated a fix that keeps MASM on Windows x64 but selects GNU rendering and Clang for Windows ARM64, producing MSVC-compatible AArch64 COFF objects:

libDF currently pins the tract crates to ^0.21.4, while the upstream fix targets current tract main (0.23.6-pre). Once tract decides how to release or backport the change, DeepFilterNet will need to consume the fixed tract version (or carry the equivalent minimal build-script change) to support native Windows ARM64 without a downstream vendored patch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions