Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24606


Change subject: [codegen] fix build on macOS Tahoe with Xcode 26.x (x86_64)
......................................................................

[codegen] fix build on macOS Tahoe with Xcode 26.x (x86_64)

Prior to this patch, attempts to build Kudu on macOS Tahoe 26.5.2
with CLANG from Xcode 26.3 on Intel CPU (x86_64) machines were failing
with errors like below:

  [ 93%] Generating precompiled.ll
  In file included from src/kudu/codegen/precompiled.cc:39:
  In file included from src/kudu/common/rowblock.h:28:
  In file included from src/kudu/common/columnblock.h:27:
  In file included from src/kudu/common/types.h:20:
  In file included from 
thirdparty/installed/uninstrumented/include/c++/v1/cmath:308:
  In file included from 
thirdparty/installed/uninstrumented/include/c++/v1/math.h:300:
  
/Applications/Xcode-26.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/math.h:645:27:
 error: _Float16 is not supported on this target
  extern _Float16 __fabsf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), 
watchos(11.0), tvos(18.0));

I'm not sure this is very relevant, but at least offical Swift docs [1]
state FLoat16 is avalable on macOS only for Apple silicon:
  On macOS, Float16 is only available when targeting Apple silicon.

[1] https://developer.apple.com/documentation/swift/float16

Change-Id: Ieedac431c9c9cc023c3bcc87a8ac806ea966bb65
---
M src/kudu/codegen/CMakeLists.txt
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/24606/1
--
To view, visit http://gerrit.cloudera.org:8080/24606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieedac431c9c9cc023c3bcc87a8ac806ea966bb65
Gerrit-Change-Number: 24606
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to