0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-87109 Fix packaging on enterprise-amazon2023-lto (#19324)

GitOrigin-RevId: 1a3a74f4649beb1f8c1812496c13eeb878385003
This commit is contained in:
Zack Winter 2024-02-28 17:51:27 -08:00 committed by MongoDB Bot
parent bf6c56d86d
commit e096a81e82
2 changed files with 8 additions and 0 deletions

View File

@ -235,6 +235,9 @@ buildvariants:
crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source,requires_latch_analyzer
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2023
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: x86_64

View File

@ -14,6 +14,11 @@ if [ "${has_packages}" != "true" ]; then
# exit 1
fi
if [ -z ${packager_script+x} ]; then
echo "Error: packager run when packager_script is not set, please remove the package task from this variant (or variant task group) or set packager_script if this variant is intended to run the packager."
exit 1
fi
cd buildscripts
$python ${packager_script} --prefix $(pwd)/.. --distros ${packager_distro} --tarball $(pwd)/../mongodb-dist.tgz -s ${version} -m HEAD -a ${packager_arch}
cd ..