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 32-bit build #745

Merged
merged 4 commits into from
Dec 27, 2021
Merged

Add 32-bit build #745

merged 4 commits into from
Dec 27, 2021

Conversation

chfast
Copy link
Collaborator

@chfast chfast commented Mar 2, 2021

Depends on #744.

@chfast chfast force-pushed the 32bit_fixes branch 2 times, most recently from 0eedfa1 to a5b8a06 Compare March 10, 2021 16:12
Base automatically changed from 32bit_fixes to master March 10, 2021 16:40
@axic axic force-pushed the ci branch 2 times, most recently from 3f0abae to f9c35c6 Compare March 11, 2021 15:18
@axic
Copy link
Member

axic commented Mar 29, 2021

@chfast Can we get this merged by disabling FP tests on 32-bit, for now?

@chfast
Copy link
Collaborator Author

chfast commented Mar 30, 2021

Yes.

cmake/ProjectWabt.cmake Outdated Show resolved Hide resolved
@chfast chfast force-pushed the ci branch 2 times, most recently from 3f8ed8c to 46764cd Compare April 12, 2021 13:45
@chfast chfast marked this pull request as ready for review April 12, 2021 13:46
@chfast chfast requested review from gumb0 and axic April 12, 2021 13:46
@codecov
Copy link

codecov bot commented Apr 12, 2021

Codecov Report

Merging #745 (b1c9aac) into master (bbf7638) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #745      +/-   ##
==========================================
- Coverage   99.02%   99.02%   -0.01%     
==========================================
  Files          80       80              
  Lines       12789    12788       -1     
==========================================
- Hits        12664    12663       -1     
  Misses        125      125              
Flag Coverage Δ
rust 99.90% <ø> (ø)
spectests 90.08% <ø> (ø)
unittests 98.94% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/utils/floating_point_utils.hpp 100.00% <ø> (ø)
test/unittests/execute_floating_point_test.cpp 99.70% <100.00%> (-0.01%) ⬇️
test/unittests/floating_point_utils_test.cpp 100.00% <100.00%> (ø)

build_type: Debug
cmake_options: -DCMAKE_TOOLCHAIN_FILE=~/project/cmake/toolchains/32bit.cmake
- test
# TODO: Disabled, because fixes to NaN payload handling in the tool are needed.
Copy link
Member

Choose a reason for hiding this comment

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

As long as you are 100% sure it is only a tooling fix (and no fix/change needed in the interpreter), I'm fine merging this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure, but this is the first thing to fix.

@chfast chfast force-pushed the ci branch 2 times, most recently from cbc91ac to 75d5abf Compare December 23, 2021 14:57
@chfast chfast changed the title ci: Add 32-bit build Add 32-bit build Dec 23, 2021
@@ -1360,6 +1372,10 @@ TEST(execute_floating_point, f64_add_off_by_one)
_FPU_SETCW(fpu_cw);
*/

#if defined(__i386__) && !defined(__SSE_MATH__)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not at the top of the test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To execute as much as possible. Can be at the top too.

Copy link
Collaborator

Choose a reason for hiding this comment

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

On top it would be more clear that long comment there explains the reason for skipping IMHO.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree. Will do it.

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