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

[Target] Don't register AArch64 target tags without LLVM compiler support #16897

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

lhutton1
Copy link
Contributor

This commit aims to fix the issue described here: #16425 (comment) by conditionally registering the target tags based on the availability of the LLVM AArch64 backend. It's possible to extract the targets LLVM has been compiled for using llvm-config --targets-built.

cc @tqchen

…port

This commit aims to fix the issue described here:
apache#16425 (comment) by
conditionally registering the target tags based on the availability of
the LLVM AArch64 backend. It's possible to extract the targets LLVM
has been compiled for using `llvm-config --targets-built`.

Change-Id: I20b608aea9ea554b0c0388ee884621305d2d59b9
@github-actions github-actions bot requested a review from tqchen April 17, 2024 13:34
@mvermeulen
Copy link
Contributor

I retested with the ROCm build and no longer see warning messages about a missing ARM configuration when running ROCm.

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @lhutton1

@lhutton1 lhutton1 marked this pull request as ready for review April 17, 2024 18:10
@tqchen tqchen merged commit 857fe61 into apache:main Apr 17, 2024
20 checks passed
@lhutton1 lhutton1 deleted the fix-target-load-warning branch April 17, 2024 18:21
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.

4 participants