Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOOLS-3119 Enable devtoolset-7 on RHEL 6.2 #426

Merged
merged 1 commit into from
May 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ functions:
working_dir: src/github.com/mongodb/mongo-tools
script: |
${_set_shell_env}
${_maybe_enable_devtoolset_7}
PATH=$PATH:$HOME
go run build.go -v ${target}

Expand Down Expand Up @@ -785,6 +786,10 @@ pre:
set -o xtrace
set -o verbose
set -o errexit
_maybe_enable_devtoolset_7: |
if [ '${mongo_os}' == 'rhel62' ]; then
source /opt/rh/devtoolset-7/enable
fi
EOT
- command: expansions.update
params:
Expand Down Expand Up @@ -2177,6 +2182,7 @@ tasks:
set -e
go tool vet bsondump mongo*


buildvariants:

#######################################
Expand Down