bnosac / udpipe

R package for Tokenization, Parts of Speech Tagging, Lemmatization and Dependency Parsing Based on the UDPipe Natural Language Processing Toolkit
https://bnosac.github.io/udpipe/en
Mozilla Public License 2.0
209 stars 33 forks source link

Support for Big-endian platforms? #119

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago

Broken atm:

/opt/local/bin/g++-mp-12 -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include   -fPIC  -pipe -Os -arch ppc  -c udpipe.cpp -o udpipe.o
udpipe.cpp:61:30: error: static assertion failed: Only little endian systems are supported!
   61 | static_assert(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__, "Only little endian systems are supported!");
      |                              ^
udpipe.cpp:61:30: note: the comparison reduces to '(4321 == 1234)'
make: *** [udpipe.o] Error 1
ERROR: compilation failed for package ‘udpipe’
jwijffels commented 1 year ago

This request requires new features in the upstream udpipe c++ https://github.com/ufal/udpipe

barracuda156 commented 1 year ago

This request requires new features in the downstream udpipe c++ https://github.com/ufal/udpipe

Thank you, I gonna open an issue there.

foxik commented 1 year ago

Hi,

I do not plan to add the support myself, but I am happy to accept patches.

jwijffels commented 1 year ago

Looks like we both have other priorities right now.