diff options
author | Guilhem Bichot <guilhem@mysql.com> | 2009-08-04 13:25:19 +0200 |
---|---|---|
committer | Guilhem Bichot <guilhem@mysql.com> | 2009-08-04 13:25:19 +0200 |
commit | c5ab943afef478af26ca0e0af20664c7d2cd5e46 (patch) | |
tree | 32be2bfec3ca062c65566c60ecf59b673d1f97e9 /BUILD | |
parent | 605b5fd23279d3a9070bb663497895e89c37df9e (diff) | |
parent | 01dbe984f8987e6f198b8b31175c4c68e7072c49 (diff) | |
download | mariadb-git-c5ab943afef478af26ca0e0af20664c7d2cd5e46.tar.gz |
Creation of mysql-trunk = {summit + "Innodb plugin replacing the builtin"}:
bzr branch mysql-5.1-performance-version mysql-trunk # Summit
cd mysql-trunk
bzr merge mysql-5.1-innodb_plugin # which is 5.1 + Innodb plugin
bzr rm innobase # remove the builtin
Next step: build, test fixes.
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/check-cpu | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index 27e0acf69a0..f73a872fecd 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -50,8 +50,13 @@ check_cpu () { model_name=`sysctl -n hw.model` ;; Darwin) - cpu_family=`uname -p` - model_name=`machine` + cpu_family=`sysctl -n machdep.cpu.vendor` + model_name=`sysctl -n machdep.cpu.brand_string` + if [ -z "$cpu_family" -o -z "$model_name" ] + then + cpu_family=`uname -p` + model_name=`machine` + fi ;; *) cpu_family=`uname -p`; |