jonkeane commented on code in PR #49221:
URL: https://github.com/apache/arrow/pull/49221#discussion_r2796050521


##########
dev/tasks/r/github.macos.cran.yml:
##########
@@ -58,7 +60,25 @@ jobs:
           extra-packages: |
             any::rcmdcheck
             any::sys
-      - name: Install
+      - name: Install MacOSX 11.3 SDK
+        if: matrix.config == 'cran-release'
+        run: |
+          curl -fsSL 
https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz
 -o /tmp/MacOSX11.3.sdk.tar.xz
+          sudo tar -xf /tmp/MacOSX11.3.sdk.tar.xz -C 
/Library/Developer/CommandLineTools/SDKs/
+          echo "Installed MacOSX11.3.sdk to 
/Library/Developer/CommandLineTools/SDKs/"
+          ls -la /Library/Developer/CommandLineTools/SDKs/

Review Comment:
   
https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_13.3/Command_Line_Tools_for_Xcode_13.3.dmg
 is another source of these headers — though this requires an Apple developer 
account. Maybe the best we can do is instructions (+ `Makefile` changes, that 
would work for R, I'm not sure if the C++ dev stack has a good equivalent for 
adding instructions on how to run these?) that make testing this locally (on a 
mac) possible. But we loose the catch for these issues until CRAN updates their 
compilers. 



-- 
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