[all-commits] [llvm/llvm-project] 5ae71e: [cmake] Build libxml from source in release (#221365)

Keith Smiley via All-commits all-commits at lists.llvm.org
Tue Sep 22 11:35:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ae71ec799917c67e9e72510e68831602fc60699
      https://github.com/llvm/llvm-project/commit/5ae71ec799917c67e9e72510e68831602fc60699
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M .github/workflows/release-binaries.yml
    M clang/cmake/caches/Release.cmake
    M llvm/cmake/modules/FindLibXml2.cmake

  Log Message:
  -----------
  [cmake] Build libxml from source in release (#221365)

With 23.x we started linking a static libxml in release builds to avoid
requiring that to be installed, and the varying names of that library on
different linux distros. That broke more than it fixed because the
static libxml in our docker images are built targeting ICU, and ICU's
shared library version changes quickly, so even between 2 ubuntu
versions the binaries will not work.

With this change we now build from source in the release build, which is
already what windows does, and we disable ICU / iconv since those don't
seem vital for the windows manifest use case. This seems easier than
building a libxml out of band in our CI images that do the release
builds.

Fixes https://github.com/llvm/llvm-project/issues/215764

Assisted-By: codex



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


More information about the All-commits mailing list