From 8c5f91556937ef44c0d2acd3d4082b9ce3cc4765 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Thu, 3 Apr 2025 16:00:52 +0800 Subject: [PATCH] update installation scripts and docs --- README.md | 11 ++++++----- doc/_readme/scripts/install_macos.sh | 3 +-- doc/_readme/scripts/install_ubuntu.sh | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9b0ae2db..13299b88 100644 --- a/README.md +++ b/README.md @@ -362,8 +362,8 @@ brew update brew install llvm@19 lld@19 bdw-gc openssl cjson libffi libuv pkg-config brew install python@3.12 # optional brew link --overwrite lld@19 libffi -curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash - +# curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash +./install.sh ``` ### on Linux @@ -378,8 +378,8 @@ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install -y llvm-19-dev clang-19 libclang-19-dev lld-19 pkg-config libgc-dev libssl-dev zlib1g-dev libcjson-dev libsqlite3-dev libunwind-dev libuv1-dev sudo apt-get install -y python3.12-dev # optional -curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash - +#curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash +./install.sh ``` #### Alpine Linux @@ -427,9 +427,10 @@ cd llgo go install -v ./cmd/... go install -v ./chore/... # compile all tools except pydump export LLGO_ROOT=$PWD -cd ./_xtool +cd _xtool llgo install ./... # compile pydump go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch + ``` ## Key modules diff --git a/doc/_readme/scripts/install_macos.sh b/doc/_readme/scripts/install_macos.sh index 1563e894..b6bebd35 100644 --- a/doc/_readme/scripts/install_macos.sh +++ b/doc/_readme/scripts/install_macos.sh @@ -1,8 +1,7 @@ # shellcheck disable=all -DIR=$(cd "$(dirname "$0")" && pwd) brew update brew install llvm@19 lld@19 bdw-gc openssl cjson libffi libuv pkg-config brew install python@3.12 # optional brew link --overwrite lld@19 libffi # curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash -cat ${DIR}/../../../install.sh | bash +./install.sh \ No newline at end of file diff --git a/doc/_readme/scripts/install_ubuntu.sh b/doc/_readme/scripts/install_ubuntu.sh index 87b3285f..48be1b36 100644 --- a/doc/_readme/scripts/install_ubuntu.sh +++ b/doc/_readme/scripts/install_ubuntu.sh @@ -5,4 +5,4 @@ sudo apt-get update sudo apt-get install -y llvm-19-dev clang-19 libclang-19-dev lld-19 pkg-config libgc-dev libssl-dev zlib1g-dev libcjson-dev libsqlite3-dev libunwind-dev libuv1-dev sudo apt-get install -y python3.12-dev # optional #curl https://raw.githubusercontent.com/goplus/llgo/refs/heads/main/install.sh | bash -cat ../../../install.sh | bash +./install.sh \ No newline at end of file