I was trying to build the latest ctrlr from Git for my Linux machine. Version number 5.3.192
I bumped into errors in the file
Builds/Generated/Linux/Standalone/build.sh
At the beginning of the script I see
CPUS=`cat /proc/cpuinfo | grep processor | wc -l`
let JOBS=’CPUS / 4′
This must be wrong. It will only give the variable JOBS the stringvalue “CPUS / 4”. What you probably want is a value of (for example) JOBS=1 if CPUS=4
For this you could use the syntax
let JOBS=$((CPUS/4))
but this only makes sense if CPUS has a value of 4 or more. Else it will result in JOBS=0
For now, in my local copy, I just replaced the line with
JOBS=2
to be able to run the script, but this might not work for everyone. A better solution is needed.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.
-
This topic was modified 8 years, 8 months ago by m.tarenskeen.