Skip to content
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

Merged
merged 20 commits into from
Oct 25, 2024
Merged

Add compile.sh to CI #939

merged 20 commits into from
Oct 25, 2024

Conversation

leshikus
Copy link
Contributor

Subj

@leshikus
Copy link
Contributor Author

leshikus commented Oct 23, 2024

@Garra1980 we need to keep compile.sh as is, and change the _build dir name instead to match another repo

@Garra1980
Copy link
Contributor

@Garra1980 we need to keep compile.sh as is, and change the _build dir name instead to match another repo

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
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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

@leshikus leshikus requested a review from Garra1980 October 24, 2024 19:37

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 "$@"
Copy link
Contributor

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

@Garra1980 Garra1980 merged commit 9799b45 into intel:main Oct 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants