Archived
3
0
This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
recipes/llvm-6/recipe.spec
Luka Vandervelden a5e68e70c6 Initial commit.
Recipes still untested at this point.
2019-08-03 12:06:11 +02:00

18 lines
847 B
RPMSpec

name: llvm-6
version: 6.0.1
release: 1
sources: http://releases.llvm.org/%{version}/llvm-%{version}.src.tar.xz
dependencies:
- libffi
@configure
mkdir llvm-6-%{version}
cd llvm-6-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-6 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
@build
pwd && ls && cd llvm-6-%{version} && make
@install
cd llvm-6-%{version} && make DESTDIR='%{pkg}' %{name}