CppAD icon indicating copy to clipboard operation
CppAD copied to clipboard

coinbrew build

Open giovanichaves opened this issue 1 year ago • 4 comments

Hi @bradbell your commit https://github.com/coin-or/CppAD/commit/85514c621621c8ab7bccfe413c63105232d32aca has broken compatibility with coinbrew to build cppad

Any ideas to go around with it?

image

giovanichaves avatar Dec 13 '24 18:12 giovanichaves

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 avatar Dec 14 '24 00:12 bradbell

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.

bradbell avatar Feb 05 '25 18:02 bradbell

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.

tkralphs avatar Feb 19 '25 17:02 tkralphs

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 ?

bradbell avatar Feb 19 '25 17:02 bradbell