Files
llgo/doc/_readme/scripts/install_macos.sh

9 lines
342 B
Bash
Raw Normal View History

2024-11-06 10:28:08 +08:00
# shellcheck disable=all
2025-04-03 15:52:18 +08:00
DIR=$(cd "$(dirname "$0")" && pwd)
2024-11-06 10:28:08 +08:00
brew update
2025-04-02 23:27:40 +08:00
brew install llvm@19 lld@19 bdw-gc openssl cjson libffi libuv pkg-config
2024-11-06 10:28:08 +08:00
brew install python@3.12 # optional
2025-04-02 23:27:40 +08:00
brew link --overwrite lld@19 libffi
2025-04-03 15:52:18 +08:00
# curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash
cat ${DIR}/../../../install.sh | bash