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

configure script can't auto-detect aarch64 #587

Open
MrHighVoltage opened this issue Apr 6, 2023 · 3 comments
Open

configure script can't auto-detect aarch64 #587

MrHighVoltage opened this issue Apr 6, 2023 · 3 comments

Comments

@MrHighVoltage
Copy link

As the title states, building cbc on aarch64 requires explicitly setting the build target architecture on aarch64.

It seems that the release-packages include config.guess and config.sub scripts from 2007, whereas in the repo, those files have been continuously updated.

Is it possible to re-release the current version with the newer files included? Or is there are reason for not updating those files?

Thank you very much!

@tkralphs
Copy link
Member

tkralphs commented Apr 7, 2023

Yes, there is a method to the madness. The stable/2.10 branch of Cbc and associated releases (as well as stable branches of dependencies and their releases) uses an older stable branch of our BuildTools that was developed back in the early '00s (https://github.com/coin-or-tools/BuildTools/tree/stable/0.8). Through an accumulation of homebrewed fixes that are only compatible with older version of the autotools, this version of the BuildTools became pegged to those older versions.

Over years, we eventually completely re-implemented the BuildTools in its master branch, so it is now up-to-date with current autotools. We have moved all of the master branches of the projects in the Cbc stack to this new version of the BuildTools, while at the same time undertaking some refactoring that was sorely needed. Unfortunately, that refactoring is still unfinished and would benefit from some volunteer effort, which has not materialized. I have a plan for getting it done as part of a research project, but that is a slow-moving train.

Because the move to the master branch of the BuildTools involves many breaking changes to existing build workflows, we cannot just retrofit the new build system onto the old stable versions. So everything is waiting for a new stable version of Cbc and associated releases.

If you are building your own binaries from source, the master branch is working fine and you can use it, there just may be some regressions that we need to track down and some parameter tuning is needed (as well as some additional refactoring).

@tkralphs
Copy link
Member

tkralphs commented Apr 7, 2023

In case you want to read about the refactoring, you can check the discussion here: #465.

@tkralphs
Copy link
Member

Apparently, it works to do this.

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

2 participants