This is an archive of the discontinued LLVM Phabricator instance.

Fix CMake LLVM_TARGETS_TO_BUILD "Native" option to work with JIT
ClosedPublic

Authored by mehdi_amini on Feb 1 2021, 4:49 PM.

Details

Summary

LLVM_TARGETS_TO_BUILD accepts both "host" or "Native" for auto-selecting
the target from the environment. However the way "Native" was plumbed
would lead to the JIT environment being disabled. This patch is making
"Native" works just as "host".

Diff Detail

Event Timeline

mehdi_amini created this revision.Feb 1 2021, 4:49 PM
mehdi_amini requested review of this revision.Feb 1 2021, 4:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2021, 4:49 PM
rnk accepted this revision.Feb 2 2021, 10:38 AM

lgtm

We ought to disable these noisy openmp libarcher presubmit test failures that have been going on for the last several days.

This revision is now accepted and ready to land.Feb 2 2021, 10:38 AM
This revision was landed with ongoing or failed builds.Feb 2 2021, 10:47 AM
This revision was automatically updated to reflect the committed changes.