-
Notifications
You must be signed in to change notification settings - Fork 918
Closed
Labels
upstreamIssue is caused by a dependencyIssue is caused by a dependencywontfixThis will not be worked onThis will not be worked on
Description
It would be nice if this project could provide bazel build files.
I've been struggling to build the sqlc
binary with bazel/gazelle. I'm likely to give up and just use the release binaries, but I thought I'd file an issue to record the difficulties.
The main challenge is cgo
: build fails with com_github_lfittl_pg_query_go/parser/parser.go:6:10: fatal error: pg_query.h: No such file or directory
. Making this work with bazel is apparently possible but non-trivial, and would require special bazel build files either in sqlc
or pg_query_go
.
The following file also causes problems for gazelle
, since it references a fake pacakge:
Again, not high priority since the release binaries provide a workaround.
Metadata
Metadata
Assignees
Labels
upstreamIssue is caused by a dependencyIssue is caused by a dependencywontfixThis will not be worked onThis will not be worked on