-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[question] How to use musl instead of glibc? #16179
Comments
Thanks for your question. Conan has no modeling of |
Hello @memsharded, Would it be possible to add it to either to I just hit an error with Here is the
And the profile:
Log/workspace $ conan install conanfile.txt -pr:a clang
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=17
os=Linux
[conf]
tools.build:compiler_executables={'c': 'clang', 'cpp': 'clang++', 'rc': 'llvm-rc', 'ar': 'llvm-ar', 'ld': 'ld.lld'}
cast*/*:tools.build:cxxflags=['-fansi-escape-codes -fcolor-diagnostics']
cast*/*:tools.cmake.cmake_layout:build_folder_vars=['settings.os', 'settings.compiler', 'settings.compiler.version', 'settings.arch']
cast*/*:tools.cmake.cmaketoolchain:generator=Ninja
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=17
os=Linux
[conf]
tools.build:compiler_executables={'c': 'clang', 'cpp': 'clang++', 'rc': 'llvm-rc', 'ar': 'llvm-ar', 'ld': 'ld.lld'}
cast*/*:tools.build:cxxflags=['-fansi-escape-codes -fcolor-diagnostics']
cast*/*:tools.cmake.cmake_layout:build_folder_vars=['settings.os', 'settings.compiler', 'settings.compiler.version', 'settings.arch']
cast*/*:tools.cmake.cmaketoolchain:generator=Ninja
======== Computing dependency graph ========
b2/5.2.0: Not found in local cache, looking in remotes...
b2/5.2.0: Checking remote: conancenter
b2/5.2.0: Downloaded recipe revision 4dc00a0e56fc6a4036c8f9fc0122a02e
Graph root
conanfile.txt: /workspace/conanfile.txt
Requirements
b2/5.2.0#4dc00a0e56fc6a4036c8f9fc0122a02e - Downloaded (conancenter)
======== Computing necessary packages ========
Requirements
b2/5.2.0#4dc00a0e56fc6a4036c8f9fc0122a02e:63fead0844576fc02943e16909f08fcdddd6f44b#0640c5ac1ad653164b26d95a43ad0030 - Download (conancenter)
======== Installing packages ========
-------- Downloading 1 package --------
b2/5.2.0: Retrieving package 63fead0844576fc02943e16909f08fcdddd6f44b from remote 'conancenter'
b2/5.2.0: Package installed 63fead0844576fc02943e16909f08fcdddd6f44b
b2/5.2.0: Downloaded package revision 0640c5ac1ad653164b26d95a43ad0030
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'env_info' used in: b2/5.2.0
======== Finalizing install (deploy, generators) ========
conanfile.txt: Generating aggregated env files
conanfile.txt: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully Although the installation went fine, trying to run b2 from the conan cache leads to a In fact, you have to However, I would have liked an option to trigger a recompilation, in order to support such cases natively (with musl). What do you think? |
What is your question?
I would like to use musl for all my dependency tree in a project. Is there any way how to archive that?
I am going to link it statically. I know, it may be against the best practices, but still there are reasons to do so.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: