Skip to content

Instantly share code, notes, and snippets.

@skilbjo
Created November 13, 2016 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skilbjo/f7cf74e0b6f34cceea29b41f82db2f96 to your computer and use it in GitHub Desktop.
Save skilbjo/f7cf74e0b6f34cceea29b41f82db2f96 to your computer and use it in GitHub Desktop.
nohup make -j 4 V=0 </dev/null >/dev/null 2>&1 &
mount /dev/sdb1 usb-drive
sudo mount -o bind ~/usb-drive/tmp /tmp
_python2_ver_major=$(pacman -Qi python2|gawk '$1~/Version/{split($3,v,".");print v[1] "." v[2]}') \
LIBS='-lprotobuf -lglog' && \
CFLAGS=-Wno-error CXXFLAGS=-Wno-error ./configure \
--enable-optimize \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--exec-prefix=/usr \
--sbindir=/usr/bin \
--with-glog=/usr \
--with-leveldb=/usr \
--with-gperftools=/usr \
--with-network-isolator && \
make -j 4 V=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment