From cfcea80d362f1f0143a713182aacb594de013592 Mon Sep 17 00:00:00 2001 From: forbes Date: Mon, 26 Jan 2026 12:39:10 -0600 Subject: [PATCH] Use system GCC instead of conda Clang The conda-forge Clang is built with newer CPU instructions that cause illegal instruction errors on older CPUs. Override to use system GCC and remove mold linker flags. --- .gitea/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index dcd31d8d9a..4af3e07de2 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -57,7 +57,14 @@ jobs: pixi run ccache -p - name: Configure (CMake) - run: pixi run configure-release + shell: bash + run: | + # Use system GCC instead of conda Clang to avoid illegal instruction errors + pixi run cmake --preset conda-linux-release \ + -DCMAKE_C_COMPILER=gcc \ + -DCMAKE_CXX_COMPILER=g++ \ + -DCMAKE_EXE_LINKER_FLAGS="" \ + -DCMAKE_SHARED_LINKER_FLAGS="" - name: Build run: pixi run cmake --build build/release -j16