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

coinbrew build #220

Open
giovanichaves opened this issue Dec 13, 2024 · 4 comments
Open

coinbrew build #220

giovanichaves opened this issue Dec 13, 2024 · 4 comments

Comments

@giovanichaves
Copy link

Hi @bradbell your commit 85514c6 has broken compatibility with coinbrew to build cppad

Any ideas to go around with it?

image
@bradbell
Copy link
Contributor

Please look at the following documentation and see if you can get this working with the current master:
https://cppad.readthedocs.io/latest/configure.html
If the configure script is missing any features you need, I will add them.

Once we get it working with the current master, I will backport the necessary changes to version 20240000.

Thanks !!

@bradbell
Copy link
Contributor

bradbell commented Feb 5, 2025

Hi @bradbell your commit 85514c6 has broken compatibility with coinbrew to build cppad

Any ideas to go around with it?

Would you please provide information so I can reproduce the problem.

@tkralphs
Copy link
Member

Looks like it's simply that coinbrew adds --disable-dependency-tracking and CppAD's configure scripts no longer understand that option. By default, coinbrew usually runs with --disable-option-checking, in which case it would not stop on this error, but you seem to be using arguments that disable this. If you explicitly add --disable-option-checking as an argument to coinbrew, it should get past this error.

@bradbell
Copy link
Contributor

The CppAD configure script is hand written and meant to do what ever necessary to get a cmake command from the configure options; see line 61 of
https://github.com/coin-or/CppAD/blob/master/configure

Can you suggest an edit to this file to accomplish what is needed here ?

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