rok commented on code in PR #50587:
URL: https://github.com/apache/arrow/pull/50587#discussion_r3644054071


##########
cpp/cmake_modules/ThirdpartyToolchain.cmake:
##########
@@ -410,6 +410,13 @@ if(ARROW_AZURE)
   set(ARROW_WITH_AZURE_SDK ON)
 endif()
 
+if(ARROW_JSON
+   AND CMAKE_OSX_SYSROOT
+   AND CMAKE_OSX_SYSROOT MATCHES "MacOSX11\\.3\\.sdk$")
+  message(STATUS "Disabling ARROW_JSON for macOS SDK 11.3")
+  set(ARROW_JSON OFF)

Review Comment:
   This is to solve the [latest crossbow CRAN job 
error](https://github.com/ursacomputing/crossbow/actions/runs/30075958442/job/89426613521#step:9:45):
   
   
   ```bash
   arrowExports.cpp:1975:97: error: no member named 'json' in namespace 'arrow'
    1975 | std::shared_ptr<ds::JsonFileFormat> 
dataset___JsonFileFormat__Make(const 
std::shared_ptr<arrow::json::ParseOptions>& parse_options, const 
std::shared_ptr<arrow::json::ReadOptions>& read_options);
         |                                                                      
                    ~~~~~~~^
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to