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

Not Able To build this project #1

Open
kamleshbhalui opened this issue Sep 3, 2017 · 5 comments
Open

Not Able To build this project #1

kamleshbhalui opened this issue Sep 3, 2017 · 5 comments

Comments

@kamleshbhalui
Copy link

After running make command following Error is thrown while building this project

Making all in src
make[1]: Entering directory '/home/sir/llvm_proj/aplc-master/build/src'
make[1]: *** No rule to make target 'parser.h', needed by 'all'. Stop.
make[1]: Leaving directory '/home/sir/llvm_proj/aplc-master/build/src'
Makefile:343: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@jiixyj
Copy link
Owner

jiixyj commented Sep 5, 2017

"parser.h" is a symlink that should have been created by the CMake script:

execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_BINARY_DIR}/parser.hpp ${CMAKE_CURRENT_BINARY_DIR}/parser.h)

I'm not sure why that didn't work.

In any case, I don't think this project still builds with modern versions of LLVM.

@cannadayr
Copy link

cannadayr commented Oct 15, 2019

Any continued interest in porting this to a more recent LLVM?

I've updated the library paths, but I still get the following error (first of many)

/home/usr/dev/aplc/src/codegen.cpp: In constructor ‘llvm::UnresolvedType::UnresolvedType(int)’:
/home/usr/dev/aplc/src/codegen.cpp:41:53: error: ‘NumTypeIDs’ was not declared in this scope
     UnresolvedType(int x) : Type(mod->getContext(), NumTypeIDs), x(x) {}

@jiixyj
Copy link
Owner

jiixyj commented Oct 15, 2019

I've got no immediate plans for updating this to newer LLVM versions -- I'd gladly accept PRs, however!

@cannadayr
Copy link

Do you happen to remember what version of llvm you used to develop?

@jiixyj
Copy link
Owner

jiixyj commented Oct 15, 2019

At the time of the last commit LLVM 3.0 was the latest version, so it should probably work with it.

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

No branches or pull requests

3 participants