adrian-thurston / colm

The Colm Programming Language
MIT License
166 stars 32 forks source link

compilation question #87

Closed olesenm closed 4 years ago

olesenm commented 4 years ago

Nothing urgent, but now that colm, ragel are all in a single repo, figured I'd try to give it a build.

Which branch and which tool should I be using?

master appears to be development activities.

The README states that it is autoconf-based, but after autogen, configure make, it doesn't find the "version.h" file. Tried again with cmake instead (out of source build), but that fails with not finding <colm/map.h>.

adrian-thurston commented 4 years ago

I broke the build recently. Try a make version.h first. Then make.

I really need to enable nightly building. I've seen people connect that to the github UI. Would be great to figure it out. I have a VM on which it can run.

adrian-thurston commented 4 years ago

And yup, master is where I'm doing active development.

adrian-thurston commented 4 years ago

Cmake is maintained by @podsvirov I occasionally change the autotools build and he has been updating the cmake side once in a while.

podsvirov commented 4 years ago

Hello to all! I will try to restore the CMake project in my free time.

adrian-thurston commented 4 years ago

Thank you @podsvirov!

The recent changes are two things:

  1. I added another bootstrap pass to allow for transformations that implement parts of colm.
  2. I refactored the dependencies (in /colm) so that a single rule generates only one output. I'm currently using tar for this, but would like to switch to some inbuilt feature in colm for packing output files together, then extracting afterwards in the makefile.
olesenm commented 4 years ago

A general question (honestly not trolling), apart from familiarity or personal preference, what are each of your arguments for/against autoconf/cmake?

adrian-thurston commented 4 years ago

I can't really say why one is better than the other for this project. I wouldn't want to switch without a strong reason.