This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin | |
security unlock-keychain -p chato99 login.keychain | |
cd | |
cd art | |
sudo rm -r build | |
mkdir build | |
cd build | |
git pull | |
git checkout master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd | |
cd art | |
sudo chown rb build | |
sudo rm -r build | |
mkdir build | |
cd build | |
git checkout master | |
cmake -DCMAKE_BUILD_TYPE="Release" \ | |
-DCMAKE_OSX_ARCHITECTURES=arm64 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intel: | |
curl -L https://github.com/Benitoite/raw-test/releases/download/3FR/B0001131.3FR -o B0001131.3FR ; curl -L https://github.com/Benitoite/raw-test/releases/download/3FR/B0001131.3FR.pp3 -o B0001131.3FR.pp3 ; num=$(sysctl -n hw.physicalcpu) ; sockets=1 ; total_threads=$((num * sockets)) ; name=$(system_profiler SPHardwareDataType | grep 'Processor Name:' | sed 's/Processor Name: *//' | cut -c 7-) ; mhz=$(system_profiler SPHardwareDataType | grep 'Speed:' | awk '{print $3}') ; proc=$(cat ./AboutThisBuild.txt | grep 'Processor') ; echo "\`\`\`" ; echo "================================" ; echo "Available threads = $total_threads / CPU = $name / $mhz GHz / Target = $proc" ; for (( threads = 2; threads <= total_threads; threads *= 2 )); do export OMP_NUM_THREADS=$threads ; total_time=0.0 ; n=11 ; for file in B0001131.3FR ; do time_sum=0.0 ; for (( i = 0; i < n; i++ )); do start=$(( $(date +%s%N)/1000000 )) ; rawtherapee-cli -j -s -Y -c ./$file &> /dev/null ; finished=$(( $(date +%s%N) / 1000000 )) ; time_sum=$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intel: | |
git clone https://github.com/Benitoite/raw-test ./raw-test ; num=$(sysctl -n hw.physicalcpu) ; sockets=1 ; total_threads=$((num * sockets)) ; name=$(system_profiler SPHardwareDataType | grep 'Processor Name:' | sed 's/Processor Name: *//' | cut -c 7-) ; mhz=$(system_profiler SPHardwareDataType | grep 'Speed:' | awk '{print $3}') ; proc=$(cat ./AboutThisBuild.txt | grep 'Processor') ; echo "\`\`\`" ; echo "================================" ; echo "Available threads = $total_threads / CPU = $name / $mhz GHz / Target = $proc" ; for (( threads = 2; threads <= total_threads; threads *= 2 )); do export OMP_NUM_THREADS=$threads ; total_time=0.0 ; n=5 ; for file in typewriter.CR2 naturalbridges.CR2 beachcabin.ARW; do time_sum=0.0 ; for (( i = 0; i < n; i++ )); do start=$(( $(date +%s%N)/1000000 )) ; rawtherapee-cli -j -s -Y -c ./raw-test/$file &> /dev/null ; finished=$(( $(date +%s%N) / 1000000 )) ; time_sum=$(( $time_sum + $finished - $start )) ; done ; avg_time=$(( $time_sum / $n )) ; total_time=$(( $total_t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44807 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | skylake-raptorlake | 3408 | 2 | |
---|---|---|---|---|---|
30655 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | skylake-raptorlake | 3408 | 4 | |
26047 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | skylake-raptorlake | 3408 | 8 | |
45756 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | sandybridge-ivybridge | 3408 | 2 | |
30946 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | sandybridge-ivybridge | 3408 | 4 | |
26819 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | sandybridge-ivybridge | 3408 | 8 | |
45781 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | x86 | 3408 | 2 | |
30916 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | x86 | 3408 | 4 | |
26355 | Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz | x86 | 3408 | 8 | |
40640 | AMD EPYC 7763 64-Core Processor | skylake-raptorlake | 2445 | 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Benitoite/raw-test ./raw-test ; num=$(nproc) ; sockets=$(lscpu | grep 'Socket(s):' | awk '{print $2}') ; total_threads=$((num * sockets)) ; name=$(lscpu | grep 'Model name:' | sed 's/Model name: *//') ; mhz=$(lscpu | grep 'CPU max MHz:' | awk '{print $4}') ; proc=$(cat ./AboutThisBuild.txt | grep 'Processor') ; echo "\`\`\`" ; echo "================================" ; echo "Available threads = $total_threads / CPU = $name / $mhz MHz / Target = $proc" ; for (( threads = 2; threads <= total_threads; threads *= 2 )); do export OMP_NUM_THREADS=$threads ; total_time=0.0 ; n=5 ; for file in typewriter.CR2 naturalbridges.CR2 beachcabin.ARW; do time_sum=0.0 ; for (( i = 0; i < n; i++ )); do start=$(( $(date +%s%N)/1000000 )) ; rawtherapee-cli -j -s -Y -c ./raw-test/$file &> /dev/null ; finished=$(( $(date +%s%N) / 1000000 )) ; time_sum=$(( "$time_sum + $finished - $start" )) ; done ; avg_time=$(( "$time_sum / $n" )) ; total_time=$(( "$total_time + $avg_time" )) ; done ; echo "$(printf '%. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Benitoite/raw-test .\raw-test; $processor = Get-ComputerInfo -Property CsProcessors; $sockets = (Get-CimInstance Win32_Processor).SocketDesignation.Count ; $num = ($processor.CsProcessors | findstr NumberOfLogicalProcessors).Split(' ')[2]; $num *= $sockets ; $name = ($processor.CsProcessors | findstr Name).Split(':')[-1]; $mhz = ($processor.CsProcessors | findstr Max).Split(':')[-1]; $proc = (cat .\AboutThisBuild.txt | findstr Processor); echo "``````" "================================"; echo "Available threads = $num / CPU =$name / $mhz MHz / Target = $proc"; for ($threads = 2; $threads -le $num; $threads *= 2) { $env:OMP_NUM_THREADS=$threads; $t = 0; $n = 5; $x = 0; for ($i = 0; $i -lt $n; $i++) { $x+=(Measure-Command { .\rawtherapee-cli.exe -j -s -Y -c .\raw-test\typewriter.CR2 } | findstr Ticks).Split(': ')[-1] }; $t+=($x/$n); $x = 0; for ($i = 0; $i -lt $n; $i++) { $x+=(Measure-Command { .\rawtherapee-cli.exe -j -s -Y -c .\raw-test\naturalbridges.CR2 } | findstr Ticks).Split( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert a standalone maxmsp8 application to a mac app store application | |
# | |
# USAGE: sudo CODESIGNID="Apple Distribution: DOCTOR WHO (ABCDE12345)" TEAMID=ABCDE12345 DOM=com.mycompanyname APP=myappname sh buildmaxapp.sh | |
# | |
# Prerequisites on ~/Desktop: | |
# custom Max.icns | |
# Info.plist | |
# objects.txt list of objects from maxmsp | |
# main.entitlements | |
# profile.entitlements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm64: | |
#!/bin/bash | |
git clone https://github.com/GrandOrgue/grandorgue.git | |
cd grandorgue | |
mkdir build && cd build | |
cmake -G "Unix Makefiles" -DDOCBOOK_DIR=/opt/homebrew/opt/docbook-xsl/docbook-xsl .. | |
make -j8 | |
Place .app artifact on desktop of x86_64 mac. |
NewerOlder