asyncvlsi / act

ACT hardware description language and core tools.
http://avlsi.csl.yale.edu/act
GNU General Public License v2.0
101 stars 23 forks source link

Use cmake #33

Closed HenryHeffan closed 2 years ago

HenryHeffan commented 3 years ago

This fixes the naming conventions of headers and import paths, and makes the build system much easier to understand and change. It now uses cmake. To the first time you want to build the program, do the following for the root directory in the project

$ mkdir build_dir
$ cd build_dir
$ cmake ..
$ cmake --build .

for subsequent builds, from build_dir run cmake --build . -- -j 8 (or a different number depending on number of cores desired) To install the files, from build_dir run cmake --install . --prefix /path/to/install/directory

I know you might not accept this pull request but at least fetch the branch and try it before rejecting it. I think it will make development simpler.

HenryHeffan commented 3 years ago

Im not sure how to get the automated builder to use the new build system to test it

HenryHeffan commented 3 years ago

I got it to build!