You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2022/05/08 19:13:56 UTC

[GitHub] [incubator-mxnet] ccjernigan commented on issue #20028: Mac-ARM build failure

ccjernigan commented on issue #20028:
URL: https://github.com/apache/incubator-mxnet/issues/20028#issuecomment-1120472041

   @matteosal Were you able to get 1.x to build on macOS?  I've been trying to create a build on my M1 Mac, so that I can reference the binary locally as suggested here for DJL: https://github.com/deepjavalibrary/djl/issues/375#issuecomment-975042055
   
   I can get the MxNet master branch to build locally, but not 1.8, 1.9, or 1.9.1RC tags.  If I try to set the environment variable for DJL to pull in the MxNet 2.0 build, it'll crash (which is probably expected since 2.0 is a major new version and DJL is using MxNet 1.8).
   
   It seems like there are two issues with the 1.x branches I can see so far:
   1. An issue with googletest, which I can apparently work around by copying that folder over from the master branch.  The actual error is:
   ```
   CMake Error at CMakeLists.txt:490 (add_subdirectory):
     add_subdirectory given source
     "/3rdparty/googletest/googletest"
   ```
   
   
   2. A compilation issue reported in CMakeError.log:
   ```
   Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
   Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 
   Build flags: 
   Id flags:  
   
   The output was:
   1
   ld: library not found for -lc++
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org