File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ jobs:
360
360
361
361
linux-wasm-build :
362
362
environment :
363
- WASI_SDK_VERSION : 22
363
+ WASI_SDK_VERSION : 20
364
364
machine :
365
365
image : ubuntu-2204:2023.04.2
366
366
steps :
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ set(CMAKE_C_COMPILER /opt/wasi-sdk/bin/clang)
18
18
set (CMAKE_CXX_COMPILER /opt/wasi-sdk/bin/clang++ )
19
19
20
20
set (CMAKE_EXE_LINKER_FLAGS "-Xlinker -v -v" )
21
- add_compile_options (-Wno-error=deprecated-declarations )
22
21
23
22
add_compile_definitions (CATCH_CONFIG_NO_POSIX_SIGNALS JSON_HAS_FILESYSTEM=0 )
24
23
Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ else()
28
28
target_compile_options (core_test PRIVATE -fno-exceptions )
29
29
endif ()
30
30
31
+ if (SILKWORM_WASM_API )
32
+ # Strip off RPATH linker option added after building Catch2 v3.6.0 from sources
33
+ get_target_property (CORE_TEST_LINK_OPTIONS core_test LINK_OPTIONS )
34
+ list (REMOVE_ITEM CORE_TEST_LINK_OPTIONS "-rpath /home/circleci/.conan/data/catch2/3.6.0/_/_/package/9cc54baf4502227e8ffc50d3825f455b77620489/lib" )
35
+ set_target_properties (core_test PROPERTIES LINK_OPTIONS "${CORE_TEST_LINK_OPTIONS} " )
36
+ endif ()
37
+
31
38
if (NOT SILKWORM_CORE_ONLY )
32
39
# Enable fuzzing tests for Clang sanitizer builds only
33
40
if ("${CMAKE_CXX_COMPILER_ID} " MATCHES ".*Clang$" AND SILKWORM_FUZZER )
You can’t perform that action at this time.
0 commit comments