@@ -344,13 +344,35 @@ def proxy_wasm_cpp_host_repositories():
344344
345345 # WasmEdge with dependencies.
346346
347+ # fmt library required by WasmEdge
348+ maybe (
349+ http_archive ,
350+ name = "fmt" ,
351+ build_file = "@proxy_wasm_cpp_host//bazel/external:fmt.BUILD" ,
352+ sha256 = "40fc58bebcf38c759e11a7bd8fdc163507d2423ef5058bba7f26280c5b9c5465" ,
353+ strip_prefix = "fmt-11.0.2" ,
354+ url = "https://github.com/fmtlib/fmt/releases/download/11.0.2/fmt-11.0.2.zip" ,
355+ )
356+
357+ # spdlog library required by WasmEdge
358+ maybe (
359+ http_archive ,
360+ name = "spdlog" ,
361+ build_file = "@proxy_wasm_cpp_host//bazel/external:spdlog.BUILD" ,
362+ sha256 = "534f2ee1a4dcbeb22249856edfb2be76a1cf4f708a20b0ac2ed090ee24cfdbc9" ,
363+ strip_prefix = "spdlog-1.13.0" ,
364+ url = "https://github.com/gabime/spdlog/archive/refs/tags/v1.13.0.tar.gz" ,
365+ )
366+
347367 maybe (
348368 http_archive ,
349369 name = "com_github_wasmedge_wasmedge" ,
350370 build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD" ,
351371 sha256 = "2354d90a67e3eb396179663bdc0b457abbbc70dca967ec4528f211599a49f62a" ,
352372 strip_prefix = "WasmEdge-0.16.1" ,
353373 url = "https://github.com/WasmEdge/WasmEdge/archive/refs/tags/0.16.1.tar.gz" ,
374+ patches = ["@proxy_wasm_cpp_host//bazel/external:wasmedge.patch" ],
375+ patch_args = ["-p1" ],
354376 )
355377
356378 # Wasmtime with dependencies.
0 commit comments