abenkhadra / llvm-pass-tutorial Goto Github PK
View Code? Open in Web Editor NEWA step-by-step tutorial for building an LLVM sample pass
License: Other
A step-by-step tutorial for building an LLVM sample pass
License: Other
Hi,
I'm running LLVM on my raspbian. The last llvm version on official repo is 3.5 and this is why I have this error:
CMake Error at /usr/share/llvm-3.5/cmake/LLVMConfig.cmake:50 (include):
include could not find load file:
/usr/lib/llvm-3.5/share/llvm/cmake/LLVMExports.cmake
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
CMake Error at /usr/share/llvm-3.5/cmake/LLVMConfig.cmake:53 (include):
include could not find load file:
/usr/lib/llvm-3.5/share/llvm/cmake/LLVM-Config.cmake
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
Seems that it's searching in the wrong directory : /usr/lib/llvm-3.5
instead of /usr/share/llvm-3.5
…
By the way, I don't care ^^'
I just wanted to link the skeleton-pass to my compiled llvm (4.0) by using your cmake command:
LLVM_DIR="/home/pi/LLVM/llvm_build/lib/cmake/llvm" cmake ..
But it states the same error… as if cmake does not want to consider $LLVM_DIR
global variable here.
-- Found LLVM 3.5.0
-- Using LLVMConfig.cmake in: /usr/share/llvm-3.5/cmake
It's better to use -DLLVM_DIR option to cmake.
Remarque: my "cmakes" directory is not in $LLVM_BUILD/share/llvm/cmake
Maybe they moved it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.