GithubHelp home page GithubHelp logo

xman0810 / lift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lift-project/lift

0.0 0.0 0.0 34.54 MB

The Lift programming language and compiler

Home Page: http://www.lift-project.org/

License: MIT License

Scala 88.63% Shell 0.07% CMake 0.16% C 3.03% C++ 7.08% Python 0.24% Java 0.73% Dockerfile 0.03% PowerShell 0.03%

lift's Introduction

The Lift language

Setup

  1. Install git, git-lfs, dot and the latest Java SDK
  2. Clone the "lift" repository to a directory of you choice
  3. Install the ArithExpr dependency by running ./updateSubmodules.sh
  4. Download & Install IDEA IntelliJ (http://www.jetbrains.com/idea/)
  5. Launch IntelliJ. On the Welcome Screen select "Configure" and install the "Scala" Plugin form the Plugin Repository. After the installation restart IntelliJ.
  6. On the IntelliJ Welcome Screen select "Open Project" and select the "build.sbt" file in the "lift" folder you just checked out.

To be able to execute computations in OpenCL you need to build the Executor library. The script buildExecutor.sh builds the executor.

./buildExecutor.sh

Both scripts are also called by sbt when running sbt compile

Finally add the Executor build directory to the Java library path:

  • In IntelliJ select "Run -> Edit Configurations ..."

  • On the left side select "Defaults -> JUnit"

  • On the right side add to the "VM options": "-Djava.library.path=$LIFT_ROOT/lib/Executor/build/" (with the proper path from your system)

Alternatively, you can add the Executor build directory to your LD_LIBRARY_PATH. That will also make it possible to run tests and benchmarks from the command line using "sbt test" and scripts in the "scripts" folder, respectively.

Documentation

More Extensive Documentation on Building and Running Lift

ScalaDoc

lift's People

Contributors

tremmelg avatar kerl13 avatar michel-steuwer avatar t-lutz avatar naummo avatar fedepiz avatar cdubach avatar adambrouwersharries avatar potato1996 avatar mheine94 avatar b-hagedorn avatar stoltzstrop avatar andretamm avatar martin-luecke avatar vollmerm avatar piotrjander avatar rrnewton avatar josephmarotte avatar taratorio avatar murilogiacometti avatar johanneslenfers 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.