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

[wasm] build paltests #112404

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open

[wasm] build paltests #112404

wants to merge 67 commits into from

Conversation

radekdoulik
Copy link
Member

No description provided.

radekdoulik and others added 30 commits January 21, 2025 13:51
Disable few parts, some might need closer look later.
And also skip creating pipe to communicate with it
…t it was so you can pull the test statuses out of a log file
To avoid error messages at the end of each run
Also fix disabled tests count
Add few more notes to failing memory related tests
Emscripten's mmap doesn't support that and because we don't have virtual memory
in wasm, it doesn't make sense to call it there
Also re-enable debug test, which works and disable few MT tests
@@ -119,6 +119,10 @@ if (CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
add_subdirectory(System.IO.Ports.Native)
endif ()

if (MONO_WASM_MT)
Copy link
Member

Choose a reason for hiding this comment

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

What is the MONO_WASM_MT?

Copy link
Member Author

Choose a reason for hiding this comment

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

it is a new flag to indicate mono wasm multithreaded build. one of the changes broke the mono build, so this way we can fix that

@radekdoulik radekdoulik requested a review from janvorli February 27, 2025 16:02
arch/${PAL_ARCH_SOURCES_DIR}/debugbreak.S
arch/${PAL_ARCH_SOURCES_DIR}/exceptionhelper.S
)
if (NOT CLR_CMAKE_TARGET_BROWSER)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (NOT CLR_CMAKE_TARGET_BROWSER)
if (NOT CLR_CMAKE_TARGET_ARCH_WASM)

)
endif()

if (CLR_CMAKE_TARGET_BROWSER)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (CLR_CMAKE_TARGET_BROWSER)
if (CLR_CMAKE_TARGET_ARCH_WASM)


if(NOT CLR_CMAKE_TARGET_APPLE)
if(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_BROWSER)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_BROWSER)
if(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_ARCH_WASM)

list(APPEND PLATFORM_SOURCES
arch/${PAL_ARCH_SOURCES_DIR}/callsignalhandlerwrapper.S
arch/${PAL_ARCH_SOURCES_DIR}/signalhandlerhelper.cpp
)
endif(NOT CLR_CMAKE_TARGET_APPLE)
endif(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_BROWSER)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
endif(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_BROWSER)
endif(NOT CLR_CMAKE_TARGET_APPLE AND NOT CLR_CMAKE_TARGET_ARCH_WASM)

@@ -0,0 +1,69 @@
#include "pal/dbgmsg.h"
Copy link
Member

Choose a reason for hiding this comment

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

License header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants