-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* As part of SQL repo split - ODBC was missing the 2.X branch This cherry-picking if intended to sync the ODBC new repo to the existing 2.X state of the unified SQL repo see :: Update MacOS Version for ODBC Driver #987 Origin PR: opensearch-project/sql#987 Done by: https://github.com/forestmvey Signed-off-by: YANGDB <yang.db.dev@gmail.com> * As part of SQL repo split - ODBC was missing the 2.X branch This cherry-picking if intended to sync the ODBC new repo to the existing 2.X state of the unified SQL repo see :: Update MacOS Version for ODBC Driver #987 Origin PR: opensearch-project/sql#987 Done by: https://github.com/forestmvey Signed-off-by: YANGDB <yang.db.dev@gmail.com> * Adding missing VisualLeakDetector dependencies to resolve windows ODBC compilation. Signed-off-by: forestmvey <forestv@bitquilltech.com> Signed-off-by: YANGDB <yang.db.dev@gmail.com> Signed-off-by: forestmvey <forestv@bitquilltech.com> Co-authored-by: forestmvey <forestv@bitquilltech.com>
- Loading branch information
1 parent
77dd4ff
commit 2f92a14
Showing
52 changed files
with
152 additions
and
318 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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# Build AWS SDK | ||
# $BITNESS=64 | ||
#!/bin/bash | ||
|
||
cd src | ||
git clone -b "1.7.329" "https://github.com/aws/aws-sdk-cpp.git" | ||
vcpkg install | ||
cd .. | ||
|
||
vcpkg_installed_dir='x64-osx' | ||
if [[ $MACHTYPE == 'arm64-apple-darwin'* ]]; then | ||
vcpkg_installed_dir='arm64-osx' | ||
fi | ||
|
||
PREFIX_PATH=$(pwd) | ||
mkdir cmake-build64 | ||
cd cmake-build64 | ||
cmake ../src -DCMAKE_INSTALL_PREFIX=${PREFIX_PATH}/AWSSDK/ -DCMAKE_BUILD_TYPE=Debug -DBUILD_ONLY="core" -DCUSTOM_MEMORY_MANAGEMENT="OFF" -DENABLE_RTTI="OFF" -DENABLE_TESTING="OFF" | ||
cmake ../src -DCMAKE_INSTALL_PREFIX=${PREFIX_PATH}/src/vcpkg_installed/${vcpkg_installed_dir}/ -DCMAKE_BUILD_TYPE=Debug -DBUILD_ONLY="core" -DCUSTOM_MEMORY_MANAGEMENT="OFF" -DENABLE_RTTI="OFF" -DENABLE_TESTING="OFF" | ||
cd .. | ||
|
||
cmake --build cmake-build64 -- -j 4 |
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 |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# Build AWS SDK | ||
# $BITNESS=64 | ||
#!/bin/bash | ||
|
||
cd src | ||
git clone -b "1.7.329" "https://github.com/aws/aws-sdk-cpp.git" | ||
vcpkg install | ||
cd .. | ||
|
||
vcpkg_installed_dir='x64-osx' | ||
if [[ $MACHTYPE == 'arm64-apple-darwin'* ]]; then | ||
vcpkg_installed_dir='arm64-osx' | ||
fi | ||
|
||
PREFIX_PATH=$(pwd) | ||
mkdir cmake-build64 | ||
cd cmake-build64 | ||
cmake ../src -DCMAKE_INSTALL_PREFIX=${PREFIX_PATH}/AWSSDK/ -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="core" -DCUSTOM_MEMORY_MANAGEMENT="OFF" -DENABLE_RTTI="OFF" -DENABLE_TESTING="OFF" | ||
cmake ../src -DCMAKE_INSTALL_PREFIX=${PREFIX_PATH}/src/vcpkg_installed/${vcpkg_installed_dir}/ -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="core" -DCUSTOM_MEMORY_MANAGEMENT="OFF" -DENABLE_RTTI="OFF" -DENABLE_TESTING="OFF" | ||
cd .. | ||
|
||
cmake --build cmake-build64 -- -j 4 |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
$WORKING_DIR = (Get-Location).Path | ||
$env:VCPKG_DEFAULT_TRIPLET = 'x86-windows' | ||
cd src | ||
vcpkg install | ||
cd .. | ||
.\scripts\build_windows.ps1 $WORKING_DIR Debug 32 |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
$WORKING_DIR = (Get-Location).Path | ||
$env:VCPKG_DEFAULT_TRIPLET = 'x64-windows' | ||
cd src | ||
vcpkg install | ||
cd .. | ||
.\scripts\build_windows.ps1 $WORKING_DIR Debug 64 |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
$WORKING_DIR = (Get-Location).Path | ||
$env:VCPKG_DEFAULT_TRIPLET = 'x86-windows' | ||
cd src | ||
vcpkg install | ||
cd .. | ||
.\scripts\build_windows.ps1 $WORKING_DIR Release 32 |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
$WORKING_DIR = (Get-Location).Path | ||
$env:VCPKG_DEFAULT_TRIPLET = 'x64-windows' | ||
cd src | ||
vcpkg install | ||
cd .. | ||
.\scripts\build_windows.ps1 $WORKING_DIR Release 64 |
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
Binary file not shown.
Binary file not shown.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.