-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the extension makefiles closer to being able to build against a …
…nightly (#7768) Get the makefile to do it by making PYTHON configurable and invoking `edb config` via `$(PYTHON) -m edb.tools`. It doesn't actually work though, because the bundled postgres doesn't include the development headers.
- Loading branch information
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# Configurable parts | ||
SQL_MODULE := sql | ||
|
||
### Boilerplate | ||
PYTHON := python3 | ||
EDB := $(PYTHON) -m edb.tools $(EDBFLAGS) | ||
MKS := $(shell $(EDB) config --make-include) | ||
include $(MKS) | ||
### End Boilerplate | ||
|
||
MKS := $(shell edb config --make-include) | ||
include $(MKS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters