/lms

EPFL DATA Lab fork of LMS (TiarkRompf/virtualization-lms-core)

Primary LanguageScalaOtherNOASSERTION

Lightweight Modular Staging (LMS) is a runtime code generation approach. This framework, LMS-Core, provides a library of core components for building high performance code generators and embedded compilers in Scala.

Closely related projects are Delite, a framework for heterogeneous parallel domain specific languages (DSLs), and Scala-Virtualized, a set of minimal extensions to the Scala compiler to make embedding DSLs more seamless.

Background:

How to build:

  1. Install the SBT build tool.

  2. Run sbt test to run the test suite.

  3. Run sbt publish-local to install LMS-Core for use in other projects.

Troubleshooting

If you get the following exception when running sbt publish-local:

java.lang.OutOfMemoryError: PermGen space
Error during sbt execution: java.lang.OutOfMemoryError: PermGen space
tsf-444-wpa-1-148:lms noetzli$ export SBT_OPTS=-XX:MaxPermSize=256m

Use export SBT_OPTS="-XX:MaxPermSize=256m -Xmx2048m".

License:

Copyright 2010-2014, EPFL. Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0