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

[ci] cleanup submodules when running CI #193

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

pilkicTT
Copy link
Contributor

We've hit build issues when bumping tt-mlir version and to resolve those #190 was merged. This is a follow up change with a cleaner fix.

Github runner will reuse the same folder for repo checkout between jobs. The checkout action from github cleans leftover files, but not for git submodules within a repo. This creates a problem, since it can happen that cmake doesn't regenerate build files, but incorrectly, reuse ones that were left over.

This change enforces cleanup of git submodules, resulting in correct, but slower builds.

Also, the build command is rewritten to be more explicit.

We've hit build issues when bumping tt-mlir version and
to resolve those #190 was merged. This is a follow up change
with a cleaner fix.

Github runner will reuse the same folder for repo checkout
between jobs. The checkout action from github cleans leftover
files, but not for git submodules within a repo. This creates
a problem, since it can happen that cmake doesn't regenerate
build files, but incorrectly, reuse ones that were left over.

This change enforces cleanup of git submodules, resulting in
correct, but slower builds.

Also, the build command is rewritten to be more explicit.
@pilkicTT pilkicTT merged commit c5be9c6 into main Aug 29, 2024
4 checks passed
@pilkicTT pilkicTT deleted the pilkic/fix-ci-cmake branch August 29, 2024 15:25
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.

3 participants