Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 958 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 958 Bytes

emllvm

LLVM and Clang ported to Emscripten

Instructions

  1. Install prerequisites.

    • Emscripten
    • Clang - emllvm has been tested against Clang 3.9 and currently assumes that Clang binaries are available under /usr/bin and has been tested against Clang 3.9.
    • CMake - Currently, version 3.4.3 or newer is required. See LLVM documentation for details.
  2. Optionally, create a symlink to emsdk-portable (or place the emsdk-portable directory in the emllvm directory) so that the build script can automatically find it.

  3. Run the build script.

    cd emllvm
    ./build.sh
    

Further reading