llvm: fixes prefix
This commit is contained in:
parent
1816111f0e
commit
14f9f8a214
@ -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 \
|
||||||
|
Reference in New Issue
Block a user