If you're writing a swift package, it's important to remember that the LAPACK preprocessor macros are a C++ setting and as such your Package.swift should be defined similarly as
.target(
name: "MiniGrad",
cxxSettings: [
.define("ACCELERATE_NEW_LAPACK", to: "1")
],
linkerSettings: [
.linkedFramework("Accelerate")
]
)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: