Skip to content

Commit c02c1f7

Browse files
committed
fixup: try bumping node-gyp, toolchain, python
1 parent ca4e40c commit c02c1f7

File tree

4 files changed

+551
-236
lines changed

4 files changed

+551
-236
lines changed

.evergreen/print-compass-env.js

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

7070
if (process.env.PLATFORM === 'linux') {
71-
// To build node modules on linux post electron 13 we need
72-
// a newer c++ compiler version, this adds it.
73-
// https://jira.mongodb.org/browse/COMPASS-5150
74-
pathsToPrepend.unshift('/opt/mongodbtoolchain/v3/bin');
71+
// We generally require a relatively recent C++ compiler
72+
pathsToPrepend.unshift('/opt/mongodbtoolchain/v4/bin');
7573

76-
// Make sure that linux is using python 3.6 (node-gyp requirement)
77-
pathsToPrepend.unshift('/opt/python/3.6/bin');
74+
// node-gyp is tied to a specific Python version range
75+
pathsToPrepend.unshift('/opt/python/3.12/bin');
7876
}
7977

8078
PATH = maybePrependPaths(PATH, pathsToPrepend);

0 commit comments

Comments
 (0)