maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #05347
Re: I would like to run a buildbot
> -----Original Message-----
> From: Maria-developers [mailto:maria-developers-
> bounces+wlad=montyprogram.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dan
> Demeter
> Sent: Montag, 15. April 2013 15:59
> To: Kristian Nielsen
> Cc: maria-developers@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Maria-developers] I would like to run a buildbot
>
> Hi Kristian,
>
> The other builder is set up now :) I have installed clang on the 2nd
> host also, but I don't know how to make the mariadb build process use
> clang instead of gcc / g++ ? Do I need to uninstall gcc / g++ and make a
> symlink ?
You can do either with environment variables, or passing compiler as
parameter to cmake
Variant 1 would be
export CC=clang
export CXX=clang++
cmake will pick environment then,
Variant 2 would be
cmake <path> -DCMAKE_C_COMPILER=/path/to/clang
-DCMAKE_CXX_COMPILER=/path/to/clang++
HTH
Wlad
Follow ups
References