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/09 11:56:14 UTC
[GitHub] [incubator-mxnet] ronnac opened a new issue #17257: armv81
ronnac opened a new issue #17257: armv81
URL: https://github.com/apache/incubator-mxnet/issues/17257
## Description
The make/config.mk file doesn't account for the armv81 architecture. It should be treated the same as armv71 or armv61 with regards to USE_SSE=0 and USE_F16C=0.
### Error Message
g++: error: unrecognized command line option ‘-msse3’
g++: error: unrecognized command line option ‘-mf16c’
## To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
run mvn install
### Steps to reproduce
cmake -GNinja -DUSE_CUDA=OFF -DUSE_MKL_IF_AVAILABLE=OFF -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Release ..
ninja -j1
cd ~/mxnet
make install
cp ./mxnet/build/libmxnet.so /lib
mvn install
## What have you tried to solve it?
Edit make/config.mk : replace "armv71" by "armv71 armv81"
## Environment
I am using termux-ubuntu v16.04 32bit on a Samsung Galaxy A10 smartphone
----------------------------------------------------------------
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 #17257: armv81
Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17257: armv81
URL: https://github.com/apache/incubator-mxnet/issues/17257#issuecomment-572560350
With respect to the armv8 build, take a look at
https://github.com/apache/incubator-mxnet/blob/83578b9a61d5ddb5ed54576fac17e24f97f35e52/ci/docker/runtime_functions.sh#L332-L348
> "For building with Java/Scala/Clojure, only make is supported." which I think is wrong.
Yes, it should be updated. Do you want to make a PR based on your experience building these bindings?
The idea is that we use cmake to build `libmxnet.so` and the language binding just needs to use that `libmxnet.so`. I currently have a PR that fixes the R language binding instructions for the ubuntu install guide. You may take it as a reference https://github.com/apache/incubator-mxnet/pull/17228
----------------------------------------------------------------
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 #17257: armv81
Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17257: armv81
URL: https://github.com/apache/incubator-mxnet/issues/17257#issuecomment-572542740
`make/config.mk` is used for the deprecated Makefile build. Based on your steps to reproduce, you are using the CMake build.
You could look into the `CMakeLists.txt` if you're willing to investigate the issue further.
You can also check how the CI server tests the ARMv8 build at https://github.com/apache/incubator-mxnet/tree/master/ci/docker
----------------------------------------------------------------
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] ronnac commented on issue #17257: armv81
Posted by GitBox <gi...@apache.org>.
ronnac commented on issue #17257: armv81
URL: https://github.com/apache/incubator-mxnet/issues/17257#issuecomment-572555770
Thank yoou! Maybe the instructions on
https://mxnet.apache.org/get_started/build_from_source need to be
updated.
It states there " For building with Java/Scala/Clojure, only make is
supported." which I think is wrong.
------ Original Message ------
From: "Leonard Lausen" <no...@github.com>
To: "apache/incubator-mxnet" <in...@noreply.github.com>
Cc: "Nick Römer" <ni...@advalvas.be>; "Author"
<au...@noreply.github.com>
Sent: 9/01/2020 13:36:05
Subject: Re: [apache/incubator-mxnet] armv81 (#17257)
>make/config.mk is used for the deprecated Makefile build. Based on your
>steps to reproduce, you are using the CMake build.
>
>You could look into the CMakeLists.txt if you're willing to investigate
>the issue further.
>
>You can also check how the CI server tests the ARMv8 build at
>https://github.com/apache/incubator-mxnet/tree/master/ci/docker
>
>—
>You are receiving this because you authored the thread.
>Reply to this email directly, view it on GitHub
><https://github.com/apache/incubator-mxnet/issues/17257?email_source=notifications&email_token=AHIFK3SR354WJ47VPOSZM6TQ44K3JA5CNFSM4KEXDAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIQE6FA#issuecomment-572542740>,
>or unsubscribe
><https://github.com/notifications/unsubscribe-auth/AHIFK3VG6WFW3VGPU67PCWTQ44K3JANCNFSM4KEXDAVA>.
>
----------------------------------------------------------------
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