doc: update doc test for installation instructions
This commit is contained in:
9
doc/_readme/scripts/install_full.sh
Normal file
9
doc/_readme/scripts/install_full.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
# shellcheck disable=all
|
||||
git clone https://github.com/goplus/llgo.git
|
||||
cd llgo/compiler
|
||||
go install -v ./cmd/...
|
||||
go install -v ./chore/... # compile all tools except pydump
|
||||
export LLGO_ROOT=$PWD/..
|
||||
cd ../_xtool
|
||||
llgo install ./... # compile pydump
|
||||
go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch
|
||||
@@ -1,9 +1,4 @@
|
||||
# shellcheck disable=all
|
||||
git clone https://github.com/goplus/llgo.git
|
||||
cd llgo/compiler
|
||||
go install -v ./cmd/...
|
||||
go install -v ./chore/... # compile all tools except pydump
|
||||
export LLGO_ROOT=$PWD/..
|
||||
cd ../_xtool
|
||||
llgo install ./... # compile pydump
|
||||
go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch
|
||||
cd llgo
|
||||
./install.sh
|
||||
|
||||
@@ -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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user