s2
s2 copied to clipboard
Help me fix PowerPC :)
The build fails immediately after building abseil
part:
/opt/local/bin/g++-mp-12 -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/wk/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -DOPENSSL_SUPPRESS_DEPRECATED -DIS_BIG_ENDIAN -pthread -fPIC -pipe -Os -arch ppc -c s2-accessors.cpp -o s2-accessors.o
make: *** [s2-accessors.o] Error 1
There is no specific error output (I have tried running the command on the file directly, same result). Any ideas what to try?
Also reported as google/s2geometry#315.
Ok, so while the cause for the failure is still unknown, it happens only in Rosetta, but not on native PowerPC. This is something very uncommon, AFAICT.
Closed upstream, it seems