diff --git a/.github/workflows/general-ci.yml b/.github/workflows/general-ci.yml index 7535d082cc..7d90661508 100644 --- a/.github/workflows/general-ci.yml +++ b/.github/workflows/general-ci.yml @@ -20,6 +20,11 @@ jobs: matrix: python-version: ['3.10','3.14'] simplify: [0,1,autoopt] + compiler: [gcc] + include: + - python-version: '3.14' + simplify: autoopt + compiler: clang steps: - uses: actions/checkout@v6 @@ -29,6 +34,15 @@ jobs: uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + - name: Setup LLVM + if: matrix.compiler == 'clang' + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x llvm.sh + sudo ./llvm.sh 21 + sudo apt-get install -y libomp-dev + echo "CXX=$(which clang++)" >> $GITHUB_ENV + echo "CC=$(which clang)" >> $GITHUB_ENV - name: Install dependencies run: | # Make dependency setup faster diff --git a/dace/config_schema.yml b/dace/config_schema.yml index 2b05d45232..b384a07827 100644 --- a/dace/config_schema.yml +++ b/dace/config_schema.yml @@ -268,7 +268,7 @@ required: type: str title: Arguments description: Compiler argument flags - default: '-fPIC -Wall -Wextra -O3 -march=native -ffast-math -Wno-unused-parameter -Wno-unused-label' + default: '-fPIC -Wall -Wextra -O3 -march=native -Wno-unused-parameter -Wno-unused-label' default_Windows: '/O2 /fp:fast /arch:AVX2 /D_USRDLL /D_WINDLL /D__restrict__=__restrict' libs: