Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-115119: Detect _decimal dependencies using pkg-config#115406
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Only libmpdec 4.0.0 supports pkg-config.
erlend-aasland commentedFeb 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Tested on macOS with the following scenarios: $./configure&& make# Uses CPython vendored mpdecimal$./configure --with-system-libmpdec&& make# pkg-config detects Homebrew installed libmpdec 4.0.0$LIBMPDEC_CFLAGS="-I$HOME/install" \ LIBMPDEC_LIBS="-L$HOME/install -lm -lmpdec" \ ./configure --with-system-libmpdec && make # Build with custom libmpdec 2.5.1 For some reason the latter fails, but I suspect it is an issue with my setup. |
cc.@ned-deily |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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.
LGTM, thanks! FWIW, I was able to successfully build and test with mpdecimal 2.5.1 as well as 4.0.0.
Thanks, Ned! I had forgotten about this :) |
c7e7bfc
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Only libmpdec 4.0.0 supports pkg-config.
libmpdec
sources #115119