This repository was archived by the owner on Jun 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
setup
Lorenzo Tessiore edited this page Jun 26, 2015
·
32 revisions
Prerequisites:
- Visual Studio 2013
- LLVM 3.5
- ARM GCC installed and added to PATH
- Make for Windows to build with GCC
To build LLVM, one needs to install CMake and add it to the path. To build LLVM, please follow instructions here or here.
The instructions below will refer to the mandatory as well optional steps. Optional steps are marked clearly and refer to, for example, how to build/install LLVM, should one not have done that yet.
- Clone the entire repo with: git clone https://github.com/NETMF/zelig-pr.git into directory <repo>
- [OPTIONAL] Move to directory <repo>\external and install LLVM using the script located in that directory. You will need CMake to complete this step.
- Change LLVM header file IRbuilder.h. line 74, from
InsertPt = nullptr;toInsertPt = BasicBlock::iterator(nullptr); - Move to directory <repo>\Zelig\Zelig and open Zelig solution Zelig.sln
- Build LLVMIR project first under code transformations; it will take a while.
- Build the rest of the solution.
- You are now ready to try the system on a real device!
Go to Build and Run Test Demo