Last active
May 18, 2016 17:54
-
-
Save MylesBorins/913c6d6c8c7bc95912fb226f67f15c52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODE_VERSION=$(python tools/getnodeversion.py) | |
CONFIG_FLAGS="--with-intl=small-icu --download=all --download-path=${HOME}/node-icu/" | |
mkdir -p ${HOME}/node-icu/ | |
if [[ $NODE_VERSION =~ ^0\.10 ]]; then | |
CONFIG_FLAGS="" | |
fi | |
rm -rf $(pwd)/smoker | |
mkdir $(pwd)/smoker | |
./configure --prefix=$(pwd)/smoker $CONFIG_FLAGS | |
make -j $(getconf _NPROCESSORS_ONLN) | |
make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIG_FLAGS="--download-path=${HOME}/node-icu/" | |
if [[ $NODE_VERSION =~ ^0\.10 ]]; then | |
CONFIG_FLAGS="" | |
fi | |
echo ostype=$OSTYPE | |
echo arch=$ARCH | |
echo destcpu=$DESTCPU | |
echo PATH=$PATH | |
echo CONFIG_FLAGS=$CONFIG_FLAGS | |
mkdir -p ${HOME}/node-icu/ | |
make -j 2 binary-upload \ | |
DESTCPU="$DESTCPU" \ | |
ARCH="$ARCH" \ | |
DISTTYPE="$disttype" \ | |
DATESTRING="$datestring" \ | |
COMMIT="$commit" \ | |
CUSTOMTAG="$CUSTOMTAG" \ | |
RELEASE_URLBASE="$release_urlbase" \ | |
CONFIG_FLAGS="$CONFIG_FLAGS" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment