-
Notifications
You must be signed in to change notification settings - Fork 122
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 support for 32bit CI build #782
Conversation
Does that work for PRs? I don’t see a build. |
Not then, I have enabled it now. |
.github/workflows/platforms.yml
Outdated
@@ -0,0 +1,118 @@ | |||
--- | |||
name: 'Platforms' |
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.
name: 'Platforms' | |
name: 'Arch' |
.github/workflows/platforms.yml
Outdated
- name: "Compile library" | ||
run: | | ||
mkdir build && cd build | ||
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
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.
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad | |
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
.github/workflows/platforms.yml
Outdated
- name: "Compile library" | ||
run: | | ||
mkdir build && cd build | ||
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
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.
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad | |
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
.github/workflows/platforms.yml
Outdated
- name: "Compile library" | ||
run: | | ||
mkdir build && cd build | ||
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
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.
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad | |
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad |
Can we extract the step "Compile library" into one place as it seems to repeat across builds. The same for the other common steps. Maybe this could help?
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.
Sorry for the delayed response. Yes, I will look into this and patch it asap.
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 patch has been updated but the workflow report says path not found, its not able to fetch this patch vgvassilev/clad/.github/workflows/called.yml@master
.
My test-workflow works fine with the same https://github.com/Krishna-13-cyber/clad/actions/runs/8045618661
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.
Can you take a look how the clad main workflow is organized, we want something similar for this PR.
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.
Yes, will do this.
Thanks!
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.
Hi, I have updated with respect to clad convention adhering to matrix strategy.
Thanks!
fba4b90
to
b279712
Compare
Nice! Now we need to figure out how to suppress the test failures. For this PR maybe it would be fine if we allow failures on armv7 and x86. |
.github/workflows/arch.yml
Outdated
architecture: | ||
strategy: | ||
matrix: | ||
target: [x86, armv7, aarch64] |
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.
Looks like armv7
and aarch64
are considerable slower. Can we disable them?
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.
Yes, they are slower.
We had an intention to target multiple architectures right to get hold of failures/bugs so why should we disable them (due to time constraints).
Can we try any other workaround to fit in those(slower ones) as well?
Yes, we can solve the failures in a seperate PR. |
Looks like this won't work. Maybe in this PR we should add to each failing test: |
I added this |
The failing tests get suppressed with |
No, that will suppress even working tests. |
@Krishna-13-cyber, you need |
a53f831
to
52040e8
Compare
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.
Awesome! LGTM!
Thanks! |
Addresses #748