We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90645a commit 84f252eCopy full SHA for 84f252e
.evergreen/prebuild.sh
@@ -52,6 +52,15 @@ run_prebuild() {
52
VERSION_AT_HEAD=$(get_version_at_git_rev "HEAD")
53
VERSION_AT_HEAD_1=$(get_version_at_git_rev "HEAD~1")
54
55
+if [[ "$OS" == "macos" ]]; then
56
+ ARCH=$(uname -m)
57
+ if [[ "$ARCH" == "arm64" ]]; then
58
+ # TODO(NODE-5174): node-gyp fails to run prebuild if Python 3.11+
59
+ echo "Exporting PYTHON location for version $(/opt/homebrew/opt/[email protected]/bin/python3.9 --version)"
60
+ export PYTHON="/opt/homebrew/opt/[email protected]/bin/python3.9"
61
+ fi
62
+fi
63
+
64
if [[ -n $NODE_FORCE_PUBLISH ]]; then
65
echo "\$NODE_FORCE_PUBLISH=${NODE_FORCE_PUBLISH} detected"
66
echo "Beginning prebuild"
0 commit comments