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

Unable to build tinylang with LLVM #10

Open
abidmalikwaterloo opened this issue Apr 19, 2022 · 0 comments
Open

Unable to build tinylang with LLVM #10

abidmalikwaterloo opened this issue Apr 19, 2022 · 0 comments

Comments

@abidmalikwaterloo
Copy link

hello,

I am trying to build the tiny tool based on Chapter 2. I followed the book and also consult the github. However, I am getting the following:


CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
  Found unknown source file Driver.cpp

  Please update /home/amalik/LLVM/tinylang/tools/driver/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:867 (llvm_process_sources)
  /home/amalik/LLVM/tinylang/cmake/modules/AddTinylang.cmake:26 (add_llvm_executable)
  /home/amalik/LLVM/tinylang/cmake/modules/AddTinylang.cmake:30 (add_tinylang_executable)
  /home/amalik/LLVM/tinylang/tools/driver/CMakeLists.txt:3 (add_tinylang_tool)


CMake Error at /home/amalik/LLVM/tinylang/cmake/modules/AddTinylang.cmake:31 (install):
  install does not recognize sub-command TARGET
Call Stack (most recent call first):
  /home/amalik/LLVM/tinylang/tools/driver/CMakeLists.txt:3 

> (add_tinylang_tool)''

I am not sure where things are going wrong. Driver.cpp is there.

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

No branches or pull requests

1 participant