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

Minimal build option #991

Open
nissenhutmark opened this issue Aug 26, 2019 · 1 comment
Open

Minimal build option #991

nissenhutmark opened this issue Aug 26, 2019 · 1 comment

Comments

@nissenhutmark
Copy link

Please would you add an option to cmake which only builds static libraries and installs headers, e.g. without requiring ghc. This would address situations where it is not possible to run gbc on the client, e.g. Raspberry Pi with 1GB where the gbc has been run elsewhere and gbc generated code is part of the client's project.

@chwarr
Copy link
Member

chwarr commented Aug 26, 2019

That makes sense. This sounds like cross-compilation too. Some additional work may be needed in the CMake files to support this. E.g., build gbc targeting x64 and then use that to build the libs targeting arm64.

Feel free to submit a PR to add this support.

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

No branches or pull requests

2 participants