You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC=clang-17 CXX=clang++-17 conan profile detect
I would expect it to use clang++-17 when detecting libcxx
Logs
detect_api: CC and CXX: clang-17, clang++-17
detect_api: Found clang 17.0
detect_api: clang>=8, using the major as version
detect_api: WARN: compiler.libcxx check error: /bin/sh: 1: clang++: not found
...
The text was updated successfully, but these errors were encountered:
@RubenRBS I am having a look how this could be improved:
Breaking the detect_api interface, and make "detect_compiler" return: compiler, version, compiler_exe = detect_compiler(), so we can pass the compiler_exe as optional argument to detect_libcxx and others
Make it optional to not break with detect_compiler(return_compiler_exe=True)
Extract and re-use the logic that checks CC/CXX env-vars and call it again inside the detect_libcxx call. Not super robust, but doable
Environment details
Steps to reproduce
CC=clang-17 CXX=clang++-17 conan profile detect
I would expect it to use clang++-17 when detecting libcxx
Logs
The text was updated successfully, but these errors were encountered: