Bug #107841 Contribution: Allow mac to use clang for building
Submitted: 11 Jul 2022 21:59 Modified: 15 Aug 2022 20:34
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[11 Jul 2022 21:59] OCA Admin
Description:
This bug tracks a contribution by Jonathan Ringer (Github user: jonringer) as described in http://github.com/mysql/mysql-connector-python/pull/77

How to repeat:
See description

Suggested fix:
See contribution code attached
[11 Jul 2022 21:59] OCA Admin
Contribution submitted via Github - Allow mac to use clang for building 
(*) Contribution by Jonathan Ringer (Github jonringer, mysql-connector-python/pull/77#issuecomment-1179487402): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_964423880.txt (text/plain), 1.72 KiB.

[12 Jul 2022 5:04] MySQL Verification Team
Hello Jonathan Ringer,

Thank you for the report and contribution.

regards,
Umesh
[15 Aug 2022 20:34] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/Python 8.0.31 release, and here's the proposed changelog entry from the documentation team:

On macOS, compiling the C Extension implementation assumed that gcc and
g++ are the default, but now checks for clang by utilizing the CC and CXX
environment variables. Thanks to Jonathan Ringer for the patch.

Thank you for the bug report.
[15 Aug 2022 23:23] Jonathan Ringer
Great, :)