forked from opensearch-project/sql
-
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.
Update MacOS version to supported level. Updated suitable dependencie…
…s to be included through vcpkg. Fixed compilation errors with newer compilers on libraries required to build from source. (opensearch-project#987) opensearch-project#987 Signed-off-by: forestmvey <[email protected]> (cherry picked from commit 99cebe3) Signed-off-by: Yury-Fridlyand <[email protected]>
- Loading branch information
1 parent
602059c
commit 8f088e9
Showing
44 changed files
with
144 additions
and
303 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 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
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 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
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 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 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.