phillipstanleymarbell / Noisy-lang-compiler

Noisy language compiler
MIT License
17 stars 1 forks source link

make cgi in Newton fails due to error in Makefile #615

Open janithpet opened 1 year ago

janithpet commented 1 year ago

Describe the bug Running make cgi inside src/newton fails due to the following error:

make: *** No rule to make target 'newton-irPass-estimatorSynthesisBackend/o', needed by 'cgi'.  Stop.

To Reproduce Steps to reproduce the behavior:

  1. Clone repo using git clone --recursive git@github.com:phillipstanleymarbell/Noisy-lang-compiler.git
  2. Create config.local in root directory, and submodules/libflex. config.local looks like:
    LIBFLEXPATH=<path-to-repo>/Noisy-lang-compiler/submodules/libflex
    CONFIGPATH=<path-to-repo>/home/janith/Noisy-lang-compiler/submodules/libflex
    OSTYPE=linux
    MACHTYPE=x86_64
  3. run make in submodules/libflex.
  4. run make cgi in src/newton.

Host OS (please complete the following information):

Your local changes (please complete the following information):

Additional context Add any other context about the problem here.

janithpet commented 1 year ago

Line 168 seems to be a duplicate of Line 163.

So removing this line fixed the issue. I'll make a PR with this change.