-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add botan/2.12.1 #437
Add botan/2.12.1 #437
Conversation
botan/2.12.1:
|
Recipe syntax error:
|
77bf0a2
to
8c9e04e
Compare
botan/2.12.1:
|
Some configurations of 'botan/2.12.1' have failed:
|
recipes/botan/all/conanfile.py
Outdated
self.cpp_info.libs.extend(["ws2_32", "Crypt32"]) | ||
|
||
self.cpp_info.libdirs = ['lib'] | ||
self.cpp_info.bindirs = ['lib', 'bin'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why lib is bindir?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for Windows. Otherwise botan.dll
is not found in PATH.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
windows dlls should be placed in the bin directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be clear, you're saying it's fine as it is, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem here is that the lib
folder should not be part of cpp_info.bindirs
as no binaries should be placed there, only bin
folder should contain binaries (executables and dlls)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification, got it now. I'm still trying to figure out how to tell Botan's build system to do so. There's a --libdir=bin
as an option, but it will place both botan.dll
and botan.lib
in the bin folder, which results in the test-package not finding botan.lib
anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a patch for Botan to place the DLL in the binary directory rather
than the library dir. That should work and we'll try to get it upstream in the
next Botan version.
botan/2.12.1:
|
Co-Authored-By: Uilian Ries <uilianries@gmail.com> Co-Authored-By: Michael "Croydon" Keck <git@cr0ydon.com>
3e87052
to
109868f
Compare
Some configurations of 'botan/2.12.1' have failed:
|
Raise ConanInvalidConfiguration rather than ConanException if the libcxx setting is not supported for this compiler
109868f
to
df059bb
Compare
Some configurations of 'botan/2.12.1' have failed:
|
Some configurations of 'botan/2.12.1' have failed:
|
Some configurations of 'botan/2.12.1' have failed:
|
We have an issue linking the test-package on macOS for static builds. It seems CoreFoundation is not correctly added to the linker call. It looks like it is related to this issue another recipe had in the past. However, the reason over there was found to be an outdated Conan version. This is the related fix in Conan I guess: conan-io/conan#6003. Help is greatly appreciated 😉 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Daniel <danimanzaneque@gmail.com>
All green! 😊
|
Co-Authored-By: René Meusel <github@renemeusel.de>
All green! 😊
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This recipe looks complex as the library seems to have different options and ways to build it. Please review the option of the recipe to reduce them and reduce complexity and try to make it as uniform as possible.
recipes/botan/all/conanfile.py
Outdated
self.cpp_info.libs.extend(["ws2_32", "Crypt32"]) | ||
|
||
self.cpp_info.libdirs = ['lib'] | ||
self.cpp_info.bindirs = ['lib', 'bin'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
windows dlls should be placed in the bin directory
All green! 😊
|
All green! 😊
|
Add a patch for Botan's build system to place the DLL in the binary dir rather than the library dir.
All green! 😊
|
All green! 😊
|
Thanks a lot everybody for the effort to bring botan in here! |
Thank you all for your support! |
It's mostly me doing this. I'm watching the merges into CCI so you don't need to ping me for this, but since it is a manual process there will be delays 😄 |
Adds a recipe for Botan based on the bincrafters/conan-botan recipe.
Specify library name and version: botan/2.12.1
conan-center hook activated.