File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ load("@rules_cc//cc:defs.bzl", "cc_library")
2+
3+ licenses(["notice"]) # Apache 2
4+
5+ cc_library(
6+ name = "boost_headers",
7+ hdrs = glob(["include/boost/**"]),
8+ visibility = ["//visibility:public"],
9+ includes = ['include'],
10+ )
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ filegroup(
1212cmake(
1313 name = "wasmedge_lib",
1414 cache_entries = {
15+ "Boost_NO_SYSTEM_PATHS": "TRUE",
16+ "BOOST_INCLUDEDIR": "$EXT_BUILD_DEPS/copy_boost/",
1517 "CMAKE_BUILD_TYPE": "Release",
1618 "WASMEDGE_BUILD_AOT_RUNTIME": "OFF",
1719 "WASMEDGE_BUILD_SHARED_LIB": "OFF",
2426 out_static_libs = [
2527 "libwasmedge_c.a",
2628 ],
29+ deps = [
30+ '@boost//:boost_headers',
31+ ],
2732)
Original file line number Diff line number Diff line change @@ -112,6 +112,14 @@ def proxy_wasm_cpp_host_repositories():
112112 actual = "@com_github_wavm_wavm//:wavm_lib" ,
113113 )
114114
115+ http_archive (
116+ name = "boost" ,
117+ build_file = "@proxy_wasm_cpp_host//bazel/external:boost.BUILD" ,
118+ sha256 = "7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca" ,
119+ strip_prefix = "boost_1_76_0" ,
120+ url = "https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz" ,
121+ )
122+
115123 http_archive (
116124 name = "com_github_wasmedge_wasmedge" ,
117125 build_file = "@proxy_wasm_cpp_host//bazel/external:wasmedge.BUILD" ,
You can’t perform that action at this time.
0 commit comments