I’m trying to compile zig lang compiler from master branch.
And get error saying
Make Error in CMakeLists.txt:
Found relative path while evaluating include directories of "zigcpp":
"LLD_INCLUDE_DIRS-NOTFOUND"
CMake Error in CMakeLists.txt:
Found relative path while evaluating include directories of "zig-wasm2c":
"LLD_INCLUDE_DIRS-NOTFOUND"
CMake Error in CMakeLists.txt:
Found relative path while evaluating include directories of "zig1":
"LLD_INCLUDE_DIRS-NOTFOUND"
CMake Error in CMakeLists.txt:
Found relative path while evaluating include directories of "zig2":
"LLD_INCLUDE_DIRS-NOTFOUND"
This is where it is defined zig/cmake/Findlld.cmake at master · ziglang/zig · GitHub
find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h
HINTS ${LLVM_INCLUDE_DIRS}
PATHS
/usr/lib/llvm-16/include
/usr/local/llvm160/include
/usr/local/llvm16/include
/usr/local/opt/llvm@16/include
/opt/homebrew/opt/llvm@16/include
/mingw64/include)
How can I get these files? Cant find package lld-devel
(also these files doesnt exist in llvm-devel
)