-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[firebirdsql] new port #36176
base: master
Are you sure you want to change the base?
[firebirdsql] new port #36176
Conversation
@microsoft-github-policy-service agree |
Did you at least try to use |
Could you be more specific? For what? |
The question is rather why it is not using |
Firebird build procedure is with |
Maintainer guidelines say to prefer cmake buildsystem if upstream provides it (unless it is useless for some reason) |
Firebird has useless cmake files, used by single contributor in the past and now completely unmaitained. |
Then the question becomes why are you not using |
I may check it. I based the port in libtomcrypt/libtommath, and both are calling making with |
This autogen.sh doesn't do much more than |
Firebird needs to execute configure in the same directory as the sources are. It looks like |
Out-of-tree is good practice. For the bad guys, there is option |
Done, thanks. |
ports/firebird/posix/portfile.cmake
Outdated
--with-builtin-tomcrypt | ||
--with-builtin-tommath |
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.
These libs have ports in vcpkg, so the builtins shouldn't be used.
ports/firebird/posix/portfile.cmake
Outdated
--enable-binreloc | ||
--with-builtin-tomcrypt | ||
--with-builtin-tommath | ||
--with-termlib=:libncurses.a |
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 library has a port in vcpkg. And there is more than static linkage.
ports/firebird/posix/portfile.cmake
Outdated
--with-builtin-tomcrypt | ||
--with-builtin-tommath | ||
--with-termlib=:libncurses.a | ||
--with-atomiclib=:libatomic.a |
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.
Not sure if this should be hard-coded.
ports/firebird/posix/portfile.cmake
Outdated
file(GLOB EXT_LIBS_RELEASE | ||
"${SOURCE_COPY_REL_PATH}/extern/libtomcrypt/.libs/libtomcrypt.so*" | ||
"${SOURCE_COPY_REL_PATH}/extern/libtommath/.libs/libtommath.so*" | ||
) |
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 really asks for trouble with regard to these libs' ports.
linux logs:
|
Firebird always uses ICU through dynamic loading (dlopen / LoadLibrary). Is it possible to force this dependency to be built as shared libraries / DLLs? |
Not in triplets which mandate static linkage. |
Note: I will be converting your PR to draft status. When you're ready, please revert to "ready for review". |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Please get failure logs here of x64-windows.
Please get failure logs here of x64-linux. |
@asfernandes Is there any new progress? |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.