Skip to content

[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

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

jeffhammond
Copy link
Contributor

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]

Signed-off-by: Jeff R. Hammond <[email protected]>
@jeffhammond jeffhammond requested a review from bader as a code owner August 14, 2020 17:05
Copy link
Contributor

@bader bader left a 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
Copy link
Contributor

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"?

@jeffhammond
Copy link
Contributor Author

jeffhammond commented Aug 17, 2020 via email

@bader
Copy link
Contributor

bader commented Aug 17, 2020

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"

@jeffhammond
Copy link
Contributor Author

jeffhammond commented Aug 17, 2020 via email

@bader bader merged commit 2e22ab8 into intel:sycl Aug 17, 2020
jsji pushed a commit that referenced this pull request Feb 2, 2024
…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
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
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.

[SYCL][OpenCL] No available targets are compatible with triple "aarch64-unknown-linux-gnu
3 participants