🔧 chore(conan): add clang-20 profiles

add linux and windows-cross conan profiles for clang 20 toolchains
This commit is contained in:
csh 2025-12-13 20:37:10 +08:00
parent e5782c76fa
commit d1c35de70c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[settings]
os=Linux
arch=x86_64
compiler=clang
compiler.version=20
compiler.libcxx=libc++
compiler.cppstd=23
build_type=Release
[conf]
tools.build:compiler_executables={"c": "/usr/bin/clang", "cpp": "/usr/bin/clang++"}
tools.cmake.cmaketoolchain:generator=Ninja
tools.cmake.cmake_layout:build_folder=.
tools.cmake.cmake_layout:build_folder_vars=[]

View File

@ -0,0 +1,24 @@
# Windows cross (Clang) from Linux host
[settings]
os=Windows
arch=x86_64
compiler=clang
compiler.version=20
compiler.runtime=static
compiler.libcxx=libc++
compiler.cppstd=23
build_type=Release
[conf]
tools.build:compiler_executables={"c": "/opt/llvm-mingw/llvm-mingw-ucrt/bin/x86_64-w64-mingw32-clang", "cpp": "/opt/llvm-mingw/llvm-mingw-ucrt/bin/x86_64-w64-mingw32-clang++"}
tools.gnu:host_triplet=x86_64-w64-mingw32
tools.cmake.cmaketoolchain:generator=Ninja
tools.cmake.cmaketoolchain:system_name=Windows
tools.cmake.cmaketoolchain:system_processor=x86_64
tools.cmake.cmaketoolchain:system_version=11
tools.cmake.cmake_layout:build_folder=.
tools.cmake.cmake_layout:build_folder_vars=[]
[buildenv]
RC=x86_64-w64-mingw32-windres