chaokunyang commented on issue #2279:
URL: https://github.com/apache/fory/issues/2279#issuecomment-2952795295
We will use bazel module in the long run. But we can do it step by step. We
could first use `--enable_workspace` to upgrade to bazel 8 first, then switch
to bazel module in another PR.
And simdutf.h didn't provide bazel support, fory just use its source file
and create a cc_library rule for it:
```bazel
# WORKSPACFE
http_archive(
name = "simdutf",
urls =
["https://github.com/simdutf/simdutf/releases/download/v6.1.2/singleheader.zip"],
sha256 =
"41bb25074fe1e917e96e539c7a87c502e530d88746d7c25d06fb55a28b884340",
build_file = "//cpp/fory/thirdparty:BUILD",
)
# BUILD
cc_library(
name = "simdutf",
srcs = ["simdutf.cpp"],
hdrs = ["simdutf.h"],
includes = ["."],
visibility = ["//visibility:public"],
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]