forked from sabottenda/llvm-sample-target
-
Notifications
You must be signed in to change notification settings - Fork 0
yus3710-fj/llvm-sample-target
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
## setup sample target $ git clone https://github.com/llvm/llvm-project.git $ cd llvm-project/llvm/lib/Target $ git checkout llvmorg-10.0.0 $ git clone https://github.com/Heavybaby5000/llvm-sample-target.git Sample $ cd - && cd llvm-project $ patch -p1 < ./llvm/lib/Target/Sample/config.patch ## compile and install $ cd - $ mkdir build $ cd build $ cmake -DCMAKE_INSTALL_PREFIX=/opt/llvm -DCMAKE_BUILD_TYPE=Debug ../llvm-project/llvm $ make -j4 $ sudo make install ## run test $ export PATH=/opt/llvm/bin:$PATH $ cd - $ cd llvm-project/llvm/lib/Target/Sample $ llvm-lit test
About
「きつねさんでもわかるLLVM」で作成したバックエンド
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 96.9%
- LLVM 1.7%
- CMake 1.4%