frankfliu opened a new issue #17581: macOS static build failed with 'cblas.h' file not found URL: https://github.com/apache/incubator-mxnet/issues/17581 ## Description I use following command to build macOS static build: ``` tools/staticbuild/build.sh mkl pip ``` ### Error Message ``` In file included from /Users/lufen/source/mxnet/3rdparty/mshadow/mshadow/tensor.h:16: /Users/lufen/source/mxnet/3rdparty/mshadow/mshadow/./base.h:162:14: fatal error: 'cblas.h' file not found #include <cblas.h> ^~~~~~~~~ In file included from src/operator/nn/cudnn/cudnn_algoreg.cc:26: In file included from src/operator/nn/cudnn/./cudnn_algoreg-inl.h:35: In file included from src/operator/nn/cudnn/../../../common/cuda_utils.h:31: ``` ## To Reproduce I have XCode 11.3.1 installed on my system, the cblas.h file location is: ``` /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Headers ``` But in 3rdparty/mshadow/make/mshadow.mk file hard coded include path as: ``` MSHADOW_CFLAGS += -I/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Versions/Current/Headers/ ``` ## What have you tried to solve it? Manually change the path to make it work locally.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services