Skip to content

dcdelia/mcvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

McVM for LLVM 3.6+

This repository is an initial effort to port the publicly available McVM virtual machine for MATLAB developed at McGill University to newer LLVM releases. Important design choices behind MCJIT - the new JIT compiler for LLVM - break the compatibility with code based on the old JIT, which has also been dropped since the 3.6 release. In this fork we hack the original code source code available from the Sable repository to support MCJIT.

Our code has been built against LLVM 3.6.2, and should work fine in LLVM 3.6+ (and possibly 3.5+ as well). In order to build it, a few shared libraries are required: for most Ubuntu users, it should be enough to install libatlas-base-dev, libblas-dev and liblapacke-dev.

In order to compile the source, you should run the script bootstrap.sh to download and compile the Boehm garbage collector used by McVM. Then you can simply run the command make.

For the sake of simplicity, in this repository we also provide a pre-compiled jar for the Natlab component (built from the sources from the Sable's mclab-core repository) required to construct the Abstract Syntax Tree for a MATLAB program.

About

A porting of McGill's McVM for Matlab to LLVM 3.6+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.2%
  • Other 1.8%