An open API service indexing awesome lists of open source software.

https://github.com/brainhivenl/libpq

Cross-compile friendly, 64-bit only, libpq bazel target
https://github.com/brainhivenl/libpq

bazel libpq postgresql

Last synced: about 2 months ago
JSON representation

Cross-compile friendly, 64-bit only, libpq bazel target

Awesome Lists containing this project

README

          

# libpq

Statically compiled `libpq` target for bazel to be used with [llvm_toolchain](https://github.com/bazel-contrib/toolchains_llvm) for 64-bit platforms.

### For rules_rust (typically pq-sys for diesel) (Bazel 8):
```
crate.annotation(
build_script_env = {
"PQ_LIB_STATIC": "1",
},
compile_data = ["@@libpq+//:libpq"],
crate = "pq-sys",
rustc_flags = [
"-L",
"$(BINDIR)/external/libpq+",
],
)
```