peterwaller-arm wrote:

For reasons I don't understand, cmake is not producing debug output for the 
find_package call for LLVM if I use `cmake --debug-find`. It does produce 
output for other packages. 

Resorting to strace -efile:

Good:

```
/home/ubuntu/llvm-project/compiler-rt/cmake/Modules/CompilerRTUtils.cmake(312): 
 find_package(LLVM HINTS /home/ubuntu/bld4 )
access("/home/ubuntu/bld4/lib/cmake/llvm/LLVMConfig.cmake", R_OK) = 0
```

Bad:

```
/home/ubuntu/llvm-project/compiler-rt/cmake/Modules/CompilerRTUtils.cmake(312): 
 find_package(LLVM HINTS /home/ubuntu/llvm-project/llvm/cmake/modules )
access("/usr/lib/llvm-14/cmake/LLVMConfig.cmake", R_OK) = 0
```

Not sure why cmake is ignoring the hint. It doesn't appear to test any other 
directories.


https://github.com/llvm/llvm-project/pull/102475
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to