Changes between Initial Version and Version 1 of Ticket #63038, comment 39


Ignore:
Timestamp:
Jun 17, 2021, 10:47:53 PM (3 years ago)
Author:
mouse07410 (Mouse)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63038, comment 39

    initial v1  
    3333:info:build make[2]: *** [lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64TargetMachine.cpp.o] Error 1
    3434}}}
     35
     36You can see that for some reason, the build process appears to look for the SDK location using {{{xcrun --sdk macosx}}}. In theory, that should work - but in practice it fails, as I observed with my own projects. And that command points at the {{{MacOSX11.3.sdk}}} that (as said above), symlinks to {{{MacOSX.sdk}}} (which somehow doesn't seem to work/help.
     37{{{
     38$ xcrun --sdk macosx --show-sdk-path
     39/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
     40}}}
     41
     42What one should do instead is drop the {{{==sdk macosx}}} argument - building on Mac won't use anything else:
     43{{{
     44$ xcrun --show-sdk-path
     45/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
     46}}}
     47This points at a **usable** (and current!) MacOS SDK.