[PATCH] D68292: [CMake] Disable building all Darwin libraries (except builtins) for macOS i386 when the SDK is >= 10.15.

Valentin Churavy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 2 08:21:56 PST 2020


vchuravy added a comment.

This broke cross-compilation from Linux for us, since we don't have xcodebuild/xcrun . We currently build with

  CMAKE_FLAGS="-DDARWIN_macosx_CACHED_SYSROOT:STRING=/opt/x86_64-apple-darwin14/x86_64-apple-darwin14/sys-root"
  
  export MACOSX_DEPLOYMENT_TARGET=10.9
  export LDFLAGS=-mmacosx-version-min=10.9

I would be happy to provide a `-DDARWIN_macosx_CACHED_SDKVERSION`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68292/new/

https://reviews.llvm.org/D68292





More information about the llvm-commits mailing list