Skip to content

Commit

Permalink
specify build-from-source-once
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Sep 4, 2024
1 parent 9854213 commit 2dff735
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ functions:
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
PROJECT: ${project}
GYP_DEFINES: ${GYP_DEFINES|}
NPM_OPTIONS: ${NPM_OPTIONS|}
args:
- run
- '--interactive'
Expand All @@ -80,8 +79,6 @@ functions:
- PROJECT_DIRECTORY=/app
- '--env'
- GYP_DEFINES
- '--env'
- NPM_OPTIONS
- 'ubuntu:22.04'
- /bin/bash
- /app/.evergreen/run-tests-ubuntu.sh
Expand Down Expand Up @@ -125,7 +122,6 @@ tasks:
- func: run tests ubuntu
vars:
GYP_DEFINES: kerberos_use_rtld=false
NPM_OPTIONS: --build-from-source
- name: run-prebuild
commands:
- func: install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ fi
echo "npm location: $(which npm)"
echo "npm version: $(npm -v)"

npm install "${NPM_OPTIONS}" --build-from-source
npm install --build-from-source
ldd build/*/kerberos.node || true

0 comments on commit 2dff735

Please sign in to comment.