1.4K Star 10.6K Fork 1.7K

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

Attachments

Comments (5)

chenyan107 createdBug-Report
chenyan107 set related repository to MindSpore/mindspore
展开全部操作日志

Hey @chenyan107 , 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.

chenyan107 changed title
chenyan107 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.

chenzomi changed issue state from TODO to DONE

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 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