Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

When are LLVM and Clang from LLVM_INSTALL_DIR used?



  • Hi all. I'm investigating why QDoc wasn't built on my system under Mac OS (related bug: https://bugreports.qt.io/browse/QTBUG-84923 ), despite my apparently having set up the appropriate environment variables.

    A helpful respondent suggested that I re-run config with the reset-all option. Now it indicates that QDoc will be built, but it shows that Apple Clang will be used, and not the Clang under LLVM_INSTALL_DIR.

    Configure summary:
    Build type: macx-clang (x86_64, CPU features: cx16 mmx sse sse2 sse3 ssse3 sse4.1)
    Compiler: clang (Apple) 11.0.3

    Anybody have an idea why that is? LLVM_INSTALL_DIR points to the Homebrew-installed LLVM, and I've verified that its subdirectories contain llvm-config and Clang.

    echo $LLVM_INSTALL_DIR
    /usr/local/opt/llvm


Log in to reply