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

[release/8.0-rc1] [wasm] Do not build mono libs with -msimd128 #90750

Merged
merged 6 commits into from
Aug 18, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 17, 2023

Backport of #89502 to release/8.0-rc1

Fixes the non-simd wasm target.

/cc @lewing @radekdoulik

Customer Impact

While the WASM SIMD extensions are supported across the current versions of all major browsers there are still customers that would like to support older browsers by disabling the feature and that has always been our intention. This pr fixes the Wasm build so WasmEnableSIMD=false actually produces a build that does not Require the SIMD extensions and can run successfully on older browsers.

Testing

Tested manually and in CI, the change is in main.

Risk

This only impacts the Wasm runtime build and the risk is low in that case

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Make it optional, build only minimal set of code witch required
`-msimd128` to separate library. Also provide "stub" nosimd
version of this library.

Choose the appropriate library during linking.
@carlossanlop
Copy link
Member

@lewing @radekdoulik I see some *.c files being modified, so looks like a product change. Can you please fill out the template and then send an email to Tactics requesting approval?

@lewing
Copy link
Member

lewing commented Aug 17, 2023

@lewing @radekdoulik I see some *.c files being modified, so looks like a product change. Can you please fill out the template and then send an email to Tactics requesting approval?

yup, just haven't gotten to it yet

@carlossanlop
Copy link
Member

Also need a code review sign-off. Anyone here volunteers a tribute?

@carlossanlop
Copy link
Member

Friendly reminder to get Tactics approval and a signoff. Today's the last day for rc1 backports.

There are wasm failures. Are any of them related?

@kg
Copy link
Member

kg commented Aug 18, 2023

Looks like some sort of test infrastructure error (a missing runtime pack?) but I've never seen it before

@carlossanlop
Copy link
Member

Ok, this faiure is known and pre-existing to this PR: #88501

I opened two issues, not entirely sure if they are related to this PR or not. Need someone from wasm to help confirm it:

@lewing lewing closed this Aug 18, 2023
@lewing lewing reopened this Aug 18, 2023
@lewing lewing added the Servicing-consider Issue for next servicing release review label Aug 18, 2023
@lewing lewing added this to the 8.0.0 milestone Aug 18, 2023
@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Aug 18, 2023
@carlossanlop
Copy link
Member

Approved by Tactics via email. Assuming the CI looks good, we can merge it.

@lewing
Copy link
Member

lewing commented Aug 18, 2023

CI looks good to me, failed lanes weren't touched by the pr

@carlossanlop carlossanlop merged commit 20d508b into release/8.0-rc1 Aug 18, 2023
129 of 134 checks passed
@carlossanlop carlossanlop deleted the backport/pr-89502-to-release/8.0-rc1 branch August 18, 2023 19:50
@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Build-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants