Bug #58462 CMake build on Mac OS X does not determine CPU type
Submitted: 24 Nov 2010 15:15 Modified: 7 Mar 2013 14:00
Reporter: Paul Dubois Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.5.8 OS:Mac OS X (10.5.6, 10.6)
Assigned to: CPU Architecture:Any
Triage: Triaged: D3 (Medium)

[24 Nov 2010 15:15] Paul Dubois
I build a package on Mac OS X like this:

rm CMakeCache.txt
make package

The resulting package file is named: mysql-5.5.8-osx10.6-.tar.gz

Note the missing CPU type between "6-" and ".tar.gz"

How to repeat:
see above

Suggested fix:
Enable automatic CPU detection on Mac OS X.
[24 Nov 2010 15:39] Valeriy Kravchuk
Verified just as described. This is what I've got:

macbook-pro:mysql-5.5-security openxs$ ls -l mysql-5.5*
-rw-r--r--  1 openxs  staff  33290999 24 лис 17:36 mysql-5.5.8-osx10.5-.tar.gz
[7 Mar 2013 14:00] Paul Dubois
Noted in 5.5.32, 5.6.12, 5.7.2 changelogs.

On 64-bit Mac OS X systems, CMake used x86 rather than x86_64 when
determining the machine type.