Skip to content

Commit

Permalink
Upgrade wabt to 1.0.30 (halide#7058)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson authored and ardier committed Mar 3, 2024
1 parent 0818dda commit 039432f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
7 changes: 3 additions & 4 deletions dependencies/wasm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
endif ()

if (WITH_WABT)
set(WABT_VER 1.0.29)
set(WABT_VER 1.0.30)

message(STATUS "Fetching WABT ${WABT_VER}...")
FetchContent_Declare(wabt
Expand Down Expand Up @@ -47,9 +47,8 @@ if (WITH_WABT)
target_include_directories(Halide_wabt
SYSTEM # Use -isystem instead of -I; this is a trick so that clang-tidy won't analyze these includes
INTERFACE
$<BUILD_INTERFACE:${wabt_SOURCE_DIR}>
$<BUILD_INTERFACE:${wabt_BINARY_DIR}>
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/_deps>)
$<BUILD_INTERFACE:${wabt_SOURCE_DIR}>/include
$<BUILD_INTERFACE:${wabt_BINARY_DIR}>/include)
set_target_properties(Halide_wabt PROPERTIES EXPORT_NAME wabt)
endif ()

Expand Down
24 changes: 12 additions & 12 deletions src/WasmExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
#include "Target.h"

#if WITH_WABT
#include "wabt-src/src/binary-reader.h"
#include "wabt-src/src/cast.h"
#include "wabt-src/src/common.h"
#include "wabt-src/src/error-formatter.h"
#include "wabt-src/src/error.h"
#include "wabt-src/src/feature.h"
#include "wabt-src/src/interp/binary-reader-interp.h"
#include "wabt-src/src/interp/interp-util.h"
#include "wabt-src/src/interp/interp.h"
#include "wabt-src/src/interp/istream.h"
#include "wabt-src/src/result.h"
#include "wabt-src/src/stream.h"
#include "wabt/binary-reader.h"
#include "wabt/cast.h"
#include "wabt/common.h"
#include "wabt/error-formatter.h"
#include "wabt/error.h"
#include "wabt/feature.h"
#include "wabt/interp/binary-reader-interp.h"
#include "wabt/interp/interp-util.h"
#include "wabt/interp/interp.h"
#include "wabt/interp/istream.h"
#include "wabt/result.h"
#include "wabt/stream.h"
#endif

// clang-format off
Expand Down

0 comments on commit 039432f

Please sign in to comment.