wok-next view llvm/receipt @ rev 21247

updated cyrus-imapd (2.4.17 -> 3.0.12)
author Hans-G?nter Theisgen
date Thu Dec 05 16:28:27 2019 +0100 (2019-12-05)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="llvm"
4 VERSION="7.0.0"
5 CATEGORY="development"
6 SHORT_DESC="LLVM (Low Level Virtual Machine): collection of modular and \
7 reusable compiler and toolchain technologies"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://llvm.org/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL"
14 TARBALL_SHA1="27503a22614626e935a05b609ab4211be72cd78b"
16 BUILD_DEPENDS="cmake zlib-dev libffi-dev ninja"
17 SPLIT="libllvm $PACKAGE $PACKAGE-dev"
19 DEPENDS_std="libffi libllvm"
20 DEPENDS_libllvm="libffi"
22 compile_rules() {
23 mkdir build
24 cd build
26 CC=gcc CXX=g++ \
27 cmake \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DLLVM_ENABLE_FFI=ON \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DLLVM_BUILD_LLVM_DYLIB=ON \
32 -DLLVM_LINK_LLVM_DYLIB=ON \
33 -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
34 -DLLVM_BUILD_TESTS=ON \
35 -Wno-dev \
36 -G Ninja \
37 .. &&
38 ninja install
39 }
41 PROVIDE_libllvm="llvm-libs"