Skip to content

Commit 3c404a0

Browse files
committed
fixup: no v4 toolchain on ubuntu1604
1 parent 0be1bbf commit 3c404a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.evergreen/print-compass-env.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@ function printCompassEnv() {
6868
}
6969

7070
if (process.env.PLATFORM === 'linux') {
71+
// node-gyp is tied to a specific Python version range
72+
pathsToPrepend.unshift('/opt/python/3.9/bin');
73+
7174
// To build node modules on linux post electron 13 we need a newer c++
7275
// compiler version and at least python v3.9, this adds it.
7376
// https://jira.mongodb.org/browse/COMPASS-5150
77+
pathsToPrepend.unshift('/opt/mongodbtoolchain/v3/bin');
7478
pathsToPrepend.unshift('/opt/mongodbtoolchain/v4/bin');
7579
}
7680

0 commit comments

Comments
 (0)