2.2K Star 7.8K Fork 4K

GVPMindSpore / mindspore

 / 详情

Building failure when using official docker image on Mac OS

DONE
Bug-Report
Opened this issue  
2020-03-31 23:50

Environment

  • Hardware Environment(CPU):

  • Software Environment:
    -- MindSpore release version
    -- Mac OS, docker image mindspore/mindspore-cpu:0.1.0-alpha

Describe the current behavior

building failure

Steps to reproduce the issue

  1. docker pull mindspore/mindspore-cpu:0.1.0-alpha
  2. git clone https://gitee.com/mindspore/mindspore.git -b r0.1
  3. bash build.sh -e cpu -z -j

Related log / screenshot

c++: internal compiler error: Killed (program cc1plus) src/cpu/CMakeFiles/dnnl_cpu.dir/build.make:114: recipe for target 'src/cpu/CMakeFiles/dnnl_cpu.dir/cpu_engine.cpp.o' failed Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. make[2]: *** [src/cpu/CMakeFiles/dnnl_cpu.dir/cpu_engine.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:323: recipe for target 'src/cpu/CMakeFiles/dnnl_cpu.dir/all' failed make[1]: *** [src/cpu/CMakeFiles/dnnl_cpu.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 CMake Error at cmake/utils.cmake:141 (message): error! when /usr/bin/cmake;--build;.;--target;install;--;-j8 in /home/mindspore/build/mindspore/_deps/mkl_dnn-src/_build Call Stack (most recent call first): cmake/utils.cmake:290 (__exec_cmd) cmake/external_libs/mkl_dnn.cmake:3 (mindspore_add_pkg) cmake/mind_expression.cmake:24 (include) CMakeLists.txt:17 (include)

Special notes for this issue

Comments (5)

yanchen036 createdBug-Report
yanchen036 set related repository to MindSpore/mindspore
Expand operation logs

Hey @yanchen036, Welcome to MindSpore Community.
All of the projects in MindSpore Community are maintained by @mindspore-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/mindspore/community/blob/master/command.md to find the details.

yanchen036 changed title
yanchen036 changed description

Hello, it's unnecessary to download the source code any more if you have pulled docker image from Dockerhub, instead you can directly run the container with the command below:

docker run -it mindspore/mindspore-cpu:0.1.0-alpha /bin/bash
python -c 'import mindspore'

Thanks, but I'd like to rebuild it for development purpose.

Hello, it's unnecessary to download the source code any more if you have pulled docker image from Dockerhub, instead you can directly run the container with the command below:

docker run -it mindspore/mindspore-cpu:0.1.0-alpha /bin/bash
python -c 'import mindspore'

@leonwanghui

sorry, it its not support to build in macos.

ZOMI酱 changed issue state from TODO to DONE

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(4)
5518576 mindspore ci 1587902139 5554527 leonwanghui 1587095303 7386274 sanjaychan 1589292901
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

Search

E71a60c3 8189591 Df7b7c6b 8189591