Alexey Serbin has posted comments on this change. (
http://gerrit.cloudera.org:8080/18820 )
Change subject: [macos] fix build on macOS (Catalina 10.15.7)
......................................................................
Patch Set 2:
> I did run some tests on M1 mac. (Context: ARM symbols are included
> with Xcode version 12.2)
> Xcode 12.2 - 12.4 (inclusive): the present patch is required. Kudu
> builds and runs.
> Xcode 12.5 - 13.2 (inclusive): the present patch fails.
> set(IR_CXX_SYSTEM "${CMAKE_OSX_SYSROOT}") is required. After
> modification, Kudu builds and runs.
> Xcode 13.3 and above is not yet supported: KUDU-3391
>
> Possible fix:
> Xcode 12.5 contains clang-1205.0.22.9.
> (https://gist.github.com/yamaya/2924292)
> If the compiler version is greater than 12.0.5, use
> CMAKE_OSX_SYSROOT for IR_CXX_SYSTEM, else use the logic shown by
> the present patch.
I found that the patch works fine with Xcode 12.5. BTW, your patch at
https://github.com/apache/kudu/commit/8ba59f6c8b8c706ca4c6cc49542e87274da674d1
also assumes the approach with CMAKE_OSX_SYSROOT is to be applied only for
Xcode 13.0 and newer.
Anyways, I updated the patch -- please take a look.
--
To view, visit http://gerrit.cloudera.org:8080/18820
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib47f2d04cb87a3fc9c9a8b8c10c17d4f502c47c0
Gerrit-Change-Number: 18820
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>
Gerrit-Comment-Date: Fri, 19 Aug 2022 03:11:45 +0000
Gerrit-HasComments: No