diff options
Diffstat (limited to 'tools/run_tests/build_node.sh')
-rwxr-xr-x | tools/run_tests/build_node.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/run_tests/build_node.sh b/tools/run_tests/build_node.sh index 600b1bde8c..4b092982b2 100755 --- a/tools/run_tests/build_node.sh +++ b/tools/run_tests/build_node.sh @@ -2,19 +2,18 @@ set -ex +CONFIG=${CONFIG:-opt} + # change to grpc repo root cd $(dirname $0)/../.. # tells npm install to look for files in that directory export GRPC_ROOT=`pwd` # tells npm install the subdirectory with library files -export GRPC_LIB_SUBDIR=libs/opt +export GRPC_LIB_SUBDIR=libs/$CONFIG # tells npm install not to use default locations export GRPC_NO_INSTALL=yes -# build the c libraries -make -j static_c - cd src/node npm install |