Commit 4d7d9c7f authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

make -j 2

parent fe67aa11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,5 +4,5 @@ make -k clean
aclocal; autoheader; aclocal; automake; autoconf

CFLAGS="-O6 -mpentiumpro -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentiumpro -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --enable-thread-safe-client
make
make -j 2
strip sql/mysqld
+2 −1
Original line number Diff line number Diff line
@@ -13,4 +13,5 @@ C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"

CFLAGS="-O2 -mpentiumpro -fprofile-arcs -ftest-coverage $C_WARNINGS" CXX=gcc CXXFLAGS="-O2 -mpentiumpro -fprofile-arcs -ftest-coverage -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full
make
make -j 2
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ aclocal; autoheader; aclocal; automake; autoconf
 --with-mit-threads=yes $EXTRA_CONFIG \
 --enable-thread-safe-client

gmake # --jobs=4 does not work.
gmake -j 2 # --jobs=4 does not work.

time gmake distcheck \
 EXTRA_CONF_ARGS="--with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory $EXTRA_CONFIG"
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ else
}
$ENV{'PATH'}= "$pwd/$host/bin:" . $ENV{'PATH'}; 
$rsh=which("rcmd","rsh");
$make=which("gmake","make");
$make=which("gmake -j 2","make");
$tar=which("gtar","tar");
$sendmail=find("/usr/lib/sendmail","/usr/sbin/sendmail");
$sur= $opt_sur ? "/my/local/bin/sur" : "";