-
Notifications
You must be signed in to change notification settings - Fork 397
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
AArch64: CMake build settings #3000
Conversation
|
You need a toolchain file for running |
864a9fa
to
97a1337
Compare
97a1337
to
cdd6b0f
Compare
Removed "WIP:". |
Changes look reasonsonable to me. Could one of @Leonardo2718 or @rwy0717 please eyeball them? |
set(TR_TARGET_ARCH ${TR_HOST_ARCH}) | ||
set(TR_TARGET_SUBARCH ${TR_HOST_SUBARCH}) | ||
set(TR_TARGET_BITS ${TR_HOST_BITS}) | ||
endif() |
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.
You want to cross compile a JIT that runs on aarch64 and targets aarch64. Here, it looks like you're trying to make TR itself a cross compiler? Am I reading this right? Is this needed?
For the toolchain, I would put it in a new |
Does |
@rwy0717 I thought I remember the old J9 on x86 generated JXE files with AOT code for another processor. Does the comment "Currently not doing cross, so assume HOST == TARGET" in |
OK, it appears that TR_HOST_ARCH is set but not used anywhere--it's meaningless. It's possible someone was thinking about producing a cross-jit, but didn't get anywhere... Where and how are you setting the TR_TARGET_ARCH? In a toolchain file? |
I can set (Update) |
This commit adds some changes to CMake build settings for aarch64. Signed-off-by: knn-k <konno@jp.ibm.com>
cdd6b0f
to
67845d8
Compare
Updated the files. |
Toolchain looks good. I checked with others, and With the changes currently in the PR, are you still having trouble getting cmake to cross compile? |
No, my trouble was solved. I can build for aarch64. |
I think this can be merged now. |
LGTM |
@genie-omr build all |
@genie-omr build xcplinux |
@charliegracie : What is the xcplinux build? Some kind of cross-compile build? |
that was the temporary name I picked for the Linux x86-64 compressed references build... I have since switched it to xcrlinux as to not conflict with plinux. Once we have all of the builds move to the OMR CI I will open an Issue to discuss how we want to name the builds so appropriate builds can be launched with the bot. |
ah, ok. I though it was some kind of pLinux cross-compile build. |
This commit adds some changes to CMake build settings for aarch64.
Signed-off-by: knn-k konno@jp.ibm.com