ForkbombEu / ncr

no‧code‧room: No code REST API server based on zencode natural language smart contracts
4 stars 2 forks source link

feat: build on ARM32 #383

Closed andrea-dintino closed 1 day ago

andrea-dintino commented 3 weeks ago

cross-compiling from X86 doesn't work (issues building openssl) and on a Raapi-3 the build fails cause the Raspi-3 is out of RAM

matteo-cristino commented 3 weeks ago

quick note, ncr supports only node20

andrea-dintino commented 2 weeks ago

Success! I built it on a Raspberry Pi 4, 4GB with Raspbian-ARM32. I built it with the node18 option, somehow it works

You also need this to get it to work:

export CXXFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3 -mno-unaligned-access" export CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3 -mno-unaligned-access"

github-actions[bot] commented 1 day ago

:tada: This PR is included in version 1.40.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: