Skip to content
Open
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
6 changes: 4 additions & 2 deletions cmake/windows-setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ if(FLB_WINDOWS_DEFAULTS)
set(FLB_CONFIG_YAML No)
endif ()
if(FLB_ARCH STREQUAL "arm64")
set(FLB_WASM No)
set(FLB_WASM Yes)
# This is temporary solution to enable flb_wasm on ARM64 Windows.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we tracking this in an issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we don't need this. This was already resolved in upstream here:
bytecodealliance/wasm-micro-runtime#4636
But this patch didn't include any of the stable WAMR releases yet.

set(WAMR_BUILD_INVOKE_NATIVE_GENERAL 1)
elseif(FLB_ARCH STREQUAL "x64")
set(FLB_WASM Yes)
elseif(FLB_ARCH STREQUAL "x86")
Expand Down Expand Up @@ -132,7 +134,7 @@ if(FLB_WINDOWS_DEFAULTS)
set(FLB_FILTER_AWS Yes)
set(FLB_FILTER_ECS Yes)
if(FLB_ARCH STREQUAL "arm64")
set(FLB_FILTER_WASM No)
set(FLB_FILTER_WASM Yes)
elseif(FLB_ARCH STREQUAL "x64")
set(FLB_FILTER_WASM Yes)
elseif(FLB_ARCH STREQUAL "x86")
Expand Down
Loading