I would just change one small thing: instead of implicitly ordering patches using cardinal names, I would rather utilize the source[] array for ordering.
mapfile -t patches < <(grep -Po '^.*?(patch|diff)(?=::|$)' < <(printf "${srcdir}/%s\n" ${source[@]}))
for patch in "${patches[@]}"; do
msg2 "apply ${patch##*/}..."
patch -Np1 -d "${srcdir}"/${_name} -i "$patch"
done
Pinned Comments
bartus commented on 2020-06-11 15:32 (UTC) (edited on 2020-08-22 09:39 (UTC) by bartus)
This package is also hosted on GitHub.
issuesandpatchesat GitHub.Use env vars to control build process:
DISABLE_OPENCL=1to skip opencl kernel build (yields DISABLE_CUDA=1)DISABLE_CUDA=1to skip cuda kernel build.Usage cases:
export DISABLE_CUDA=1before buildDISABLE_CUDA=1 ~your-aur-helper~makepkg DISABLE_CUDA=1yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"bartus commented on 2019-04-10 11:42 (UTC)
Please report
issuesandpatchesto luxcorerender@github.com