Created
October 7, 2013 22:51
-
-
Save sturadnidge/6876356 to your computer and use it in GitHub Desktop.
Builds node on ARM chromebook. Slower than cross compiling, but what the hey!
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
git clone -b v0.10.20-release https://github.com/joyent/node.git | |
cd node | |
./configure --prefix=/ --without-snapshot | |
export BIN_NAME=node-v0.10.20-linux-armv7l-chromebook | |
mkdir ${BIN_NAME} | |
make install DESTDIR=${BIN_NAME} V=1 PORTABLE=1 | |
# package | |
echo "packaging..." | |
cp README.md ${BIN_NAME} | |
cp LICENSE ${BIN_NAME} | |
cp ChangeLog ${BIN_NAME} | |
tar -cf ${BIN_NAME}.tar ${BIN_NAME} | |
gzip -f -9 ${BIN_NAME}.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment