Comments - Generic Build Instructions

6 years, 5 months ago John Muller

Hi,

I'm building on 10.2.9 on RH 7.3 server using cmake ../server -DBUILD_CONFIG=mysql_release and it is building 32 binaries. What controls whether 32 or 64 bit binaries are built? How do I build 64 bit binaries?

 
6 years, 5 months ago Michael Widenius

Normally cmake should build 64 bit binaries on 64 bit systems and 32 bit binaries on 32 bit systems.

Not sure what defines it, but a workaround is to use the build scripts: ./BUILD/compile-pentium64-max

This is guaranteed to do a 64 bit build.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.