Files
phoronix-test-suite/ob-cache/test-profiles/pts/blender-4.1.0/install_macosx.sh
2024-04-20 19:23:38 -05:00

18 lines
488 B
Bash

#!/bin/sh
unzip -o cycles_benchmark_20160228.zip
mv benchmark/bmw27/*.blend ~
mv benchmark/classroom/*.blend ~
mv benchmark/fishy_cat/*.blend ~
mv benchmark/pabellon_barcelona/*.blend ~
echo "#!/bin/bash
[ ! -d /Volumes/Blender/ ] && hdid blender-4.1.0-macos-x64.dmg
BLEND_ARGS=\$@
if [[ \$@ =~ .*CPU.* ]]
then
BLEND_ARGS=\${BLEND_ARGS/_gpu/_cpu}
fi
cd benchmark
/Volumes/Blender/Blender.app/Contents/MacOS/Blender \$BLEND_ARGS > \$LOG_FILE
rm -f output.test" > blender
chmod +x blender