intel / opencl-clang

Other
136 stars 62 forks source link

Use llvm-config to fix link error if llvm is pre-built locally static or shared #492

Closed wenju-he closed 1 year ago

wenju-he commented 1 year ago

llvm_map_components_to_libnames is empty in these cases. This fixes link error in Ubuntu 22.04 container. #484 and #454

(cherry picked from commit 1cde56c6cf1feaeb8f21b62f811c5c5d3c78da41) (cherry picked from commit 7b62fd8a3ed4e76221752fa1b01280922fc346c9)