We cannot install OGS using pip install ogs on arm-based MacOS computers.
The error is due to an unset CPM_SOURCE_CACHE variable.
Please see the error message below:
CMake Error at scripts/cmake/Dependencies.cmake:196 (message):
CPM_SOURCE_CACHE not set but is required when patched third-party libraries are use, see
Call Stack (most recent call first):
CMakeLists.txt:102 (include)
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ogs