(for PR #29110)
2026-01-31 15:31.27: New job: build llvm.20-static, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
on macos-homebrew-ocaml-4.14/arm64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29110/head" && git reset --hard e3b282a9
git fetch origin master
git merge --no-edit 277244107784e7f5e6b57eaae2e769caae2a4906
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url -k local --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn llvm.20-static 20-static
RUN opam reinstall llvm.20-static; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"macos-homebrew\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'llvm.20-static' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-01-31 15:31.27: Using cache hint "macos-homebrew-ocaml-4.14-llvm.20-static-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.27: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url -k local --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn llvm.20-static 20-static"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall llvm.20-static;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"macos-homebrew\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'llvm.20-static' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-31 15:31.27: Waiting for resource in pool OCluster
2026-01-31 15:31.29: Waiting for worker…
2026-01-31 16:00.53: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files: 57% (11024/19326)
Updating files: 58% (11210/19326)
Updating files: 59% (11403/19326)
Updating files: 60% (11596/19326)
Updating files: 61% (11789/19326)
Updating files: 62% (11983/19326)
Updating files: 63% (12176/19326)
Updating files: 64% (12369/19326)
Updating files: 65% (12562/19326)
Updating files: 66% (12756/19326)
Updating files: 67% (12949/19326)
Updating files: 68% (13142/19326)
Updating files: 69% (13335/19326)
Updating files: 70% (13529/19326)
Updating files: 71% (13722/19326)
Updating files: 72% (13915/19326)
Updating files: 73% (14108/19326)
Updating files: 74% (14302/19326)
Updating files: 75% (14495/19326)
Updating files: 76% (14688/19326)
Updating files: 77% (14882/19326)
Updating files: 78% (15075/19326)
Updating files: 79% (15268/19326)
Updating files: 80% (15461/19326)
Updating files: 81% (15655/19326)
Updating files: 82% (15848/19326)
Updating files: 83% (16041/19326)
Updating files: 84% (16234/19326)
Updating files: 85% (16428/19326)
Updating files: 86% (16621/19326)
Updating files: 87% (16814/19326)
Updating files: 88% (17007/19326)
Updating files: 89% (17201/19326)
Updating files: 90% (17394/19326)
Updating files: 91% (17587/19326)
Updating files: 92% (17780/19326)
Updating files: 93% (17974/19326)
Updating files: 94% (18167/19326)
Updating files: 95% (18360/19326)
Updating files: 96% (18553/19326)
Updating files: 97% (18747/19326)
Updating files: 98% (18940/19326)
Updating files: 99% (19133/19326)
Updating files: 100% (19326/19326)
Updating files: 100% (19326/19326), done.
HEAD is now at 2772441077 Merge pull request #29314 from jmid/more-fstar-ocaml-upper-bounds
Merge made by the 'ort' strategy.
packages/conf-llvm-shared/conf-llvm-shared.20/opam | 38 +++++++++++
packages/conf-llvm-shared/conf-llvm-shared.21/opam | 38 +++++++++++
packages/conf-llvm-static/conf-llvm-static.20/opam | 38 +++++++++++
packages/conf-llvm-static/conf-llvm-static.21/opam | 38 +++++++++++
packages/llvm/llvm.20-shared/opam | 77 ++++++++++++++++++++++
packages/llvm/llvm.20-static/opam | 76 +++++++++++++++++++++
packages/llvm/llvm.21-shared/opam | 77 ++++++++++++++++++++++
packages/llvm/llvm.21-static/opam | 76 +++++++++++++++++++++
8 files changed, 458 insertions(+)
create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.20/opam
create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.21/opam
create mode 100644 packages/conf-llvm-static/conf-llvm-static.20/opam
create mode 100644 packages/conf-llvm-static/conf-llvm-static.21/opam
create mode 100644 packages/llvm/llvm.20-shared/opam
create mode 100644 packages/llvm/llvm.20-static/opam
create mode 100644 packages/llvm/llvm.21-shared/opam
create mode 100644 packages/llvm/llvm.21-static/opam
(from macos-homebrew-ocaml-4.14)
2026-01-31 16:00.57 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-01-31 16:00.57 ---> using "f20a31eccb94af52fa2a3ef86b723bc6460bac3d8a92b8861915540c2498d20a" from cache
/: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-01-31 16:00.57 ---> using "7818e224f85c11d1d318abe9ba4e297be345388b7ed476f912b6900c6bae56aa" from cache
/: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=arm64 os=macos os-distribution=homebrew os-version=15.5
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-01-31 16:00.57 ---> using "625776f8b2f728a128171e2ba4372c97abd18632a07574a8412026e8be39dac5" from cache
/: (env OPAMDOWNLOADJOBS 1)
/: (env OPAMERRLOGLEN 0)
/: (env OPAMPRECISETRACKING 1)
/: (env CI true)
/: (env OPAM_REPO_CI true)
/: (run (shell "rm -rf opam-repository/"))
2026-01-31 16:00.57 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache
/: (copy (src .) (dst opam-repository/))
2026-01-31 16:01.02 ---> saved as "690778a2c4e1a6b3b64ebdc844f82b760d6ab424623403772d2e1b1b0a4d1738"
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-01-31 16:01.12 ---> saved as "3f8742ff67574e65f669fcdeac4204fcc7d1c1c28b018d71e7bae9a75d6c9a3a"
/: (run (network host)
(shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167
- #=#=#
0.0%
0.4%
-
0.8%
# 1.6%
# 2.1%
# 2.4%
## 3.2%
## 3.8%
## 4.2%
### 4.7%
### 5.1%
### 5.5%
-
#### 5.9%
#### 6.3%
#### 6.7%
##### 7.3%
##### 7.7%
##### 8.1%
###### 8.5%
###### 8.9%
###### 9.4%
####### 9.8%
####### 10.2%
-
####### 10.6%
####### 10.9%
######## 11.3%
######## 11.7%
######## 12.2%
######### 12.7%
######### 13.1%
######### 13.5%
######### 13.9%
########## 14.4%
########## 14.8%
-
########## 15.2%
########### 15.6%
########### 16.0%
########### 16.6%
############ 17.0%
############ 17.4%
############ 17.8%
############# 18.2%
############# 18.6%
############# 19.1%
############## 19.5%
-
############## 19.9%
############## 20.3%
############### 20.9%
############### 21.1%
############### 21.5%
############### 21.9%
################ 22.5%
################ 22.9%
################ 23.3%
################# 23.7%
################# 24.2%
################# 24.6%
-
################## 25.0%
################## 25.4%
################## 26.0%
################### 26.4%
################### 26.8%
################### 27.2%
################### 27.6%
#################### 28.1%
#################### 28.5%
#################### 28.9%
##################### 29.4%
-
##################### 29.8%
##################### 30.2%
##################### 30.4%
###################### 30.8%
###################### 31.1%
###################### 31.6%
####################### 32.0%
####################### 32.5%
####################### 32.7%
####################### 33.0%
-
- #####
- #
- ##########
- #####
- ## 33.3%
######################## 33.5%
######################## 33.8%
######################## 34.1%
######################## 34.5%
######################### 34.7%
######################### 35.0%
######################### 35.3%
######################### 35.5%
######################### 36.0%
########################## 36.4%
-
########################## 36.9%
########################## 37.3%
########################### 37.7%
########################### 38.1%
########################### 38.5%
############################ 39.1%
############################ 39.5%
############################ 39.9%
############################# 40.4%
############################# 40.8%
############################# 41.2%
-
############################# 41.6%
############################## 42.0%
############################## 42.4%
############################## 43.0%
############################### 43.4%
############################### 43.8%
############################### 44.2%
################################ 44.6%
################################ 45.0%
################################ 45.5%
################################# 45.9%
################################# 46.3%
-
################################# 46.9%
################################## 47.3%
################################## 47.7%
################################## 48.1%
################################## 48.5%
################################### 49.0%
################################### 49.4%
################################### 49.8%
#################################### 50.2%
#################################### 50.6%
#################################### 51.0%
-
##################################### 51.6%
##################################### 52.0%
##################################### 52.4%
###################################### 52.8%
###################################### 53.2%
###################################### 53.7%
###################################### 54.1%
####################################### 54.5%
####################################### 54.9%
####################################### 55.3%
######################################## 55.8%
-
######################################## 56.3%
######################################## 56.7%
######################################### 57.1%
######################################### 57.5%
######################################### 57.9%
########################################## 58.4%
########################################## 58.9%
########################################## 59.4%
########################################### 59.8%
########################################### 60.2%
########################################### 60.6%
-
########################################### 61.0%
############################################ 61.5%
############################################ 61.9%
############################################ 62.4%
############################################# 62.8%
############################################# 63.2%
############################################# 63.6%
############################################## 64.1%
############################################## 64.5%
############################################## 64.9%
############################################### 65.3%
-
############################################### 65.7%
############################################### 66.1%
############################################### 66.7%
################################################ 67.1%
################################################ 67.5%
################################################ 67.9%
################################################# 68.4%
################################################# 68.8%
################################################# 69.2%
################################################## 69.6%
################################################## 70.0%
-
################################################## 70.4%
################################################### 71.0%
################################################### 71.4%
################################################### 71.8%
################################################### 72.2%
#################################################### 72.7%
#################################################### 73.1%
#################################################### 73.5%
##################################################### 73.9%
##################################################### 74.3%
##################################################### 74.9%
-
###################################################### 75.3%
###################################################### 75.8%
###################################################### 76.2%
####################################################### 76.8%
####################################################### 77.2%
####################################################### 77.6%
######################################################## 78.0%
######################################################## 78.4%
######################################################## 78.9%
######################################################### 79.3%
######################################################### 79.7%
-
######################################################### 80.1%
########################################################## 80.7%
########################################################## 81.1%
########################################################## 81.5%
########################################################## 81.9%
########################################################### 82.3%
########################################################### 82.7%
########################################################### 83.1%
############################################################ 83.6%
############################################################ 84.0%
############################################################ 84.4%
-
############################################################# 84.8%
############################################################# 85.3%
############################################################# 85.8%
############################################################## 86.2%
############################################################## 86.7%
############################################################## 87.1%
############################################################### 87.5%
############################################################### 87.9%
############################################################### 88.3%
############################################################### 88.9%
################################################################ 89.3%
-
################################################################ 89.8%
################################################################ 90.2%
################################################################# 90.6%
################################################################# 91.0%
################################################################# 91.4%
################################################################## 92.0%
################################################################## 92.4%
################################################################## 92.8%
################################################################### 93.2%
################################################################### 93.6%
################################################################### 94.1%
-
#################################################################### 94.5%
#################################################################### 94.9%
#################################################################### 95.4%
#################################################################### 95.8%
##################################################################### 96.2%
##################################################################### 96.7%
##################################################################### 97.1%
###################################################################### 97.6%
###################################################################### 98.0%
###################################################################### 98.5%
####################################################################### 98.9%
-
####################################################################### 99.4%
####################################################################### 99.8%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.4.8.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- Already up-to-date.
2026-01-31 16:01.58 ---> saved as "61cec0cfd3fb1f3bc51088cddaf0d5542388f32dd772dc648771defe082e2ab2"
/: (run (shell "opam pin add -k version -yn llvm.20-static 20-static"))
llvm is now pinned to version 20-static
2026-01-31 16:02.00 ---> saved as "26343416872017bd4121cfd70700c1bc35129d38bf2f89091f5056de6f8e723e"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall llvm.20-static;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"macos-homebrew\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'llvm.20-static' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
llvm.20-static is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
- install conf-bash 1 [required by conf-llvm-static]
- install conf-cmake 1 [required by llvm]
- install conf-llvm-static 20 [required by llvm]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by llvm]
- install dune 3.21.0 [required by ctypes]
- install dune-configurator 3.21.0 [required by ctypes]
- install integers 0.7.0 [required by ctypes]
- install llvm 20-static (pinned)
- install ocamlfind 1.9.8 [required by llvm]
- install stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
cmake llvm@20 zstd
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run brew to install them (may need root/sudo access)
2. Display the recommended brew command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /opt/homebrew/bin/brew "install" "cmake" "llvm@20" "zstd"
- ==> Fetching downloads for: cmake, llvm@20 and zstd
- ✔︎ Bottle Manifest cmake (4.2.3)
- ✔︎ Bottle Manifest llvm@20 (20.1.8)
- ✔︎ Bottle Manifest zstd (1.5.7)
- ✔︎ Bottle Manifest llvm@20 (20.1.8)
- ✔︎ Bottle Manifest zstd (1.5.7)
- ✔︎ Bottle Manifest xz (5.8.2)
- ✔︎ Bottle Manifest lz4 (1.10.0)
- ✔︎ Bottle Manifest zstd (1.5.7)
- ✔︎ Bottle lz4 (1.10.0)
- ✔︎ Bottle xz (5.8.2)
- ✔︎ Bottle zstd (1.5.7)
- ✔︎ Bottle cmake (4.2.3)
- ✔︎ Bottle llvm@20 (20.1.8)
- ==> Pouring cmake--4.2.3.arm64_sequoia.bottle.tar.gz
- ==> Caveats
- To install the CMake documentation, run:
- brew install cmake-docs
- ==> Summary
- 🍺 /opt/homebrew/Cellar/cmake/4.2.3: 4,016 files, 63.6MB
- ==> Running `brew cleanup cmake`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Installing dependencies for llvm@20: xz, lz4 and zstd
- ==> Installing llvm@20 dependency: xz
- ==> Pouring xz--5.8.2.arm64_sequoia.bottle.tar.gz
- 🍺 /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB
- ==> Installing llvm@20 dependency: lz4
- ==> Pouring lz4--1.10.0.arm64_sequoia.bottle.1.tar.gz
- 🍺 /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 729.1KB
- ==> Installing llvm@20 dependency: zstd
- ==> Pouring zstd--1.5.7.arm64_sequoia.bottle.1.tar.gz
- 🍺 /opt/homebrew/Cellar/zstd/1.5.7: 32 files, 2.3MB
- ==> Installing llvm@20
- ==> Pouring llvm@20--20.1.8.arm64_sequoia.bottle.1.tar.gz
- ==> Caveats
- CLANG_CONFIG_FILE_SYSTEM_DIR: /opt/homebrew/etc/clang
- CLANG_CONFIG_FILE_USER_DIR: ~/.config/clang
-
- LLD is now provided in a separate formula:
- brew install lld@20
-
- Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`.
- If you don't want to install the CLT, you can write appropriate configuration files pointing to your
- SDK at ~/.config/clang.
-
- To use the bundled libunwind please use the following LDFLAGS:
- LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib/unwind -lunwind"
-
- To use the bundled libc++ please use the following LDFLAGS:
- LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib/c++ -L/opt/homebrew/opt/llvm@20/lib/unwind -lunwind"
-
- NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.
-
- llvm@20 is keg-only, which means it was not symlinked into /opt/homebrew,
- because this is an alternate version of another formula.
-
- If you need to have llvm@20 first in your PATH, run:
- echo 'export PATH="/opt/homebrew/opt/llvm@20/bin:$PATH"' >> ~/.profile
-
- For compilers to find llvm@20 you may need to set:
- export LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib"
- export CPPFLAGS="-I/opt/homebrew/opt/llvm@20/include"
-
- For cmake to find llvm@20 you may need to set:
- export CMAKE_PREFIX_PATH="/opt/homebrew/opt/llvm@20"
- ==> Summary
- 🍺 /opt/homebrew/Cellar/llvm@20/20.1.8: 8,796 files, 1.5GB
- ==> Running `brew cleanup llvm@20`...
- ==> Running `brew cleanup zstd`...
- ==> Caveats
- Bash completion has been installed to:
- /opt/homebrew/etc/bash_completion.d
- Emacs Lisp files have been installed to:
- /opt/homebrew/share/emacs/site-lisp/cmake
- ==> cmake
- To install the CMake documentation, run:
- brew install cmake-docs
- ==> llvm@20
- CLANG_CONFIG_FILE_SYSTEM_DIR: /opt/homebrew/etc/clang
- CLANG_CONFIG_FILE_USER_DIR: ~/.config/clang
-
- LLD is now provided in a separate formula:
- brew install lld@20
-
- Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`.
- If you don't want to install the CLT, you can write appropriate configuration files pointing to your
- SDK at ~/.config/clang.
-
- To use the bundled libunwind please use the following LDFLAGS:
- LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib/unwind -lunwind"
-
- To use the bundled libc++ please use the following LDFLAGS:
- LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib/c++ -L/opt/homebrew/opt/llvm@20/lib/unwind -lunwind"
-
- NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.
-
- llvm@20 is keg-only, which means it was not symlinked into /opt/homebrew,
- because this is an alternate version of another formula.
-
- If you need to have llvm@20 first in your PATH, run:
- echo 'export PATH="/opt/homebrew/opt/llvm@20/bin:$PATH"' >> ~/.profile
-
- For compilers to find llvm@20 you may need to set:
- export LDFLAGS="-L/opt/homebrew/opt/llvm@20/lib"
- export CPPFLAGS="-I/opt/homebrew/opt/llvm@20/include"
-
- For cmake to find llvm@20 you may need to set:
- export CMAKE_PREFIX_PATH="/opt/homebrew/opt/llvm@20"
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1 (cached)
-> retrieved conf-llvm-static.20 (cached)
-> installed conf-cmake.1
-> installed conf-bash.1
-> retrieved csexp.1.5.2 (cached)
-> installed conf-llvm-static.20
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.21.0
-> retrieved llvm.20-static (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed ocamlfind.1.9.8
-> installed ctypes.0.24.0
-> installed llvm.20-static
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-31 16:04.38 ---> saved as "5b9a81b13dbc63c84613fc6e63299cdb47db862fbc0802de80403978941c5133"
Job succeeded
2026-01-31 16:04.45: Job succeeded