Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
janithpet opened this issue Aug 1, 2022 · 1 comment
Open

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

janithpet opened this issue Aug 1, 2022 · 1 comment
Assignees
Labels

Comments

@janithpet
Copy link
Collaborator

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 [email protected]: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
  1. run make in submodules/libflex.
  2. run make cgi in src/newton.

Host OS (please complete the following information):

  • OS: Ubuntu 22.04 LTS (from lsb_release -a)
  • Clang: 11.1.0-6; Target: x86_64-pc-linux-gnu (from clang --version)
  • GCC: 11.2.0-19ubuntu1 (from gcc --version)

Your local changes (please complete the following information):

  • Output of git diff:
    No changes made

  • Output of git remote -v:

origin	[email protected]:phillipstanleymarbell/Noisy-lang-compiler.git (fetch)
origin	[email protected]:phillipstanleymarbell/Noisy-lang-compiler.git (push)

Additional context
Add any other context about the problem here.

@janithpet janithpet added the Bug label Aug 1, 2022
@janithpet
Copy link
Collaborator Author

janithpet commented Aug 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant