doc: update install instructions

This commit is contained in:
Li Jie
2025-02-13 15:52:11 +08:00
parent 5cfeddef73
commit 49f2f0dbfd
3 changed files with 5 additions and 5 deletions

View File

@@ -3,4 +3,4 @@ brew update
brew install llvm@18 bdw-gc openssl cjson libffi pkg-config
brew install python@3.12 # optional
brew link --force libffi
go install -v github.com/goplus/llgo/cmd/llgo@latest
curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash

View File

@@ -4,4 +4,4 @@ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y llvm-18-dev clang-18 libclang-18-dev lld-18 pkg-config libgc-dev libssl-dev zlib1g-dev libcjson-dev libsqlite3-dev libunwind-dev
sudo apt-get install -y python3.12-dev # optional
go install -v github.com/goplus/llgo/cmd/llgo@latest
curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash