Skip to content
forked from brainhivenl/libpq

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

License

Notifications You must be signed in to change notification settings

aran/bazel-libpq

 
 

Repository files navigation

libpq

Statically compiled libpq target for bazel to be used with llvm_toolchain 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+",
    ],
)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.9%
  • Starlark 6.1%