Giter Site home page Giter Site logo

jameslinus / simit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simit-lang/simit

0.0 1.0 0.0 7.6 MB

A language for computing on sparse systems

Home Page: http://simit-lang.org

License: Other

CMake 0.24% C++ 99.56% Shell 0.01% C 0.09% Emacs Lisp 0.02% Makefile 0.01% LLVM 0.01% Python 0.03% Vim Script 0.04%

simit's Introduction

Simit is a new programming language designed to make it easy to write high-performance code to compute on sparse systems. For more information see simit-lang.org.

Build Simit

To build Simit you must install CMake 2.8.3 or greater and LLVM 3.7 or greater. You must then make sure llvm-config is available in your path.

If you want to build LLVM yourself you can check it out using SVN:

svn co https://llvm.org/svn/llvm-project/llvm/branches/release_37 llvm3.7

then build it:

cd llvm3.7
mkdir build
cd build
cmake -DLLVM_ENABLE_TERMINFO=OFF -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_BUILD_TYPE=Release ..
make -j8

then point Simit to it:

export LLVM_CONFIG=<path to llvm>/build/bin/llvm-config

To perform an out-of-tree build of Simit do:

cd <simit-directory>
mkdir build
cd build
cmake ..
make -j8

To run the test suite do (all tests should pass, but ignore disabled tests):

cd <simit-directory>
./build/bin/simit-test

To check a Simit program:

cd <simit-directory>
./build/bin/simit-check <simit-program>

For example:

./build/bin/simit-check simit-check apps/springs/isprings.sim

To make the Simit bin directory part of your PATH:

cd <simit-directory>
export PATH="$PATH:`pwd`/build/bin"

To build Simit's documentation:

cd <simit-directory>
doxygen

This will create a doc directory containing HTML documentation. Open doc/index.html in your browser.

License

Simit is under a permissive MIT license. We encourage you to use it for research or commercially!

If you do use it, we'd greatly appreciate a note saying what you use it for! (However, we stress that you're under no obligation to do so.)

simit's People

Contributors

fredrikbk avatar gkanwar avatar stephenchouca avatar desaic avatar shoaibkamil avatar jrk avatar ptew avatar lugatod avatar dannykaufman avatar evouga avatar raywu22 avatar vikingscientist avatar gesslerpd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.