-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][buildbot] add ARM target option to buildbot/configure.py #2322
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
[SYCL][buildbot] add ARM target option to buildbot/configure.py #2322
Conversation
Signed-off-by: Jeff R. Hammond <[email protected]>
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.
LGTM, but I don't the motivation for "replace" instead of "append".
@@ -38,6 +38,10 @@ def do_configure(args): | |||
libclc_targets_to_build = 'nvptx64--;nvptx64--nvidiacl' | |||
sycl_build_pi_cuda = 'ON' | |||
|
|||
# replace not append, so ARM ^ X86 |
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.
Could you clarify why "replace" instead of "append"?
The motivation is that we aren’t testing cross-compilation, and the build takes a long time on many ARM platforms without including X86.
Once I get PowerPC working, I’ll generalize this option.
|
Thanks. |
Just FYI: you can build LLVM for ARM targets only w/o adding a new option by adding following flag for configure.py script.
configure.py --cmake-opt=-DLLVM_TARGETS_TO_BUILD="ARM;AArch64"
I tried that. CMake was giving me a bad time.
|
…check (#2322) Guard placing a DIExpression in SPIR-V's DebugGlobalVariable's Variable field with a nonsemantic check. Signed-off-by: Lu, John <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@e329f28
This has been tested on Raspberry Pi 4 and Cavium ThunderX2 running Ubuntu AArch64. The build also depends on my fixes for #2304, but those are not ready. Nonetheless, this fix is independent of that one and can be merged without side effects.
There is a clearly a more general solution here, but it seems imprudent to add architectures to the buildbot testing until they have actually been tested somewhere. Once I have a chance to test on PowerPC, I'll see about adding that as an explicit target, or provide a more general solution (e.g.
--arch=..
).Resolves #2313.
Signed-off-by: Jeff R. Hammond [email protected]