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

Script for GLPK? #18

Open
krlmlr opened this issue May 21, 2024 · 3 comments
Open

Script for GLPK? #18

krlmlr opened this issue May 21, 2024 · 3 comments

Comments

@krlmlr
Copy link

krlmlr commented May 21, 2024

We're facing installation issues for igraph on macOS CI/CD, related to GLPK. I wonder if it's worth adding an installer script. How do other packages that require GLPK do it? Thanks!

CC @Antonov548.

@jeroen
Copy link
Contributor

jeroen commented May 21, 2024

A build of glpk 5 is on the CRAN servers: https://github.com/R-macos/recipes/blob/master/recipes/glpk
Binaries are here: https://mac.r-project.org/bin/darwin20/
In the r-universe CI these are automatically preinstalled.

@Antonov548
Copy link

A build of glpk 5 is on the CRAN servers: https://github.com/R-macos/recipes/blob/master/recipes/glpk Binaries are here: https://mac.r-project.org/bin/darwin20/ In the r-universe CI these are automatically preinstalled.

Thanks for the response.
Is there example how to integrate it to configure to provide include path and path to library for R package?

@krlmlr
Copy link
Author

krlmlr commented Jun 4, 2024

Example anticonf from other package: https://github.com/cran/rDEA/blob/aab922688625021041388ef9373d30cee0d92062/configure#L55 . Found through code search: https://github.com/search?q=org%3Acran%20path%3Aconfigure%20glpk&type=code .

@jeroen: Is this the way to go?

If this doesn't work for our CI/CD, perhaps debug it with https://github.com/mxschmitt/action-tmate? Any other suggestions?

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

No branches or pull requests

3 participants