authorgravatar for dimdin@gmail.comDimitris Dinodimos <dimdin@gmail.com> 2025-04-04 00:18:51+03:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-04 06:03:19+02:00
log155b34ba0569d264650e341eab58c1f704c35bfd
tree22c2de348bc08099b7fc44d3c58a4ef3a19463e6
parente9220525e836810425e925722d1beaba9bfe9d91

Change the lld path on macos homebrew

Homebrew now provides lld in a separate formula; it was part of llvm formula.

1 files changed, 6 insertions(+), 6 deletions(-)

cmake/Findlld.cmake+6-6
...@@ -12,8 +12,8 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h...@@ -12,8 +12,8 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h
12 /usr/lib/llvm-19/include12 /usr/lib/llvm-19/include
13 /usr/local/llvm190/include13 /usr/local/llvm190/include
14 /usr/local/llvm19/include14 /usr/local/llvm19/include
15 /usr/local/opt/llvm@19/include15 /usr/local/opt/lld@19/include
16 /opt/homebrew/opt/llvm@19/include16 /opt/homebrew/opt/lld@19/include
17 /mingw64/include)17 /mingw64/include)
1818
19find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR19find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
...@@ -22,8 +22,8 @@ find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR...@@ -22,8 +22,8 @@ find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
22 /usr/lib/llvm-19/lib22 /usr/lib/llvm-19/lib
23 /usr/local/llvm190/lib23 /usr/local/llvm190/lib
24 /usr/local/llvm19/lib24 /usr/local/llvm19/lib
25 /usr/local/opt/llvm@19/lib25 /usr/local/opt/lld@19/lib
26 /opt/homebrew/opt/llvm@19/lib26 /opt/homebrew/opt/lld@19/lib
27)27)
28if(EXISTS ${LLD_LIBRARY})28if(EXISTS ${LLD_LIBRARY})
29 set(LLD_LIBRARIES ${LLD_LIBRARY})29 set(LLD_LIBRARIES ${LLD_LIBRARY})
...@@ -37,8 +37,8 @@ else()...@@ -37,8 +37,8 @@ else()
37 /usr/lib/llvm-19/lib37 /usr/lib/llvm-19/lib
38 /usr/local/llvm190/lib38 /usr/local/llvm190/lib
39 /usr/local/llvm19/lib39 /usr/local/llvm19/lib
40 /usr/local/opt/llvm@19/lib40 /usr/local/opt/lld@19/lib
41 /opt/homebrew/opt/llvm@19/lib41 /opt/homebrew/opt/lld@19/lib
42 /mingw64/lib42 /mingw64/lib
43 /c/msys64/mingw64/lib43 /c/msys64/mingw64/lib
44 c:/msys64/mingw64/lib)44 c:/msys64/mingw64/lib)