From 608ba2be925a718f41690eb01fe13ecf7775802a Mon Sep 17 00:00:00 2001 From: Growl Date: Thu, 21 May 2026 22:57:54 +0800 Subject: [PATCH 1/3] Skip precommit --- .github/workflows/test.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f9996e0703..a7a4ef54f52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,13 +33,16 @@ jobs: run: | cmake -B build -DBUILD_TESTING=ON -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_PAW=ON -DENABLE_GOOGLEBENCH=ON -DENABLE_RAPIDJSON=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=1 - - uses: pre-commit/action@v3.0.1 - with: - extra_args: - --from-ref ${{ github.event.pull_request.base.sha }} - --to-ref ${{ github.event.pull_request.head.sha }} - continue-on-error: true - - uses: pre-commit-ci/lite-action@v1.0.3 +# Temporarily removed because no one maintains this now. +# And it will break the CI test workflow. + +# - uses: pre-commit/action@v3.0.1 +# with: +# extra_args: +# --from-ref ${{ github.event.pull_request.base.sha }} +# --to-ref ${{ github.event.pull_request.head.sha }} +# continue-on-error: true +# - uses: pre-commit-ci/lite-action@v1.0.3 - name: Build run: | From 4a68ec736f1f961764dd4254c56d3bd8adba1427 Mon Sep 17 00:00:00 2001 From: Growl Date: Thu, 21 May 2026 22:58:32 +0800 Subject: [PATCH 2/3] Add missing hint of running "build_abacus_gcc-mkl.sh" --- toolchain/install_abacus_toolchain_new.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/install_abacus_toolchain_new.sh b/toolchain/install_abacus_toolchain_new.sh index 888b436a9b1..0f0d85d42e3 100755 --- a/toolchain/install_abacus_toolchain_new.sh +++ b/toolchain/install_abacus_toolchain_new.sh @@ -200,6 +200,7 @@ EOF ui_print_color "${UI_GREEN}${UI_BOLD}" "🚀 Build ABACUS with your preferred toolchain:" ui_print_color "${UI_WHITE}" " ./build_abacus_gnu.sh # GNU toolchain (GCC + OpenBLAS)" ui_print_color "${UI_WHITE}" " ./build_abacus_intel.sh # Intel toolchain (ICC + MKL)" + ui_print_color "${UI_WHITE}" " ./build_abacus_gcc-mkl.sh # GCC + MKL" ui_print_color "${UI_WHITE}" " ./build_abacus_gcc-aocl.sh # AMD GCC + AOCL" ui_print_color "${UI_WHITE}" " ./build_abacus_aocc-aocl.sh # AMD AOCC + AOCL" echo "" @@ -219,4 +220,4 @@ EOF } # Run main function with all arguments -main "$@" \ No newline at end of file +main "$@" From 4654475661d86e56e18c6c8988b284754ade224c Mon Sep 17 00:00:00 2001 From: Growl Date: Thu, 21 May 2026 23:43:19 +0800 Subject: [PATCH 3/3] Add Git safe.directory for Docker-based self-hosted runner --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7a4ef54f52..458c94d5766 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,7 @@ jobs: - name: Configure run: | + git config --global --add safe.directory /__w/abacus-develop/abacus-develop cmake -B build -DBUILD_TESTING=ON -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_PAW=ON -DENABLE_GOOGLEBENCH=ON -DENABLE_RAPIDJSON=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=1 # Temporarily removed because no one maintains this now.