diff --git a/.github/workflows/llgo.yml b/.github/workflows/llgo.yml index be7da2d4..55ea29fa 100644 --- a/.github/workflows/llgo.yml +++ b/.github/workflows/llgo.yml @@ -59,10 +59,9 @@ jobs: fi echo "Using Go version: $go_version" - - name: chore/_xtool build tests - working-directory: compiler + - name: _xtool build tests run: | - cd chore/_xtool + cd _xtool llgo build -v ./... - name: LLDB tests diff --git a/README.md b/README.md index c78ad9d5..ca01cbeb 100644 --- a/README.md +++ b/README.md @@ -416,7 +416,8 @@ git clone https://github.com/goplus/llgo.git cd llgo/compiler go install -v ./cmd/... go install -v ./chore/... # compile all tools except pydump -cd chore/_xtool +export LLGO_ROOT=$PWD/.. +cd ../_xtool llgo install ./... # compile pydump go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch ``` diff --git a/compiler/chore/_xtool/astdump/astdump.cpp b/_xtool/astdump/astdump.cpp similarity index 100% rename from compiler/chore/_xtool/astdump/astdump.cpp rename to _xtool/astdump/astdump.cpp diff --git a/compiler/chore/_xtool/astdump/build.sh b/_xtool/astdump/build.sh similarity index 100% rename from compiler/chore/_xtool/astdump/build.sh rename to _xtool/astdump/build.sh diff --git a/compiler/chore/_xtool/castdump/castdump.go b/_xtool/castdump/castdump.go similarity index 100% rename from compiler/chore/_xtool/castdump/castdump.go rename to _xtool/castdump/castdump.go diff --git a/compiler/chore/_xtool/pydump/pydump.go b/_xtool/pydump/pydump.go similarity index 100% rename from compiler/chore/_xtool/pydump/pydump.go rename to _xtool/pydump/pydump.go diff --git a/doc/_readme/scripts/install_llgo.sh b/doc/_readme/scripts/install_llgo.sh index 1e1da0c3..98dca7bc 100644 --- a/doc/_readme/scripts/install_llgo.sh +++ b/doc/_readme/scripts/install_llgo.sh @@ -3,6 +3,7 @@ git clone https://github.com/goplus/llgo.git cd llgo/compiler go install -v ./cmd/... go install -v ./chore/... # compile all tools except pydump -cd chore/_xtool +export LLGO_ROOT=$PWD/.. +cd ../_xtool llgo install ./... # compile pydump go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch \ No newline at end of file