-
Notifications
You must be signed in to change notification settings - Fork 137
IGNITE-27303 C++ 3.0: [ODBC] Use distribution packages to run ODBC tests #7516
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
base: main
Are you sure you want to change the base?
Conversation
3cd039d to
66691a7
Compare
839d995 to
f1f0728
Compare
| import org.apache.ignite.teamcity.CustomBuildSteps.Companion.customScript | ||
|
|
||
| object ClientPackages : BuildType({ | ||
| name = "[11] ODBC and Client packages" |
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.
| name = "[11] ODBC and Client packages" | |
| name = "[11] ODBC and C++ Client packages" |
| import jetbrains.buildServer.configs.kotlin.buildSteps.script | ||
| import org.apache.ignite.teamcity.CustomBuildSteps.Companion.customScript | ||
|
|
||
| object ClientPackages : BuildType({ |
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.
Let's make sure to not confuse people - we have a lot of different clients, but this suite is only about C++ ones.
| object ClientPackages : BuildType({ | |
| object CppClientPackages : BuildType({ |
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.
Ok, I agree. Renamed.
| mkdir %PATH__CMAKE_BUILD_DIRECTORY% || exit 2 | ||
| cd %PATH__CMAKE_BUILD_DIRECTORY% || exit 3 | ||
|
|
||
| cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DENABLE_TESTS=ON -DENABLE_ODBC=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=%env.CPP_STAGING% || (echo 'CMake configuration failed' && exit 5) |
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.
Let's disable client compilation - it will reduce building time.
| cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DENABLE_TESTS=ON -DENABLE_ODBC=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=%env.CPP_STAGING% || (echo 'CMake configuration failed' && exit 5) | |
| cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DENABLE_TESTS=ON -DENABLE_ODBC=ON -DENABLE_CLIENT=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=%env.CPP_STAGING% || (echo 'CMake configuration failed' && exit 5) |
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.
Ok, makes sense.
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.
Hmm, it does not work. For odbc-test we need ignite3-client-static.
modules/platforms/cpp/_version.txt
Outdated
| @@ -1 +1 @@ | |||
| 3.2.0 No newline at end of file | |||
| 3.2.0.9999 No newline at end of file | |||
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 see that file is changed, but the function updateCMakeVersion in build.gradle, which generates it didn't. Should we update it accordingly?
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.
Ok, I reverted it back. Parsing algorithm updated to handle simple version as well.
This reverts commit 97e01de.
0341c2a to
731fc55
Compare
https://issues.apache.org/jira/browse/IGNITE-27303
Thank you for submitting the pull request.
To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:
The Review Checklist
- There is a single JIRA ticket related to the pull request.
- The web-link to the pull request is attached to the JIRA ticket.
- The JIRA ticket has the Patch Available state.
- The description of the JIRA ticket explains WHAT was made, WHY and HOW.
- The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
Notes