-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: add v17.0 using the new Meson build system #25458
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️Warning Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement. All green in build 8 (
Conan v2 pipeline ✔️
All green in build 8 (
|
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.
+1 for Meson
|
||
def _fix_static_library_names(self): | ||
# Meson outputs static libraries with a .a extension on Windows, | ||
# which is not compatible with Conan and CMake. |
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.
Fyi, newer CMake versions, 3.29 and later, support .a
file extensions for static libraries on Windows when building with MSVC. See the release notes here.
It would be nice to see support for using the .a
suffixes eventually. I think Meson made the right decision to use .a
instead of .lib
on Windows for static libraries to avoid confusion with import libraries which use the same .lib
extension.
- use Meson build system in favour of Autotools Source: conan-io#25458
afd7254
to
d3f8fe5
Compare
Summary
Changes to recipe: libpq/17.0
Motivation
Switching to the new Meson-based build system to hopefully get rid of the maintenance overhead of the large number of complex patches and additional installation steps required in the Autotools-based recipe.
See the original commit in the repo for more context: postgres/postgres@e692727
Details
Added nearly all supported external dependencies as options. Some of them are only used by the server executable, which is out of scope for the recipe, but I decided to keep them since the building of executables cannot be disabled, so might as well keep the server and other executables in the package as an option.
These PRs are required for optional dependencies: