-
Couldn't load subscription status.
- Fork 994
Open
Description
Is there any traction for CMake support?
I know about #552 (and #3237) but it is 2022 and I thought I would ask again.
Current pain points with the build system:
- no way to build a proper STATIC lib (= .a) with the current Makefile
- "config-gcc-static" FAIL, and in any case it is not a static build
- the generated libyosys.so has a wrong SONAME(= $(LIBDIR)/libyosys.so) when it SHOULD be libyosys.so
which makes it hard to properly package libyosys (without resorting to patchelf) - no way to properly package/distribute as all paths are essentially hardcoded
- a Makefile is NOT made to handle dependencies; that is what autoconf is for
- configuring the Makefile requires generating a file on disk (Makefile.conf) which is less than ideal when
integrating with CMake downstream projects
As it is pretty stupid to maintain two separate build systems, I would like to know if the maintainers are interested in migrating to CMake?
- if yes: I would gladly make a PR; in which case I would simply refactor all Makefile/Makefile.inc in the project
- if no: I will simply maintain a "quick and dirty" fork with CMake; It works fine but it is only for LIBYOSYS, it does run the tests, it does not handle the various options, etc
nblei, yegorich and Redcrafter
Metadata
Metadata
Assignees
Labels
No labels