Repository navigation
Conversation
Linux build: NativeOperatorGurobiTests.cpp was added using the old
operator API where functions like const_expr, variable, square, power,
piecewise, step, and max took a shared_ptr<Universe> (or an extra
universe arg). The recent "Derive universe" commit series changed them
to take const Universe& and dropped the universe arg from square, power,
piecewise, and step entirely. Updated the test to dereference uni
(*uni) where a reference is needed and remove the now-redundant universe
args. For max({e1,e2}, *uni) used the initializer_list overload to keep
the native-Gurobi path working (max(ExprPtr,ExprPtr) exists but goes
through a different code path that doesn't exercise useGurobiNativeMax).
Mac/wheels build: Homebrew updated llvm to 22.1.8 on 2026-07-05. Its
libc++ now fully implements std::format, which interacts with Homebrew's
fmt library in a way that makes fmt::format invisible in several fbthrift
compiler source files (scope_identifier.cc, token.cc, print_ast.cc).
Pinned to llvm@20 to match the Linux CI LLVM version (clang 20, set in
before_all_linux.sh). Rejected patching fbthrift sources or pinning fmt
because the breakage is in the LLVM/libc++/fmt interaction, not in fmt
or fbthrift individually, and llvm@20 is proven-stable. Updated
CC/CXX paths in getdeps_mac.yml, before_all_macos.sh, and wheels.yml.
docker-explorer build: docker compose validation rejected provenance and
sbom keys in services.app.build. These are BuildKit-level flags, not
Compose spec properties, so they don't belong in docker-compose.yml.
Removed them; BuildKit provenance/SBOM attestation defaults are fine
for our CI builds.
Restores the provenance: false and sbom: false fields in services.app.build. These were removed in the previous commit due to a docker compose schema validation error, but the user wants them retained.
|
@r-barnes has imported this pull request. If you are a Meta employee, you can view this in D110694730. |
The previous attempt pinned llvm@20 to avoid fmt::format disappearing in fbthrift sources with LLVM 22.1.8. That broke folly linking: Homebrew's folly bottles are compiled against LLVM 22's libc++, so mixing with LLVM 20 produces arm64 symbol-not-found linker errors. Root cause: Homebrew's system fmt (v11/v12, shared library) sets -DFMT_SHARED in fbthrift's compile flags. With LLVM 22.1.8's libc++ (which now fully implements std::format), fmt@11/12 compiled as a shared lib makes fmt::format invisible in fbthrift's compiler sources. Fix: Remove fmt from the [homebrew] section of manifests/fmt so getdeps builds fmt 12.1.0 from source on Mac, as it already does on Linux. The source build produces a static library (BUILD_SHARED_LIBS is off by default), which means -DFMT_SHARED is not set and fmt::format is fully header-inline — compatible with LLVM 22's libc++. Reverted the llvm@20 pin; Mac stays on brew install llvm (LLVM 22) to keep ABI compatibility with Homebrew's folly/boost/openssl bottles. Rejected: patching fbthrift source files to #include <fmt/format.h> or replace fmt::format with std::format — fragile across fbthrift HEAD updates. The manifest change is robust and matches Linux behavior.
2 tasks
r-barnes
added a commit
that referenced
this pull request
Jul 7, 2026
#47 pinned llvm@20 as the Mac fmt::format fix, but that broke folly linking because Homebrew's folly bottles are compiled against LLVM 22's libc++. Revert to brew install llvm (LLVM 22) in getdeps_mac.yml, before_all_macos.sh, and wheels.yml.
meta-codesync Bot
pushed a commit
to meta/folly
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/fboss
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/CacheLib
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookexperimental/edencommon
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/mvfst
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookexperimental/moxygen
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in #47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the #47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). Pull Request resolved: #48 Test Plan: - [ ] Mac build passes - [ ] All wheels-macos passes Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/sapling
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/BGP
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/fbthrift
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookexperimental/rust-shed
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookincubator/fizz
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookincubator/hsthrift
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/openr
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to facebookincubator/katran
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/proxygen
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/fb303
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/wangle
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/hhvm
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
meta-codesync Bot
pushed a commit
to meta/watchman
that referenced
this pull request
Jul 7, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
zerox80
pushed a commit
to zerox80/mvfst
that referenced
this pull request
Oct 16, 2026
Summary: The `llvm@20` pin that landed in meta/rebalancer#47 breaks Mac builds. Homebrew's folly bottles are compiled against LLVM 22's libc++; linking against LLVM 20 produces `ld: symbol(s) not found for architecture arm64` on libfolly. The correct fix (which was developed but didn't make it into the meta/rebalancer#47 squash merge) is to: 1. Revert the `llvm@20` pin back to `brew install llvm` (LLVM 22) in `getdeps_mac.yml`, `before_all_macos.sh`, and `wheels.yml` 2. Remove `fmt` from `[homebrew]` in `manifests/fmt` so getdeps builds fmt 12.1.0 from source as a static library — no `-DFMT_SHARED`, so `fmt::format` stays header-inline and visible under LLVM 22's libc++ This matches Linux behavior (getdeps already builds fmt from source there). X-link: meta/rebalancer#48 Reviewed By: yangneu2015 Differential Revision: D110918926 Pulled By: r-barnes fbshipit-source-id: fd15b2f83f14bd8c6077a6ecf210eeebf106e459
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three independent CI failures broke main on 2026-07-05:
Linux build:
NativeOperatorGurobiTests.cppwas added using the old operator API. The recent "Derive universe" commit series changedconst_expr/variableto takeconst Universe&(notshared_ptr) and dropped the universe arg fromsquare,power,piecewise, andstepentirely. Updated the test to dereference*uniwhere needed and remove the now-redundant args. ForNativeMax, switched from the nonexistent 3-argmax(ExprPtr, ExprPtr, universe)tomax({e1, e2}, *uni)(initializer_list overload) to keep the native-Gurobi code path exercised.Mac/wheels build: Homebrew pushed LLVM 22.1.8 on 2026-07-05. Its libc++ now fully implements
std::format, breakingfmt::formatvisibility in several fbthrift compiler source files. Pinned tollvm@20(matching the Linux CI LLVM version) ingetdeps_mac.yml,before_all_macos.sh, andwheels.yml.docker-explorer: No code change — reverted after user review.
The release/TestPyPI failure (OIDC trusted publisher claim mismatch due to repo move from
facebookincubator/tofacebook/) was fixed on the PyPI side, no code change needed.Test plan
linuxworkflow)macworkflow)wheelsworkflow)