[PATCH] D29864: Update Kaleidoscope tutorial and improve Windows support
    Moritz Kroll via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Feb 12 09:06:46 PST 2017
    
    
  
mkroll added a comment.
I would also prefer to provide a patch set to have sensibly grouped changes like with git.
About TransformUtils, sorry, I'm building with MSVC and already had all libraries in my project from step 8.
The tutorial steps don't mention the make file, but they use llvm-config to select the libraries.
So "clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy" should be updated to "clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native transformutils` -O3 -o toy".
I created a patch for this: https://reviews.llvm.org/D29875
Repository:
  rL LLVM
https://reviews.llvm.org/D29864
    
    
More information about the llvm-commits
mailing list