This is an automated email from the ASF dual-hosted git repository.
junchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
The following commit(s) were added to refs/heads/master by this push:
new 1b5b5e39 add civetweb build
1b5b5e39 is described below
commit 1b5b5e39884f72345f682209add8ab3dc491bb7e
Author: cjcchen <[email protected]>
AuthorDate: Thu May 23 00:46:36 2024 +0000
add civetweb build
---
third_party/civetweb.BUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/third_party/civetweb.BUILD b/third_party/civetweb.BUILD
new file mode 100644
index 00000000..a91b3c44
--- /dev/null
+++ b/third_party/civetweb.BUILD
@@ -0,0 +1,30 @@
+package(default_visibility = ["//visibility:public"])
+
+cc_library(
+ name = "civetweb",
+ srcs = [
+ "src/CivetServer.cpp",
+ "src/civetweb.c",
+ "src/response.inl",
+ ],
+ hdrs = [
+ "include/CivetServer.h",
+ "include/civetweb.h",
+ ],
+ copts = [
+ "-DUSE_IPV6",
+ "-DNDEBUG",
+ "-DNO_CGI",
+ "-DNO_CACHING",
+ "-DNO_SSL",
+ "-DNO_FILES",
+ ],
+ textual_hdrs = [
+ "src/md5.inl",
+ "src/handle_form.inl",
+ ],
+ includes = [
+ "include",
+ ],
+ visibility = ["//visibility:public"],
+)