Skip to content

Embind port #7239

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

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/main' into binaryen_embind
  • Loading branch information
kripken committed Jan 23, 2025
commit ea1db73886a53d331fac0e1cc3a7a7795633c2c2
11 changes: 7 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,13 @@ if(EMSCRIPTEN)
# On Node.js, make the tools immediately usable.
add_link_flag("-sNODERAWFS")
endif()
# in opt builds, LTO helps so much (>20%) it's worth slow compile times
#add_nondebug_compile_flag("-flto")
add_compile_flag("-DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0") # XXX - ?
endif()
# in opt builds, LTO helps so much (>20%) it's worth slow compile times
add_nondebug_compile_flag("-flto")
if(EMSCRIPTEN_ENABLE_WASM64)
add_compile_flag("-sMEMORY64 -Wno-experimental")
add_link_flag("-sMEMORY64")
endif()
endif()

# clang doesn't print colored diagnostics when invoked from Ninja
if(UNIX AND CMAKE_GENERATOR STREQUAL "Ninja")
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.