Skip to content

Commit 64f9702

Browse files
r-barnesmeta-codesync[bot]
authored andcommitted
clang19 manifest: add CLANG19_PREINSTALLED preinstalled.env opt-out
Summary: Hosts that bring their own clang-19 toolchain (notably the manylinux CI container, which installs clang via an LLVM-repo workflow step before getdeps runs) need a way to tell getdeps "the binary you're looking for is already on PATH, don't try to install it via deb/rpm". Add a [preinstalled.env] section listing CLANG19_PREINSTALLED. Setting that env var to any value makes the manifest report _is_satisfied_by_preinstalled_environment() = True and skip system- package install entirely. Reviewed By: bigfootjon Differential Revision: D104428966 fbshipit-source-id: 57b15cc95314949f3cb79354c2540cbe63ec634e
1 parent 362789e commit 64f9702

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • build/fbcode_builder/manifests

build/fbcode_builder/manifests/clang19

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
[manifest]
22
name = clang19
33

4+
# Allow callers to claim clang19 is already on PATH by setting
5+
# CLANG19_PREINSTALLED=1 in the environment. Used by hosts that bring
6+
# their own toolchain (e.g. the manylinux CI container which installs
7+
# clang via a workflow pre-step).
8+
[preinstalled.env]
9+
CLANG19_PREINSTALLED
10+
411
[debs.os=linux]
512
clang-19
613

0 commit comments

Comments
 (0)