From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Reduce the number of special cases to build contrib modules on windows |
Date: | 2020-11-02 07:34:28 |
Message-ID: | CAApHDvoPULi5JW3933NxgwxOmu9Ncvpcyt87UhEHAUX16QqmpA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
At the moment we do very basic parsing of makefiles to build the
visual studio project file in order to build our contrib modules on
MSVC. This parsing is quite basic and still requires a number of
special cases to get enough information into the project file in order
for the build to succeed. It might be nice if we could reduce some of
those special cases so that:
a) We reduce the amount of work specific to windows when we add new
contrib modules, and;
b) We can work towards a better way for people to build their own
extensions on windows.
I admit to not being much of an expert in either perl or make, but I
came up with the attached which does allow a good number of the
special cases to be removed.
I'm keen to get some feedback on this idea.
Patch attached.
David
Attachment | Content-Type | Size |
---|---|---|
reduce_contrib_build_special_cases_on_windows.patch | text/plain | 12.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2020-11-02 07:40:11 | hash_array_extended() needs to pass down collation |
Previous Message | Michael Paquier | 2020-11-02 07:29:37 | Re: Online checksums verification in the backend |