UmVirt LFS Package info

DB commit: c78e95157185199cceff370fa5b5f1dd2a1be2fa
APP commit: cac3f2066a9a05955b29d720b9b9b14f534d21c2

llvm

The LLVM package contains a collection of modular and reusable compiler and toolchain technologies. The Low Level Virtual Machine (LLVM) Core libraries provide a modern source and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!). These libraries are built around a well specified code representation known as the LLVM intermediate representation ("LLVM IR"). The optional Clang and Compiler RT packages provide new C, C++, Objective C and Objective C++ front-ends and runtime libraries for the LLVM and are required by some packages which use Rust, for example firefox.

Package info

Codename: llvm
Source file: llvm-8.0.1.src.tar.xz
Source directory: llvm-8.0.1.src
Package URL: https://umvirt.com/linux/downloads/0.1/packages/l/llvm-8.0.1.src.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.1/packages/l/llvm-8.0.1.src.tar.xz.md5sum
Dependances: python2, cmake.
Dependance of: icu, potrace, dhcpcd, ImageMagick7, mesa.
Patches: *** NO PATCHES FOUND ***
Addons: cfe-8.0.1.src.tar.xz, compiler-rt-8.0.1.src.tar.xz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
tar -xf ../cfe-8.0.1.src.tar.xz -C tools &&
tar -xf ../compiler-rt-8.0.1.src.tar.xz -C projects &&

mv tools/cfe-8.0.1.src tools/clang &&
mv projects/compiler-rt-8.0.1.src projects/compiler-rt

mkdir -v build &&
cd       build &&

CC=gcc CXX=g++                                  \
cmake -DCMAKE_INSTALL_PREFIX=/usr               \
      -DLLVM_ENABLE_FFI=ON                      \
      -DCMAKE_BUILD_TYPE=Release                \
      -DLLVM_BUILD_LLVM_DYLIB=ON                \
      -DLLVM_LINK_LLVM_DYLIB=ON                 \
      -DLLVM_ENABLE_RTTI=ON                     \
      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
      -DLLVM_BUILD_TESTS=ON                     \
      -Wno-dev -G Ninja ..

Build script:
ninja

Install script:
ninja install