doc: brew link lld@19

This commit is contained in:
Li Jie
2025-04-02 23:27:40 +08:00
parent 847f544839
commit e52af0077b
3 changed files with 6 additions and 6 deletions

View File

@@ -14,8 +14,8 @@ runs:
shell: bash
run: |
brew update
brew install llvm@${{inputs.llvm-version}} bdw-gc openssl libffi libuv
brew link --force libffi
brew install llvm@${{inputs.llvm-version}} lld@${{inputs.llvm-version}} bdw-gc openssl libffi libuv
brew link --overwrite lld@${{inputs.llvm-version}} libffi
echo "$(brew --prefix llvm@${{inputs.llvm-version}})/bin" >> $GITHUB_PATH
# Install optional deps for demos.

View File

@@ -359,9 +359,9 @@ Follow these steps to generate the `llgo` command (its usage is the same as the
```sh
brew update
brew install llvm@19 bdw-gc openssl cjson libffi libuv pkg-config
brew install llvm@19 lld@19 bdw-gc openssl cjson libffi libuv pkg-config
brew install python@3.12 # optional
brew link --force libffi
brew link --overwrite lld@19 libffi
curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash
```

View File

@@ -1,6 +1,6 @@
# shellcheck disable=all
brew update
brew install llvm@19 bdw-gc openssl cjson libffi libuv pkg-config
brew install llvm@19 lld@19 bdw-gc openssl cjson libffi libuv pkg-config
brew install python@3.12 # optional
brew link --force libffi
brew link --overwrite lld@19 libffi
curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash