mirror of https://github.com/grpc/grpc.git
parent
d10c0abaf6
commit
51fca2da4b
2 changed files with 49 additions and 6 deletions
@ -0,0 +1,20 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
set -ex |
||||||
|
|
||||||
|
# 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 |
||||||
|
# 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 |
Loading…
Reference in new issue