-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compile.sh to CI #939
Add compile.sh to CI #939
Conversation
@Garra1980 we need to keep |
I agree, trying to see whether build is okay |
|
||
- name: Cache LLLVM-MLIR | ||
id: cache-llvm-mlir | ||
uses: actions/cache@v4 | ||
env: | ||
LLVM_CACHE_NUMBER: 1 # Increase to reset cache | ||
LLVM_CACHE_NUMBER: 2 # Increase to reset cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while things may work if I revert it, there is no sense in reverting it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the standard practice is to increase the counter every time we need the cache to be rebuilt
scripts/compile.sh
Outdated
|
||
cd $(dirname "$0")/.. | ||
|
||
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use gcc not clang as we do it currently
Subj