authorgravatar for ziyiyan@proton.meZiyi Yan <ziyiyan@proton.me> 2025-04-05 23:25:39-07:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-06 09:11:15+02:00
loga100419d063ae19cba31fdc6673f45bb9253bf04
tree75a761a89115d8609c1967aaa63a4550b073492e
parentcf6c8eacfe20db596c32b247ce79c20e2f9cf60b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Add lld path of linuxbrew installation (#23466)

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>

1 files changed, 3 insertions(+), 0 deletions(-)

cmake/Findlld.cmake+3
......@@ -14,6 +14,7 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h
1414 /usr/local/llvm19/include
1515 /usr/local/opt/lld@19/include
1616 /opt/homebrew/opt/lld@19/include
17 /home/linuxbrew/.linuxbrew/opt/lld@19/include
1718 /mingw64/include)
1819
1920find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
......@@ -24,6 +25,7 @@ find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
2425 /usr/local/llvm19/lib
2526 /usr/local/opt/lld@19/lib
2627 /opt/homebrew/opt/lld@19/lib
28 /home/linuxbrew/.linuxbrew/opt/lld@19/lib
2729)
2830if(EXISTS ${LLD_LIBRARY})
2931 set(LLD_LIBRARIES ${LLD_LIBRARY})
......@@ -39,6 +41,7 @@ else()
3941 /usr/local/llvm19/lib
4042 /usr/local/opt/lld@19/lib
4143 /opt/homebrew/opt/lld@19/lib
44 /home/linuxbrew/.linuxbrew/opt/lld@19/lib
4245 /mingw64/lib
4346 /c/msys64/mingw64/lib
4447 c:/msys64/mingw64/lib)