Merge in CASA/casa6 from CAS-14140 to master
* commit '942c28f81739cfc4b3dd3b44a1362741555b1ba1':
Use the more standard os.sysconf('SC_NPROCESSORS_ONLN') to get number of CPUs
Set the cmake parallel level based on available CPUs
Support ccache speed up even if compilation directory changes