[ 
https://issues.apache.org/jira/browse/IGNITE-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433019#comment-17433019
 ] 

Ivan Daschinsky commented on IGNITE-15693:
------------------------------------------

Thanks a lot, everything works.

> TC: Change build ODBC installer step to utilize cmake
> -----------------------------------------------------
>
>                 Key: IGNITE-15693
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15693
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Daschinsky
>            Assignee: Petr Ivanov
>            Priority: Major
>
> In order to drop VC projects files, it is required to build ODBC installer in 
> release step using cmake. Since IGNITE-15678 have been implemented, it is now 
> possible to build installer using cmake only.
> In [[1] Build .Net & 
> C++|https://ci.ignite.apache.org/admin/editBuild.html?id=buildType:ApacheIgniteReleaseJava8_PrepareVote1NetCpp]
> Steps
> # In General settings change artifact paths:
> From
> {code}
> ignite\modules\platforms\cpp\odbc\install\*.msi => ignite.odbc.installers.zip
> ignite\modules\platforms\cpp\odbc\install\dummy => ignite.odbc.installers.zip
> {code}
> to
> {code}
> ignite\modules\platforms\cpp\install\amd64\bin\*.msi => 
> ignite.odbc.installers.zip
> ignite\modules\platforms\cpp\install\x86\bin\*.msi => 
> ignite.odbc.installers.zip
> {code}
> # Remove steps {{Build 32-bit ODBC binary}} and {{Build 64-bit ODBC binary}}
> # In step {{Build 32-bit ODBC installer}} set {{Working directory}} to 
> {{ignite/modules/platforms/cpp}}
> Set script to 
> {code}
> set OPENSSL_ROOT_DIR=%env.OPENSSL_HOME_x86%
> mkdir cmake-build-release-32
> cd cmake-build-release-32
> cmake -DWITH_CORE=OFF -DWITH_ODBC=ON -DWITH_ODBC_MSI=ON 
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=Win32 
> -DCMAKE_INSTALL_PREFIX=..\install\x86 ..
> cmake --build . --target install --config Release
> {code}
> # In step {{Build 64-bit ODBC installer}} set {{Working directory}} to 
> {{ignite/modules/platforms/cpp}}
> Set script to 
> {code}
> set OPENSSL_ROOT_DIR=%env.OPENSSL_HOME%
> mkdir cmake-build-release-64
> cd cmake-build-release-64
> cmake -DWITH_CORE=OFF -DWITH_ODBC=ON -DWITH_ODBC_MSI=ON 
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=x64 
> -DCMAKE_INSTALL_PREFIX=..\install\amd64 ..
> cmake --build . --target install --config Release
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to