Closed PeterPetrik closed 3 years ago
created Apple feedback report: https://feedbackassistant.apple.com/feedback/9127211
It looks like the nightly builds after C++17 introduction + Big Sur updates were hanging because compilation of https://github.com/qgis/QGIS/blob/master/src/core/proj/qgscoordinatereferencesystem.cpp needs 18GB+ RAM!!! and the 4GB poor server got to "stuck" state (in top command) after successfully swapped 13GB data.
looks like -std=gnu++17 -O3 <- stuck -std=gnu++17 -O2 <- stuck -std=gnu++17 -O1 <- OK -std=gnu++17 -O3 -fno-inline <- OK
-std=gnu++17 -O3
-std=gnu++17 -O2
-std=gnu++17 -O1
-std=gnu++17 -O3 -fno-inline
clang --version Apple clang version 12.0.5 (clang-1205.0.22.9) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
see https://github.com/qgis/QGIS/blob/master/src/core/CMakeLists.txt#L1701
closing for now since the build is fixed
created Apple feedback report: https://feedbackassistant.apple.com/feedback/9127211
It looks like the nightly builds after C++17 introduction + Big Sur updates were hanging because compilation of https://github.com/qgis/QGIS/blob/master/src/core/proj/qgscoordinatereferencesystem.cpp needs 18GB+ RAM!!! and the 4GB poor server got to "stuck" state (in top command) after successfully swapped 13GB data.
looks like
-std=gnu++17 -O3
<- stuck-std=gnu++17 -O2
<- stuck-std=gnu++17 -O1
<- OK-std=gnu++17 -O3 -fno-inline
<- OKsee https://github.com/qgis/QGIS/blob/master/src/core/CMakeLists.txt#L1701