utcs-scea / ava-llvm

Customized clang for AvA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build

The repository should be cloned to the AvA root directory. In this directory:

mkdir build
cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
make

or simply execute:

./scripts/build.sh

This will place the build artifacts in llvm/build. You do not need to install them. nwcc (CAvA) will find them in their build locations.

How to generate minimal binary

Install docker and run this script to build LLVM in a container:

./scripts/build_release.sh

Then the tarball will be copied to ${PWD}/artifacts. To use the binary for AvA, simply unpack the tarball in ${AVA_ROOT}/llvm.

About

Customized clang for AvA.


Languages

Language:C++ 47.4%Language:LLVM 24.5%Language:C 10.5%Language:Assembly 9.4%Language:HTML 4.2%Language:Python 1.5%Language:Objective-C 1.3%Language:Objective-C++ 0.4%Language:CMake 0.3%Language:Cuda 0.1%Language:OCaml 0.1%Language:Perl 0.1%Language:Shell 0.0%Language:Go 0.0%Language:Awk 0.0%Language:JavaScript 0.0%Language:CSS 0.0%Language:C# 0.0%Language:Makefile 0.0%Language:Emacs Lisp 0.0%Language:Roff 0.0%Language:Batchfile 0.0%Language:Vim Script 0.0%Language:Mathematica 0.0%Language:Ruby 0.0%Language:Fortran 0.0%Language:Dockerfile 0.0%Language:SourcePawn 0.0%Language:Cool 0.0%Language:Pawn 0.0%Language:NASL 0.0%Language:M 0.0%Language:TypeScript 0.0%Language:TeX 0.0%Language:AppleScript 0.0%Language:SWIG 0.0%Language:RenderScript 0.0%Language:DTrace 0.0%Language:Swift 0.0%Language:Rust 0.0%