Skip to content

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

License

Notifications You must be signed in to change notification settings

brainhivenl/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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published