-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] minizip/1.2.13: Windows MinGW Clang fails to compile #14440
Comments
This profile passed on the same system will complete successfully
|
This is a never ended story where we fix a clang windows flavor and break another one, until we can have some conan helper like conan-io/conan#12336. For the moment assume that conan-center recipes don't support clang flavors targeting Windows, because we don't have any easy way to predict lib names of libraries built with CMake when they rely on MINGW or MSVC variables to change lib name. /cc @memsharded |
Does that include if you use clang/llvm with MSVC |
Yes, it may or may not work. Most recipes should work, and other fail to predict correct lib name or even use the proper build system. |
Does it work with #14644? |
I've submitted this to resolve this issue: If possible, please approve my PR: User-approval pending |
Description
This compiles using GCC and Clang under Arch Linux, and GCC using mingw on windows, but I had the preference of using clang through mingw.
Package and Environment Details
Conan profile
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.version=15
compiler.libcxx=libstdc++11
[options]
[build_requires]
[env]
CC=C:/msys64/mingw64/bin/clang
CXX=C:/msys64/mingw64/bin/clang++
Steps to reproduce
conan install . --build=missing --profile=gcc -if=cmake-build-release -s build_type=Release
conan install . --build=missing --profile=gcc -if=cmake-build-debug -s build_type=Debug
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: