summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 5 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 695928cc195..254bbcc5bd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -84,26 +84,18 @@ build() {
# export CFLAGS="${CFLAGS} -DOPENVDB_3_ABI_COMPATIBLE -DOPENVDB_USE_DEPRECATED_ABI"
# export CXXFLAGS="${CXXFLAGS} -DOPENVDB_3_ABI_COMPATIBLE -DOPENVDB_USE_DEPRECATED_ABI"
cmake -GNinja "$srcdir/blender" \
+ -C${srcdir}/blender/build_files/cmake/config/blender_release.cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
-DWITH_INSTALL_PORTABLE=OFF \
- -DWITH_CXX11=ON \
- -DWITH_ALEMBIC=NO \
- -DWITH_OPENCOLORIO=ON \
- -DWITH_FFTW3=ON \
+ -DWITH_GL_PROFILE_CORE=OFF \
+ -DWITH_GL_PROFILE_ES20=OFF \
-DWITH_SYSTEM_GLEW=ON \
- -DWITH_CODEC_FFMPEG=ON \
-DWITH_PYTHON_INSTALL=OFF \
-DPYTHON_VERSION=${_pyver} \
- -DWITH_MOD_OCEANSIM=ON \
- -DWITH_CYCLES_OPENSUBDIV=ON \
- -DWITH_CYCLES_OSL=ON \
-DWITH_LLVM=ON \
- -DWITH_IMAGE_OPENEXR=ON \
- -DWITH_OPENSUBDIV=ON \
- -DWITH_OPENVDB=ON \
- -DWITH_OPENVDB_BLOSC=ON \
- -DWITH_OPENCOLLADA=ON \
${_EXTRAOPTS[@]}
+# -DWITH_OPENVDB_3_ABI_COMPATIBLE=ON \
export NINJA_STATUS="[%p | %cbps | %f<%r<%u ] "
ninja -d stats
}