https://github.com/simit-lang/simit
A language for computing on sparse systems
https://github.com/simit-lang/simit
graphs language linear-algebra llvm simit sparse-systems
Last synced: 6 days ago
JSON representation
A language for computing on sparse systems
- Host: GitHub
- URL: https://github.com/simit-lang/simit
- Owner: simit-lang
- License: other
- Created: 2016-06-10T04:07:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-17T21:00:25.000Z (over 6 years ago)
- Last Synced: 2025-03-29T13:11:30.466Z (7 months ago)
- Topics: graphs, language, linear-algebra, llvm, simit, sparse-systems
- Language: C++
- Homepage: http://simit-lang.org
- Size: 7.45 MB
- Stars: 457
- Watchers: 44
- Forks: 53
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](http://simit-lang.org).Build Simit
===========
To build Simit you must install
[CMake 2.8.3 or greater](http://www.cmake.org/cmake/resources/software.html) and
[LLVM 3.7 or greater](http://llvm.org/releases/download.html).
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 -DLLVM_ENABLE_RTTI=ON -DCMAKE_BUILD_TYPE=Release ..
make -j8then point Simit to it:
export LLVM_CONFIG=/build/bin/llvm-config
To perform an out-of-tree build of Simit do:
cd
mkdir build
cd build
cmake ..
make -j8To run the test suite do (all tests should pass, but ignore disabled tests):
cd
./build/bin/simit-testTo check a Simit program:
cd
./build/bin/simit-checkFor example:
./build/bin/simit-check apps/springs/isprings.sim
To make the Simit bin directory part of your PATH:
cd
export PATH="$PATH:`pwd`/build/bin"To build Simit's documentation:
cd
doxygenThis 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.)