File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -712,11 +712,12 @@ fully working OpenBLAS for this platform.
712712
713713Go to the directory where you unpacked OpenBLAS,and enter the following commands:
714714```bash
715- CC=/Applications/Xcode_ 12 . 4 . app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
715+ CC=" /Applications/Xcode. app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
716716
717- CFLAGS= -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_12 .4 .app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14 .4 .sdk -arch arm64 -miphoneos-version-min=10 .0
717+ SDKROOT="$(xcrun --sdk iphoneos --show-sdk-path)"
718+ CFLAGS="-O2 -Wno-macro-redefined -isysroot $SDKROOT -arch arm64 -miphoneos-version-min=10 .0 "
718719
719- make TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1
720+ make libs TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1
720721```
721722Adjust `MIN_IOS_VERSION` as necessary for your installation. E.g., change the version number
722723to the minimum iOS version you want to target and execute this file to build the library.
You can’t perform that action at this time.
0 commit comments