Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pass -DENABLE_WERROR=0 when building Binaryen #1028

Merged
merged 2 commits into from
Apr 13, 2022
Merged

Conversation

juj
Copy link
Collaborator

@juj juj commented Apr 13, 2022

We are experiencing an issue at our Unity CI with building Binaryen: WebAssembly/binaryen#4588

It seems that for end users, disabling -Werror is a good general measure to enable wider chance of success to build. Emsdk installations are unlikely to be used by Binaryen developers to iterate on Binaryen development, so it is not necessary there?

juj added 2 commits April 13, 2022 16:59
We are experiencing an issue at our Unity CI with building Binaryen: WebAssembly/binaryen#4588

It seems that for end users, disabling -Werror is a good general measure to enable wider chance of success to build. Emsdk installations are unlikely to be used by Binaryen developers to iterate on Binaryen development, so it is not necessary there?
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

Do you think we should turn is off by default in binaryen instead then?

@juj
Copy link
Collaborator Author

juj commented Apr 13, 2022

I don't know how many end users directly git clone Binaryen to use it, though generally I do recommend -Werror to be a setting that developers and CI would have enabled, and end users would by default get disabled. It can be tricky to simultaneously set up a "developers by default get -Werror on and end users by default get -Werror off" if both users follow the same setup steps. But it is probably good to assume that most people installing via emsdk will be end users, and most people git cloning binaryen directyl would be developers. So maybe Binaryen repo could default to having -Werror enabled, and then emsdk can disable it by default.

@juj juj merged commit 7978a62 into main Apr 13, 2022
@juj juj deleted the disable_binaryen_werror branch April 13, 2022 16:48
torokati44 added a commit to torokati44/binaryen-feedstock that referenced this pull request Sep 1, 2022
torokati44 added a commit to torokati44/binaryen-feedstock that referenced this pull request Sep 1, 2022
torokati44 added a commit to torokati44/binaryen-feedstock that referenced this pull request Sep 1, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants