forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build failure in the flightsql-odbc repo
* Use 1.3 Zlib version - The built-in base line does not work, since it will try to get zlib from https://www.zlib.net/zlib-1.2.12.tar.gz, which is no longer valid. To fix this, I changed ZLIB version to 1.3. * Fix ARROW_GIT_REPOSITORY not set error * In `flight_sql\CMakeLists.txt`, set(ARROW_GIT_REPOSITORY ... CACHE STRING) only sets the default value of ARROW_GIT_REPOSITORY. This value is supposed to be set in the build script (e.g., `cpp/src/flightsql_odbc/flightsql-odbc/build_win64.bat`), and the setting of this value is fixed. * Create flightsqlodbc_build.yml to add workflow to build flightsql-odbc.
- Loading branch information
Showing
4 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Flight SQL ODBC Driver Client for Windows | ||
|
||
on: | ||
push: | ||
paths: | ||
- '.github/workflows/flightsqlodbc_build.yml' | ||
- 'cpp/src/flightsql_odbc/flightsql-odbc/**' | ||
pull_request: | ||
paths: | ||
- '.github/workflows/flightsqlodbc_build.yml' | ||
- 'cpp/src/flightsql_odbc/flightsql-odbc/**' | ||
|
||
env: | ||
VCPKG_ROOT: "c:/vcpkg" | ||
|
||
jobs: | ||
build-windows32: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: configure-and-build-driver | ||
run: | | ||
cd cpp/src/flightsql_odbc/flightsql-odbc | ||
.\build_win32.bat | ||
build-windows64: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: configure-and-build-driver | ||
run: | | ||
cd cpp/src/flightsql_odbc/flightsql-odbc | ||
.\build_win64.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters