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

CMake support ? #293

Open
ocommowi opened this issue Jul 13, 2021 · 2 comments
Open

CMake support ? #293

ocommowi opened this issue Jul 13, 2021 · 2 comments

Comments

@ocommowi
Copy link

Thanks for maintaining MPIR. I was wondering if there are any plans to use CMake Makefile generator (cmake.org) in a near future for MPIR. This could allow the automatic generation of makefiles in an easy manner and the easy inclusion of MPIR in other projects that use cmake as well. Peraps even this could simplify the portability to several OSes.

@wbhart
Copy link
Owner

wbhart commented Jul 13, 2021

No plans. The GMP build system contains 40,000 lines of hacked automake. No one has the time to port that to CMake.

@KevinHake
Copy link

There's at least one very basic cmake commit (not merged) that brings cmake to unoptimized builds (tho optimizations are a big part of this library). Imho, the best way to add support is to fork a separate library and focus only on modern cpus (i.e., drop support for many older cpus and compile options, at least to start). The build functionality here was grown over many years (decades), and as wbhart mentions it's not conducive to a quick translation to CMake.

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