-
Notifications
You must be signed in to change notification settings - Fork 6.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
[tinyorm] added initial port TinyORM v0.36.5 #34640
Conversation
Ping @SchaichAlonso |
* Rebase vcpkg submodule on microsoft/vcpkg#34640 * Whitelist all unsuported targets
Thanks for your PR. Please add install copyright in Feature
|
I'm installing copyright here, I'm generating folder structure specifically for the Is this ok? Or do I have to move this cmake
This is weird I never saw a linking error like this, but I also never enabled all features at once 😄 Of course I revisit it or fix it and let know. I will not have a lot of time this week so it will not be asap. Thx for review @LilyWangLL |
Sorry for I missed it. That is so great, thumbs up for you.👍
I installed each feature individually and they all installed successfully, but when I installed all features at the same time, it failed. BTW, all features passed with following triplets:
That's ok. Please ping us if this PR is ready for review again. |
Thx
I will fix it
I have also tested these triplets but only
|
I have also CI for some of these triplets |
If I'm looking at the linking error message in more detail, I believe that the problem will not be in the The tom.exe or TinyOrm.dll doesn't depend on libzstd I don't use this library in my code. TinyOrm.dll links against the mysqlclient library (if the option MYSQL_PING is ON) and it calls only one function from this library and that is the Can you try to rebuild it with the |
Static builds are always trash 🙃 |
This is how the patch should look like, I was able to successfully build it after this: @dg0yt diff --git a/ports/libmysql/portfile.cmake b/ports/libmysql/portfile.cmake
index 3a08e3a25..6dc61aaf1 100644
--- a/ports/libmysql/portfile.cmake
+++ b/ports/libmysql/portfile.cmake
@@ -58,6 +58,7 @@ vcpkg_cmake_configure(
-DWITH_LIBEVENT=system
-DWITH_LZ4=system
-DWITH_ZLIB=system
+ -DWITH_ZSTD=system
-DFORCE_UNSUPPORTED_COMPILER=${FORCE_UNSUPPORTED_COMPILER}
-DINSTALL_STATIC_LIBRARIES=${BUILD_STATIC_LIBS}
-DLINK_STATIC_RUNTIME_LIBRARIES=${STATIC_CRT_LINKAGE}
diff --git a/ports/libmysql/vcpkg.json b/ports/libmysql/vcpkg.json
index d8995dbc1..c0449ab16 100644
--- a/ports/libmysql/vcpkg.json
+++ b/ports/libmysql/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "libmysql",
"version": "8.0.32",
- "port-version": 6,
+ "port-version": 7,
"description": "A MySQL client library for C development",
"homepage": "https://github.com/mysql/mysql-server",
"license": "GPL-2.0-or-later", Problem is that |
I tried to build with I'm changing the draft state to |
Waiting for #34736 merged. |
Updated version database for TinyORM v0.36.5.
Thx @JavierMatosD and @LilyWangLL for review 👌 |
Add the TinyORM v0.36.5 port www.tinyorm.org.
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.Fixes #31087