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 | |
cd /root/zzq | |
. ./host.sh | |
cd logs | |
for host in ${hosts[@]}; do | |
if [ ! -e $host ]; then |
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
cmake . \ | |
-DCMAKE_CXX_COMPILER=$(brew --prefix [email protected])/bin/g++-4.9 \ | |
-DCMAKE_C_COMPILER=$(brew --prefix [email protected])/bin/gcc-4.9 \ | |
-DCMAKE_ASM_COMPILER=$(brew --prefix [email protected])/bin/gcc-4.9 \ | |
-DLIBIBERTY_LIB=$(brew --prefix [email protected])/lib/x86_64/libiberty-4.8.a \ | |
-DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" \ | |
-DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" \ | |
-DLIBEVENT_LIB=$(brew --prefix libevent)/lib/libevent.dylib \ | |
-DLIBEVENT_INCLUDE_DIR=$(brew --prefix libevent)/include \ | |
-DICU_INCLUDE_DIR=$(brew --prefix icu4c)/include \ |
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
require 'formula' | |
class Jemallocfb < Formula | |
homepage 'http://www.canonware.com/jemalloc/download.html' | |
url 'https://src.fedoraproject.org/repo/pkgs/jemalloc/jemalloc-3.6.0.tar.bz2/md5/e76665b63a8fddf4c9f26d2fa67afdf2/jemalloc-3.6.0.tar.bz2' | |
md5 'e76665b63a8fddf4c9f26d2fa67afdf2' | |
keg_only "We're just a patched version." | |
# __GLIBC__ is not defined, but we still want hooks! |
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
brew install freetype gettext cmake git libtool mcrypt oniguruma re2c \ | |
autoconf libelf readline automake mysql-connector-c pcre \ | |
gd icu4c libmemcached pkg-config tbb imagemagick binutils \ | |
curl imap-uw libxslt libevent sqlite \ | |
openssl gawk [email protected] | |
brew install --build-from-source --cc=gcc-4.9 glog boost | |
brew install \ | |
https://gist.githubusercontent.com/romualdr/517d3155a3da8f5f1e72/raw/c7de5baca0598a2a87712df5a81598628faeb42d/libdwarf.rb \ |
NewerOlder