Skip to content

Commit

Permalink
[PPS-284] Rename BUILD_GENERATOR variable for StackBuilder to use it …
Browse files Browse the repository at this point in the history
…on Windows-x64
  • Loading branch information
Semab-Tariq committed Jul 15, 2021
1 parent 144c021 commit 83eb1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/build-windows-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ EOT
ssh -v $PG_SSH_WINDOWS_X64 "cd $PG_PATH_WINDOWS_X64; cmd /c unzip -o stackbuilder-win64.zip" || _die "Failed to unpack the source tree on the windows-x64 build host (stackbuilder-win64.zip)"

# Build the code
ssh $PG_SSH_WINDOWS_X64 "cd $PG_PATH_WINDOWS_X64/stackbuilder.windows-x64; cmd /c $PG_CMAKE_WINDOWS_X64/bin/cmake -G \"$CMAKE_BUILD_GENERATOR Win64\" -D MS_VS_10=1 -D CURL_ROOT:PATH=$PG_PGBUILD_WINDOWS_X64 -D WX_ROOT_DIR=$PG_WXWIN_WINDOWS_X64 -D WX_VERSION="3.1" -D WX_STATIC=NO -D MSGFMT_EXECUTABLE=$PG_PGBUILD_WINDOWS_X64\\\\bin\\\\msgfmt -D CMAKE_INSTALL_PREFIX=$PG_PATH_WINDOWS_X64\\\\output.build\\\\StackBuilder -D CMAKE_CXX_FLAGS=\"/D _UNICODE /EHsc\" ." || _die "Failed to configure stackbuilder on the build host"
ssh $PG_SSH_WINDOWS_X64 "cd $PG_PATH_WINDOWS_X64/stackbuilder.windows-x64; cmd /c $PG_CMAKE_WINDOWS_X64/bin/cmake -G \"$CMAKE_BUILD_GENERATOR_WINDOWS_X64 Win64\" -D MS_VS_10=1 -D CURL_ROOT:PATH=$PG_PGBUILD_WINDOWS_X64 -D WX_ROOT_DIR=$PG_WXWIN_WINDOWS_X64 -D WX_VERSION="3.1" -D WX_STATIC=NO -D MSGFMT_EXECUTABLE=$PG_PGBUILD_WINDOWS_X64\\\\bin\\\\msgfmt -D CMAKE_INSTALL_PREFIX=$PG_PATH_WINDOWS_X64\\\\output.build\\\\StackBuilder -D CMAKE_CXX_FLAGS=\"/D _UNICODE /EHsc\" ." || _die "Failed to configure stackbuilder on the build host"
ssh $PG_SSH_WINDOWS_X64 "cd $PG_PATH_WINDOWS_X64/stackbuilder.windows-x64; cmd /c $PG_PATH_WINDOWS_X64\\\\vc-build-x64.bat stackbuilder.vcxproj Release $PLATFORM_TOOLSET" || _die "Failed to build stackbuilder on the build host"
ssh $PG_SSH_WINDOWS_X64 "cd $PG_PATH_WINDOWS_X64/stackbuilder.windows-x64; cmd /c $PG_PATH_WINDOWS_X64\\\\vc-build-x64.bat INSTALL.vcxproj Release $PLATFORM_TOOLSET" || _die "Failed to install stackbuilder on the build host"
ssh $PG_SSH_WINDOWS_X64 "cmd /c mv $PG_PATH_WINDOWS_X64\\\\output.build\\\\StackBuilder\\\\bin\\\\stackbuilder.exe $PG_PATH_WINDOWS_X64\\\\output.build\\\\bin" || _die "Failed to relocate the stackbuilder executable on the build host"
Expand Down
2 changes: 1 addition & 1 deletion settings.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ PGSERVER_STAGING_WINDOWS_X64=$PWD/server/staging/windows-x64/server
PGADMIN_STAGING_WINDOWS_X64=$PWD/server/staging/windows-x64/pgadmin4
SB_STAGING_WINDOWS_X64=$PWD/server/staging/windows-x64/stackbuilder
CLT_STAGING_WINDOWS_X64=$PWD/server/staging/windows-x64/commandlinetools
CMAKE_BUILD_GENERATOR_X64="Visual Studio 15 2017" #used for pgAgent
CMAKE_BUILD_GENERATOR_WINDOWS_X64="Visual Studio 15 2017" #used for pgAgent
PGADMIN_KRB5_DIR="C:\\\\Program Files\\\\MIT\\\\Kerberos"
YARN_HOME="C:\\\\pgBuild64\\\\Yarn"
NODEJS_HOME="C:\\\\pgBuild64\\\\node-v14.16.0-win-x64"
Expand Down

0 comments on commit 83eb1e6

Please sign in to comment.