Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: build on ARM32 #383

Merged
merged 1 commit into from
Nov 13, 2024
Merged

feat: build on ARM32 #383

merged 1 commit into from
Nov 13, 2024

Conversation

andrea-dintino
Copy link
Contributor

@andrea-dintino andrea-dintino commented Oct 23, 2024

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

cross-compiling from X86 doesn't wor (issues building openssl) and on a Raapi-3 the build fails cause the Raspi-3 is out of RAM
@andrea-dintino andrea-dintino requested a review from puria October 23, 2024 22:19
@matteo-cristino
Copy link
Contributor

quick note, ncr supports only node20

@andrea-dintino
Copy link
Contributor Author

andrea-dintino commented Oct 25, 2024

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"

@puria puria merged commit c63a6ba into main Nov 13, 2024
4 checks passed
@puria puria deleted the build-raspi32 branch November 13, 2024 19:36
github-actions bot pushed a commit that referenced this pull request Nov 13, 2024
# [1.40.0](v1.39.8...v1.40.0) (2024-11-13)

### Features

* build on ARM32 ([#383](#383)) ([c63a6ba](c63a6ba))
Copy link

🎉 This PR is included in version 1.40.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants