Page MenuHomePhabricator

libclc: Allow building with only required LLVM libs and with custom CLC/LLAsm flags
Needs ReviewPublic

Authored by callumfare on Aug 5 2022, 8:45 AM.

Details

Reviewers
alan-baker
kpet
Summary
  • Only call llvm-config --system-libs with the required libraries so libclc doesn't depend on all LLVM components being built.
  • Handle CMAKE_CLC_FLAGS and CMAKE_LLAsm_FLAGS correctly so users can pass custom flags

This contribution is being made by Codeplay on behalf of Samsung.

Diff Detail

Event Timeline

callumfare created this revision.Aug 5 2022, 8:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2022, 8:45 AM
callumfare requested review of this revision.Aug 5 2022, 8:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2022, 8:45 AM
callumfare edited the summary of this revision. (Show Details)Aug 5 2022, 8:56 AM