Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18820
Change subject: [macos] fix build on macOS (Catalina 10.15.7) ...................................................................... [macos] fix build on macOS (Catalina 10.15.7) Change introduced with [1] broke build on my Intel-based macOS Catalina 10.15.7. I guess it might be something related to the old version of Xcode (12.4), but adding CMAKE_OSX_SYSROOT for libc++ include directories wasn't working as expected in my case. This patch deduces the path to the libc++ include directory using the output of 'clang++ --version' command, and I hope it works as expected on M1-based macOS using with recent Xcode versions. [1] https://github.com/apache/kudu/commit/543e128d473f8f7836e605bba8cd6512fa918550 Change-Id: Ib47f2d04cb87a3fc9c9a8b8c10c17d4f502c47c0 --- M src/kudu/codegen/CMakeLists.txt 1 file changed, 18 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/18820/1 -- 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: newchange Gerrit-Change-Id: Ib47f2d04cb87a3fc9c9a8b8c10c17d4f502c47c0 Gerrit-Change-Number: 18820 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
