Below is the list of changes that have just been committed into a local
5.1 repository of mikron. When mikron does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-06-04 11:56:08+02:00, mikron@stripped +1 -0
Use mtune=native when compiling with GCC 4.2 or newer
BUILD/build_source.sh@stripped, 2007-06-04 11:56:00+02:00, mikron@stripped +3 -8
Use mtune=native when compiling with GCC 4.2 or newer
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: mikron
# Host: mikael-ronstr-ms-dator.local
# Root: /Users/mikron/mysql_clones/wl3834
--- 1.17/BUILD/build_source.sh 2007-06-04 11:47:16 +02:00
+++ 1.18/BUILD/build_source.sh 2007-06-04 11:56:00 +02:00
@@ -691,22 +691,17 @@
*GCC*)
# different gcc backends (and versions) have different CPU flags
case `gcc -dumpmachine` in
- i?86-*)
+ i?86-* | x86_64-*)
if test "$cc_comp" -lt 304 ; then
check_cpu_args="-mcpu=$cpu_arg"
+ elif test "$cc_comp" -ge 402 ; then
+ check_cpu_args="-mtune=native"
else
check_cpu_args="-mtune=$cpu_arg"
fi
;;
ppc-*)
check_cpu_args="-mcpu=$cpu_arg -mtune=$cpu_arg"
- ;;
- x86_64-*)
- if test "$cc_comp" -lt 304 ; then
- check_cpu_args="-mcpu=$cpu_arg"
- else
- check_cpu_args="-mtune=$cpu_arg"
- fi
;;
*)
check_cpu_cflags=""
| Thread |
|---|
| • bk commit into 5.1 tree (mikron:1.2525) | mikael | 4 Jun |