diff options
author | Stefanos Carlström | 2020-03-01 16:29:03 +0100 |
---|---|---|
committer | Stefanos Carlström | 2020-03-01 16:29:03 +0100 |
commit | 912f6630c6705f1489482c1760f772af14e7a8aa (patch) | |
tree | 82a930851083dd1cfb54fbc73d559ff851949194 | |
parent | 49a4b383c635edf382c9c01a2cf2730b3845b266 (diff) | |
download | aur-912f6630c6705f1489482c1760f772af14e7a8aa.tar.gz |
Optix support
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,9 @@ +# Maintainer: Stefanos Carlström <stefanos.carlstrom@gmail.com> + +# This PKGBUILD is based on that for the full application found in the +# main package repo, but customized to compile a standalone Python +# module. + _gittag=v2.82 # _gitcommit=rB5b416ffb848e66238d9646a239840499f98121a9 @@ -21,7 +27,8 @@ options=(!strip) source=("git://git.blender.org/blender-addons.git" "git://git.blender.org/blender-addons-contrib.git" "git://git.blender.org/blender-translations.git" - "git://git.blender.org/blender-dev-tools.git") + "git://git.blender.org/blender-dev-tools.git" + https://developer.download.nvidia.com/redist/optix/v7.0/OptiX-7.0.0-include.zip) if [[ -n $_gittag ]]; then source+=("${pkgname}-${pkgver}::git://git.blender.org/blender.git#tag=${_gittag}") elif [[ -n $_gitcommit ]]; then @@ -31,6 +38,7 @@ sha512sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' + 'b2cff73def3757d4259f4b4d318a8ccfe166bf7c215cbb2124f1c81bd6e742f96207285b24eb4d99b527b7b97dc6d5e8fdf2f16d78d5d1e2684c26d681328491' 'SKIP') prepare() { @@ -50,6 +58,7 @@ build() { cd "$srcdir/$pkgname-$pkgver"/build cmake -GNinja -C../build_files/cmake/config/bpy_module.cmake .. \ + -DOPTIX_ROOT_DIR="$srcdir"/include \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DPYTHON_VERSION=3.8 \ |