Updated llvm.cmake

This commit is contained in:
Maksim Kita 2021-04-29 20:10:01 +03:00
parent 140a289f8e
commit 26068a4d28
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@ endif ()
if (NOT USE_INTERNAL_LLVM_LIBRARY) if (NOT USE_INTERNAL_LLVM_LIBRARY)
set (LLVM_PATHS "/usr/local/lib/llvm") set (LLVM_PATHS "/usr/local/lib/llvm")
foreach(llvm_v 10 9 8) foreach(llvm_v 12 11)
if (NOT LLVM_FOUND) if (NOT LLVM_FOUND)
find_package (LLVM ${llvm_v} CONFIG PATHS ${LLVM_PATHS}) find_package (LLVM ${llvm_v} CONFIG PATHS ${LLVM_PATHS})
endif () endif ()

View File

@ -43,7 +43,6 @@ RUN apt-get update \
gdb \ gdb \
git \ git \
gperf \ gperf \
lld-10 \
lld-11 \ lld-11 \
llvm-11 \ llvm-11 \
llvm-11-dev \ llvm-11-dev \