prosyslab-classroom / cs524-program-analysis

55 stars 12 forks source link

[Question][Hw8] dune error `No rule found` #212

Closed leporia closed 6 months ago

leporia commented 6 months ago

Name: Andrea Lepori

With a clean clone of HW8 I get the following error while compiling

File "src/dune", line 21, characters 7-11:
21 |  (name main)
            ^^^^
Error: No rule found for llvm/build/lib/libDummyLLVMAsmParser.a
File "src/dune", line 21, characters 7-11:
21 |  (name main)
            ^^^^
Error: No rule found for llvm/build/lib/libDummyLLVMIRReader.a
make: *** [Makefile:9: all] Error 1           

both on my local machine and on the provided VM.

leporia commented 6 months ago

Sorry totally my fault for not reading the instructions thoroughly

Re-st commented 6 months ago

Thank you. Hint for others; (in README.md)

cd llvm
mkdir build && cd build && cmake .. && make