Skip to content
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

chore(r/adbcpostgresql): Improve configure script using pg_config #1271

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

paleolimbot
Copy link
Member

Closes #1268.

The configure script now falls back on pg_config. Barring an intervention like setting the PKG_CONFIG_PATH in advance, this method gets used on MacOS M1 (libpq installed via homebrew) and archlinux. I also checked recent ubuntu, fedora, and alpine, all of which appear to use pkg-config to pick up the include/libs location.

@lidavidm lidavidm added this to the ADBC Libraries 0.9.0 milestone Nov 8, 2023
@paleolimbot paleolimbot merged commit 20b71b4 into apache:main Nov 8, 2023
22 checks passed
@paleolimbot paleolimbot deleted the r-postgres-config branch November 8, 2023 19:14
paleolimbot added a commit to paleolimbot/arrow-adbc that referenced this pull request Nov 9, 2023
…ache#1271)

Closes apache#1268.

The configure script now falls back on `pg_config`. Barring an
intervention like setting the PKG_CONFIG_PATH in advance, this method
gets used on MacOS M1 (libpq installed via homebrew) and archlinux. I
also checked recent ubuntu, fedora, and alpine, all of which appear to
use pkg-config to pick up the include/libs location.
vleslief-ms pushed a commit to vleslief-ms/arrow-adbc that referenced this pull request Nov 9, 2023
…ache#1271)

Closes apache#1268.

The configure script now falls back on `pg_config`. Barring an
intervention like setting the PKG_CONFIG_PATH in advance, this method
gets used on MacOS M1 (libpq installed via homebrew) and archlinux. I
also checked recent ubuntu, fedora, and alpine, all of which appear to
use pkg-config to pick up the include/libs location.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

r/driver/postgres: Use pg_config instead (or in addition to) pkg-config
2 participants