mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/openimageio: fix for v5 and v6
This commit is contained in:
parent
a177a33212
commit
2f4dbce3a4
1 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
|||
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed intel-tbb from deps, set -DUSE_TBB=0
|
||||
# - removed intel-tbb from deps
|
||||
# - set -DUSE_LLVM_BITCODE=OFF for v5 and v6
|
||||
|
||||
pkgname=openshadinglanguage
|
||||
pkgver=1.3.3
|
||||
|
@ -24,10 +25,11 @@ build() {
|
|||
[[ -d build ]] && rm -r build
|
||||
mkdir build && cd build
|
||||
|
||||
[ "${CARCH}" == "arm" -o "${CARCH}" == "armv6h" ] && BITCODE="-DUSE_LLVM_BITCODE=OFF"
|
||||
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLLVM_STATIC=0 \
|
||||
-DUSE_TBB=0 \
|
||||
-DLLVM_STATIC=0 ${BITCODE} \
|
||||
..
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue