justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

Improve Makefile prerequisites #478

Closed nmeum closed 3 years ago

nmeum commented 3 years ago

Since commit 15a8f2cfe51bffa2844159cd267bd896a1c7ed46 the build order must be as follows:

  1. Bootstrap cyclone.scm using a pre-existing compiler.
  2. Using cyclone from the previous step, build all libraries.
  3. Using the artifacts from the previous two steps, build icyc, examples, and tests.

This commit updates the Makefile prerequisites accordingly to reflect this change in build order. Otherwise, Cyclone does not correctly compile in parallel build mode with -jN.

nmeum commented 3 years ago

It is presently unclear to me if there are interdependencies between libraries, because if so this should preferably also be tracked within the Makefile.