Archived
3
0

llvm: fixes prefix

This commit is contained in:
Luka Vandervelden 2019-09-04 13:33:55 +02:00
parent 1816111f0e
commit 14f9f8a214

View File

@ -1,6 +1,6 @@
name: llvm name: llvm
version: 8.0.1 version: 8.0.1
release: 1 release: 2
sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
dependencies: dependencies:
- libffi - libffi
@ -9,7 +9,7 @@ dependencies:
mkdir %{name}-%{version} mkdir %{name}-%{version}
cd %{name}-%{version} && \ cd %{name}-%{version} && \
cmake ../llvm-%{version}.src \ cmake ../llvm-%{version}.src \
-DCMAKE_INSTALL_PREFIX=/usr/weirdos/%{name} \ -DCMAKE_INSTALL_PREFIX="%{prefix}" \
-DLLVM_BUILD_DOCS=OFF\ -DLLVM_BUILD_DOCS=OFF\
-DLLVM_BUILD_EXAMPLES=OFF \ -DLLVM_BUILD_EXAMPLES=OFF \
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \ -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \