forked from greenplum-db/diskquota-archive
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from arenadata/2.3.0-sync
Sync 2.3.0 changes
- Loading branch information
Showing
93 changed files
with
4,157 additions
and
1,813 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2.1 | ||
2.3.0 |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash -l | ||
|
||
set -exo pipefail | ||
|
||
function pkg() { | ||
[ -f /opt/gcc_env.sh ] && source /opt/gcc_env.sh | ||
source /usr/local/greenplum-db-devel/greenplum_path.sh | ||
|
||
# Always use the gcc from $PATH, to avoid using a lower version compiler by /usr/bin/cc | ||
export CC="$(which gcc)" | ||
export CXX="$(which g++)" | ||
|
||
pushd /home/gpadmin/diskquota_artifacts | ||
if [[ $OS_NAME == "rhel9" ]] | ||
then | ||
cmake /home/gpadmin/diskquota_src \ | ||
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}" \ | ||
-DDISKQUOTA_DDL_CHANGE_CHECK=off | ||
cmake --build . --target create_artifact | ||
else | ||
local last_release_path | ||
last_release_path=$(readlink -eq /home/gpadmin/last_released_diskquota_bin/diskquota-*.tar.gz) | ||
cmake /home/gpadmin/diskquota_src \ | ||
-DDISKQUOTA_LAST_RELEASE_PATH="${last_release_path}" \ | ||
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}" | ||
cmake --build . --target create_artifact | ||
fi | ||
popd | ||
} | ||
|
||
function _main() { | ||
time pkg | ||
} | ||
|
||
_main "$@" |
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.
Oops, something went wrong.