-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libpq] update to 12.0 and use vcpkg_configure_make #8487
Conversation
This means that you can also remove the custom CMakeLists.txt? |
yes I hope to as soon as it works |
I noted it only to not forget it. Since I just finished a tedious cleanup of many old and deprecated patches, I like to keep the repo clean now :) |
URLS "https://ftp.postgresql.org/pub/source/v9.6.3/postgresql-9.6.3.tar.bz2" | ||
FILENAME "postgresql-9.6.3.tar.bz2" | ||
SHA512 97141972e154e6b0e756ee6a4e20f26e82022a9fd4c56305314a3a5567a79ece638e4ac3d513b46138737ae6bd27a098f30013a94767db151181aac9c01290a1 | ||
URLS "https://ftp.postgresql.org/pub/source/v12.0/postgresql-12.0.tar.bz2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be set as a macro,
please fix the title. there is no
as far as I can see from the changes. |
it was |
I read it as a change to the function/script |
So I hacked the C99 check away (missing register keyword and the C equivalent to constexpr?) and fixed some Compiler/Linker flags but got stuck with the following error:
If you then force in the portfile: warnings:
I mean yeah you could patch the whole configure script on windows but it is probably easier to roll our own CMakeLists.txt file for libpq on Windows Also from the config log some questionable checks: |
I'll try the MSBuild script later https://www.postgresql.org/docs/12/install-windows.html |
yeah that is probably the way to go. the files are in |
after reviewing the configure log you probably also need to explicitly pass the path of external dependencies like zlib to the configure script on linux to get consistent builds or the script will check if it can link -lz and if zlib is installed system wide (not the vcpkg version) it will catch that dependency and result in an inconsistent build. |
Furthermore if all configure options of libpq like zlib and libxml are features of libpq I need #8269 solved to make Qt work correctly in static builds. |
So got x86-windows to build without any features using the perl scripts. |
@TheScarfix: So I made the windows build work. I assume you want to have PR #8540 merged before working on the linux side? |
I currently don't have the time to work on this, moving tomorrow. Hope I can look at it this weekend. |
will close #8462