You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/01/16 22:25:52 UTC

[GitHub] [incubator-mxnet] apeforest opened a new issue #17347: Static build script error out

apeforest opened a new issue #17347: Static build script error out
URL: https://github.com/apache/incubator-mxnet/issues/17347
 
 
   ## Description
   If I want to build a wheel locally, the script tools/staticbuild/build.sh no longer works.
   
   ### Error Message
   ```
   CMake Error at simd/CMakeLists.txt:41 (enable_language):
     No CMAKE_ASM_NASM_COMPILER could be found.
   
     Tell CMake where to find the compiler by setting either the environment
     variable "ASM_NASM" or the CMake cache entry CMAKE_ASM_NASM_COMPILER to the
     full path to the compiler, or to the compiler name if it is in the PATH.
   -- Configuring incomplete, errors occurred!
   See also "/home/ubuntu/src/mxnet/staticdeps/libjpeg-turbo-2.0.2/build/CMakeFiles/CMakeOutput.log".
   See also "/home/ubuntu/src/mxnet/staticdeps/libjpeg-turbo-2.0.2/build/CMakeFiles/CMakeError.log".
   ```
   ## To Reproduce
   ### Steps to reproduce
   cd mxnet
   tools/staticbuild/build.sh
   
   ## Environment
   ```
   ----------Python Info----------
   Version      : 3.6.6
   Compiler     : GCC 7.2.0
   Build        : ('default', 'Jun 28 2018 17:14:51')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 19.3.1
   Directory    : /home/ubuntu/anaconda3/lib/python3.6/site-packages/pip
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   Platform     : Linux-4.4.0-1098-aws-x86_64-with-debian-stretch-sid
   system       : Linux
   node         : ip-172-31-45-221
   release      : 4.4.0-1098-aws
   version      : #109-Ubuntu SMP Fri Nov 8 09:30:18 UTC 2019
   ----------Hardware Info----------
   machine      : x86_64
   processor    : x86_64
   Architecture:          x86_64
   CPU op-mode(s):        32-bit, 64-bit
   Byte Order:            Little Endian
   CPU(s):                36
   On-line CPU(s) list:   0-35
   Thread(s) per core:    2
   Core(s) per socket:    18
   Socket(s):             1
   NUMA node(s):          1
   Vendor ID:             GenuineIntel
   CPU family:            6
   Model:                 85
   Model name:            Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
   Stepping:              4
   CPU MHz:               3000.000
   BogoMIPS:              6000.00
   Hypervisor vendor:     KVM
   Virtualization type:   full
   L1d cache:             32K
   L1i cache:             32K
   L2 cache:              1024K
   L3 cache:              25344K
   NUMA node0 CPU(s):     0-35
   Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single kaiser fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f rdseed adx smap clflushopt clwb avx512cd xsaveopt xsavec xgetbv1 ida arat pku
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0027 sec, LOAD: 0.5625 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0002 sec, LOAD: 0.4669 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.1650 sec, LOAD: 0.5541 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0194 sec, LOAD: 0.0927 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0185 sec, LOAD: 0.0861 sec.
   Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0644 sec, LOAD: 0.2952 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0092 sec, LOAD: 0.4443 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0181 sec, LOAD: 0.0582 sec.
   ```
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] leezu commented on issue #17347: Static build script error out

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17347: Static build script error out
URL: https://github.com/apache/incubator-mxnet/issues/17347#issuecomment-575392966
 
 
   This is not related to our CMake build.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] apeforest commented on issue #17347: Static build script error out

Posted by GitBox <gi...@apache.org>.
apeforest commented on issue #17347: Static build script error out
URL: https://github.com/apache/incubator-mxnet/issues/17347#issuecomment-575379305
 
 
   @stu1130 Are you aware of this error? Thanks

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] leezu edited a comment on issue #17347: Static build script error out

Posted by GitBox <gi...@apache.org>.
leezu edited a comment on issue #17347: Static build script error out
URL: https://github.com/apache/incubator-mxnet/issues/17347#issuecomment-575392966
 
 
   This is not related to our CMake build. We're not yet using cmake for the staticbuild.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] stu1130 commented on issue #17347: Static build script error out

Posted by GitBox <gi...@apache.org>.
stu1130 commented on issue #17347: Static build script error out
URL: https://github.com/apache/incubator-mxnet/issues/17347#issuecomment-575379534
 
 
   you need the 
   ```
   sudo apt-get install -y git \
       cmake \
       libcurl4-openssl-dev \
       unzip \
       gcc-4.8 \
       g++-4.8 \
       gfortran \
       gfortran-4.8 \
       binutils \
       nasm \
       libtool \
       curl \
       wget \
       sudo \
       gnupg \
       gnupg2 \
       gnupg-agent \
       pandoc \
       python3-pip \
       automake \
       pkg-config
   ```
   To be more specific,  `nasm`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services