Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:user5664536:toolchain
llvm39
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package llvm39
pkgname=llvm39 pkgver=3.9.1 pkgrel=1 arch=('x86_64') url="https://llvm.org/" license=('custom:University of Illinois/NCSA Open Source License') depends=('perl' 'gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses') makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2' 'gcc' 'python2') options=('staticlibs') source=(https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz https://releases.llvm.org/$pkgver/cfe-$pkgver.src.tar.xz "https://github.com/stanson-ch/beignet.SlackBuild/raw/master/0004-fix-lambda-parameter-name-redeclared.patch") sha256sums=('SKIP' 'SKIP' 'SKIP') prepare() { cd $srcdir/llvm-$pkgver.src mv "$srcdir/cfe-$pkgver.src" tools/clang mkdir build patch -p1 -i ../0004-fix-lambda-parameter-name-redeclared.patch } build() { cd "$srcdir/llvm-$pkgver.src/build" cmake .. -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm39 \ -DLLVM_TARGETS_TO_BUILD="X86" \ -DCMAKE_C_FLAGS="-Wno-implicit-fallthrough" \ -DCMAKE_CXX_FLAGS="-Wno-init-list-lifetime -Wno-unused-function -Wno-class-memaccess -Wno-redundant-move -Wno-deprecated-declarations -Wno-cast-function-type -Wno-implicit-fallthrough -Wno-deprecated-copy" ninja -j$(nproc) } package() { cd "$srcdir/llvm-$pkgver.src/build" DESTDIR="$pkgdir" ninja install install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor