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

aarch32 support #78

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

aarch32 support #78

wants to merge 2 commits into from

Conversation

TImada
Copy link

@TImada TImada commented Jun 10, 2020

This modification is required to add aarch32 as an architecture supported by Solo5, and related to the pull request at Solo5/solo5#470.

HOST="--host=$(BUILD_ARCH)-unknown-linux-gnueabihf"
UNDEF_SDL=echo '\#undef SUPPORT_DYNAMIC_LINKING' >> ocaml/runtime/caml/s.h
# TODO: This is not a good way to pass the TARGET_XX and SYS_XX check in ./build/ocaml/runtime/signals_osdep.h
DROP_TARGET=sed -i -e 's/(TARGET_arm)/(TARGET)/' ocaml/runtime/signals_osdep.h
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine for the current OCaml releases, but we (@mirage/core) should upstream a cleanup of OCaml's configure and signals_osdep.h ifdef chain so we don't have to specify linux-gnueabihf and sed -i -e in the OCaml distribution.

HOST=arm-linux-gnueabihf
FLAMBDA=false
SAFE_STRING=false
MAX_TESTSUITE_DIR_RETRIES=0
Copy link
Member

@hannesm hannesm Jun 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these files (Makefile.Linux.arm and m.arm.h) should not be needed, but fully generated by our execution of OCaml's configure.

@hannesm
Copy link
Member

hannesm commented Apr 27, 2022

This looks nice, but unfortunately is now outdated (now that solo5 0.7 and mirage 4 is out) -- maybe someone would like to rebase / rethink this "solo5 on 32 bit" work? /cc @TheLortex

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

Successfully merging this pull request may close these issues.

None yet

2 participants