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

Base commit for using EMSDK 3.1.74 (LTO disabled) #23318

Closed
wants to merge 1 commit into from

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Jan 10, 2025

Description

Upgrade EMSDK to 3.1.74.

This PR is currently marked as "draft", as LTO is disabled temporarily because of a crash in wasm-ld. Related issue is being tracked in upstream at llvm/llvm-project#122166.

Once a workaround is available, LTO should be re-enabled.

Comment on lines 41 to 33
#string(APPEND CMAKE_C_FLAGS " -flto=thin")
#string(APPEND CMAKE_CXX_FLAGS " -flto=thin")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

LTO is disabled temporarily. Should enable it once a fix is available for wasm-ld.

@fs-eire fs-eire force-pushed the fs-eire/emsdk-3.1.74 branch from a85fe10 to 81ee27f Compare January 11, 2025 03:35
fs-eire added a commit that referenced this pull request Jan 14, 2025
### Description

This PR contains a part of the changes in #23318.

The reason of creating this PR is: The works to support building WebGPU
EP in WASM depends on #23318, which cannot be merged since it's blocked
by upstream (llvm/llvm-project#122166). This
PR contains the changes can be safely merged separately and can unblock
the development of supporting building WebGPU EP in WASM.

---------

Co-authored-by: Copilot <[email protected]>
@fs-eire fs-eire force-pushed the fs-eire/emsdk-3.1.74 branch from 81ee27f to af1e75f Compare January 14, 2025 19:13
@fs-eire fs-eire force-pushed the fs-eire/emsdk-3.1.74 branch from af1e75f to aad3c79 Compare January 14, 2025 19:24
@fs-eire
Copy link
Contributor Author

fs-eire commented Jan 17, 2025

close in favor of #23415

@fs-eire fs-eire closed this Jan 17, 2025
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.

1 participant