-
Notifications
You must be signed in to change notification settings - Fork 30
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
base: main
Are you sure you want to change the base?
aarch32 support #78
Conversation
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 |
There was a problem hiding this comment.
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.
config.in/Makefile.Linux.arm
Outdated
HOST=arm-linux-gnueabihf | ||
FLAMBDA=false | ||
SAFE_STRING=false | ||
MAX_TESTSUITE_DIR_RETRIES=0 |
There was a problem hiding this comment.
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.
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 |
This modification is required to add aarch32 as an architecture supported by Solo5, and related to the pull request at Solo5/solo5#470.