From 2fcc931c20539d52d17c56a51b1ce8c6fd047522 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 16 Jun 2022 07:03:57 -0400 Subject: [PATCH] DOC: Add tip about macOS SDK --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6ce85e08e..eaa7986b8 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,8 @@ If you compile this library with `USE_OPENMP=1`, you should set the `OMP_NUM_THR environment variable; OpenBLAS ignores `OPENBLAS_NUM_THREADS` and `GOTO_NUM_THREADS` when compiled with `USE_OPENMP=1`. +On newer versions of Xcode and on arm64, you might need to compile with a newer macOS target (11.0) than the default (10.8) with `MACOSX_DEPLOYMENT_TARGET=11.0`, or switch your command-line tools to use an older SDK (e.g., [13.1](https://developer.apple.com/download/all/?q=Xcode%2013)). + ### Setting the number of threads at runtime We provide the following functions to control the number of threads at runtime: