Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

codersguild/LLVM-Examples

Repository files navigation

LLVM-Examples

LLVM Examples and Code samples. LLVM Passes. Based on llvm-project

# llvm cmake
cmake -G "Ninja" build \
 -DLLVM_ENABLE_PROJECTS="llvm;compiler-rt;clang;clang-tools-extra" \
 -DCMAKE_BUILD_TYPE=Release \
 -DLLVM_ENABLE_ASSERTIONS=ON \
 -DLLVM_CCACHE_BUILD=OFF \
 -DLLVM_BUILD_TESTS=ON \
 -DLLVM_INSTALL_UTILS=ON \
 -B build -S llvm

Installing from Docker

Check build commands in the Dockerfile for more information on installing LLVM on local machine.

$ docker build -f DockerFile -t prodrelworks/llvm-examples:latest .
$ docker run --name llvm-examples --ulimit stack=10000000:10000000 \
 --cpus=4 --memory=20g -it prodrelworks/llvm-examples:latest

Examples & Implementations :

References & Links :

About

LLVM Repository and Code samples. LLVM Passes and quick bytes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • LLVM 75.4%
  • C++ 11.3%
  • Makefile 4.2%
  • CMake 3.4%
  • C 2.8%
  • TeX 2.8%
  • Shell 0.1%

AltStyle によって変換されたページ (->オリジナル) /