[MDEV-11613] Travis: Revert to optional MYSQL_{BUILD_CC,BUILD_CXX,COMPILER_LAUNCHER} Created: 2016-12-20  Updated: 2017-03-09  Due: 2017-01-26  Resolved: 2017-03-07

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.2
Fix Version/s: 10.2.5

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: contribution, foundation

Sprint: 10.2.5-1

 Description   

To facilitate multiple build types in Travis, all supported
by MYSQL_COMPILER_LAUNCHER (usually ccache).

As noted by @ottok in MDEV-10752 e14bdcb no longer influences the compiler used during the build due to other changes in the build system. An environment variable CC/CXX didn't propagate to the build so a variant of the previous MYSQL_BUILD_CC/MYSQL_BUILD_CXX was introduced using the cmake documented way of specifying C/C++ compilers. Added MYSQL_COMPILER_LAUNCHER which can be set to ccache to facilitate any compiler.



 Comments   
Comment by Otto Kekäläinen [ 2016-12-21 ]

The PR is at https://github.com/MariaDB/server/pull/281

danblack Unfortunately I need to focus my time on getting MariaDB 10.1 into Debian really quickly before the freeze sets, so I don't have time to review or debug these Travis problems in depth right now. If you pinpoint the lines in your Travis-CI logs that prove that the changes work as intended now, then @svoj could maybe easily confirm it and merge the PRs..?

Comment by Daniel Black [ 2016-12-22 ]

Yike, so fallback plan it is. I'll be specific about the proof of changes. Thanks.

Comment by Otto Kekäläinen [ 2017-01-22 ]

I still have Debian 9 preparations as my primary target, and cannot put enough time to analyze this in detail. Maybe @svoj can take another look when he returns from vacation. In general I think it is great that the usage of Travis-CI improves, we get more coverage, faster builds and less false build errors. Thanks for your contributions danblack!

Generated at Thu Feb 08 07:51:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.