summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBUILD/compile-pentium2
-rwxr-xr-xBUILD/compile-pentium-gcov3
-rwxr-xr-xBuild-tools/Do-all-build-steps2
-rwxr-xr-xBuild-tools/Do-compile2
4 files changed, 5 insertions, 4 deletions
diff --git a/BUILD/compile-pentium b/BUILD/compile-pentium
index 2416a84cdec..65257333720 100755
--- a/BUILD/compile-pentium
+++ b/BUILD/compile-pentium
@@ -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
diff --git a/BUILD/compile-pentium-gcov b/BUILD/compile-pentium-gcov
index e28d211d6d2..7a833a4e18f 100755
--- a/BUILD/compile-pentium-gcov
+++ b/BUILD/compile-pentium-gcov
@@ -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
+
diff --git a/Build-tools/Do-all-build-steps b/Build-tools/Do-all-build-steps
index a5b1457e359..8c2be1844a0 100755
--- a/Build-tools/Do-all-build-steps
+++ b/Build-tools/Do-all-build-steps
@@ -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"
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile
index 8d5fed87da5..527cd5becde 100755
--- a/Build-tools/Do-compile
+++ b/Build-tools/Do-compile
@@ -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" : "";