Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tools/system_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2328,6 +2328,11 @@ class libopenmp(Library):
'kmp_ftn_extra.cpp', 'kmp_version.cpp', 'z_Linux_asm.S',
]

def can_build(self):
# OpenMP currently doesn't support Wasm64, see
# https://github.com/emscripten-core/emscripten/issues/27221
return super().can_build() and not settings.MEMORY64

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there an issue or something we can link to? Or if not, a comment like "is not currently supported" might make sense (assuming it might be supported some day)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ah good catch, it's #27221



def get_libs_to_link():
libs_to_link = []
Expand Down
Loading