From 91271726b5d3215354cdf7decef203b6938bafa1 Mon Sep 17 00:00:00 2001 From: FlyMan2004 <44521347+FlyMan2004@users.noreply.github.com> Date: Sun, 17 May 2026 02:11:20 +0800 Subject: [PATCH 1/2] Update README for variable path references Remove the absolute path in `README.md` --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c4a39a3e4dbca..98bfa01e4ba55 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ - Linx toolchain artifacts used by superproject gates ## Canonical Build and Test Commands -Run from `/Users/zhoubot/linx-isa`. +Run from `${LINX_ISA_ROOT}`. ```bash cmake -S compiler/llvm/llvm -B compiler/llvm/build-linxisa-clang -G Ninja \ @@ -21,9 +21,9 @@ cmake -S compiler/llvm/llvm -B compiler/llvm/build-linxisa-clang -G Ninja \ -DLLVM_TARGETS_TO_BUILD=Linx cmake --build compiler/llvm/build-linxisa-clang --target clang lld -cd /Users/zhoubot/linx-isa/avs/compiler/linx-llvm/tests -CLANG=/Users/zhoubot/linx-isa/compiler/llvm/build-linxisa-clang/bin/clang ./run.sh -CLANGXX=/Users/zhoubot/linx-isa/compiler/llvm/build-linxisa-clang/bin/clang++ ./run_cpp.sh +cd ${LINX_ISA_ROOT}/avs/compiler/linx-llvm/tests +CLANG=${LINX_ISA_ROOT}/compiler/llvm/build-linxisa-clang/bin/clang ./run.sh +CLANGXX=${LINX_ISA_ROOT}/compiler/llvm/build-linxisa-clang/bin/clang++ ./run_cpp.sh ``` ## LinxISA Integration Touchpoints @@ -32,6 +32,6 @@ CLANGXX=/Users/zhoubot/linx-isa/compiler/llvm/build-linxisa-clang/bin/clang++ ./ - ABI/runtime coupling with `lib/musl`, `lib/glibc`, and kernel userspace bring-up ## Related Docs -- `/Users/zhoubot/linx-isa/docs/project/navigation.md` -- `/Users/zhoubot/linx-isa/docs/bringup/` -- `/Users/zhoubot/linx-isa/avs/compiler/linx-llvm/README.md` +- `${LINX_ISA_ROOT}/docs/project/navigation.md` +- `${LINX_ISA_ROOT}/docs/bringup/` +- `${LINX_ISA_ROOT}/avs/compiler/linx-llvm/README.md` From 7f3720babb0657942768806d56c73dd0df2fbe97 Mon Sep 17 00:00:00 2001 From: FlyMan2004 <44521347+FlyMan2004@users.noreply.github.com> Date: Sun, 17 May 2026 02:16:18 +0800 Subject: [PATCH 2/2] fix: `LLVM_TARGETS_TO_BUILD` should be `LinxISA`, not `Linx` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98bfa01e4ba55..0c8b4f09a8e86 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Run from `${LINX_ISA_ROOT}`. ```bash cmake -S compiler/llvm/llvm -B compiler/llvm/build-linxisa-clang -G Ninja \ -DLLVM_ENABLE_PROJECTS="clang;lld" \ - -DLLVM_TARGETS_TO_BUILD=Linx + -DLLVM_TARGETS_TO_BUILD=LinxISA cmake --build compiler/llvm/build-linxisa-clang --target clang lld cd ${LINX_ISA_ROOT}/avs/compiler/linx-llvm/tests