Skip to content

montimaj/ShaktiT_LLVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a toolchain for the T-class SHAKTI processor Shakti, based on LLVM. Currently only the framework is ready. Lots of changes are to be made. It includes a C/C++ compiler (clang), assembler, linker and debugger (lldb).

While this project includes a C/C++ compiler, the LLVM backend can support any language.

Building

Required Software

The following sections describe how to install these packages.

Building on Linux

You can install required packages using the built-in package manager (apt-get, yum, etc). As LLVM needs newer versions of many packages, you should be on a recent version of your Linux distribution. Instructions are below are for Ubuntu (which must be on at least version 16). You may need to change the package names for other distributions:

sudo apt-get install libxml2-dev cmake gcc g++ python bison flex \
    zlib1g-dev swig python-dev libedit-dev libncurses5-dev

$ git clone https://github.com/montimaj/ShaktiT_LLVM
$ cd ShaktiT_LLVM
$ mkdir build && cd build
$ cmake -G Ninja ../llvm
$ ninja

Special thanks to Nyuzi

About

LLVM compiler for T-class SHAKTI processor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published