-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[Test] [libpq] Update to 17.0 #41846
base: master
Are you sure you want to change the base?
Conversation
ports/libpq/portfile.cmake
Outdated
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
endif() |
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.
Manually removing the bin
dir is a code smell.
And indeed, bin
is removed before vcpkg_copy_tools(... AUTO_CLEAN)
here.
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.
It also created the following dlls need to be removed:
note: debug/bin/libecpg.dll
note: debug/bin/libecpg_compat.dll
note: debug/bin/libpgtypes.dll
note: debug/bin/libpq.dll
note: debug/bin/pgevent.dll
note: bin/libecpg.dll
note: bin/libecpg_compat.dll
note: bin/libpgtypes.dll
note: bin/libpq.dll
note: bin/pgevent.dll
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.
Why build/install them first?
"client": { | ||
"description": "Build all client tools and libraries" | ||
}, |
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 would assume that we want to keep a feature which controls the installation of tools.
Fixes #41747, update
libpq
to 17.0.According to the upstream documentation, use
meson
to build the new version oflibpq
.The "supports" clause reflects platforms that may be fixed by this new version.Any fixed CI baseline entries are removed from that file../vcpkg x-add-version --all
and committing the result.Usage passed on
x64-windows
.