Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/general-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sudo ./llvm.sh 21
sudo ./llvm.sh

Not sure if we should pinpoint this to a specific version or keep this open to get the last one always

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
Expand Down
2 changes: 1 addition & 1 deletion dace/config_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be reverted however it didn't fix all the errors in the Clang CI

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:
Expand Down
Loading