Hi, I have the following message error:
/tmp/makepkg/mxnet/src/mxnet/include/mshadow/././bfloat.h:75:26: note: ‘class mshadow::bfloat::bf16_t’ declared here
75 | class MSHADOW_ALIGNED(2) bf16_t {
| ^~~~~~
In file included from /tmp/makepkg/mxnet/src/mxnet/include/mshadow/tensor.h:1075,
from /tmp/makepkg/mxnet/src/mxnet/include/mxnet/./base.h:33,
from /tmp/makepkg/mxnet/src/mxnet/include/mxnet/engine.h:34,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/./../../common/utils.h:32,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/./np_delete_op-inl.h:31,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/np_delete_op.cc:27:
/tmp/makepkg/mxnet/src/mxnet/include/mshadow/./tensor_cpu-inl.h:157:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mshadow::bfloat::bf16_t’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
157 | memcpy(dst[y].dptr_, src[y].dptr_, sizeof(DType) * dst.size(1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/makepkg/mxnet/src/mxnet/include/mshadow/./base.h:299,
from /tmp/makepkg/mxnet/src/mxnet/include/mshadow/tensor.h:35,
from /tmp/makepkg/mxnet/src/mxnet/include/mxnet/./base.h:33,
from /tmp/makepkg/mxnet/src/mxnet/include/mxnet/engine.h:34,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/./../../common/utils.h:32,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/./np_delete_op-inl.h:31,
from /tmp/makepkg/mxnet/src/mxnet/src/operator/numpy/np_delete_op.cc:27:
/tmp/makepkg/mxnet/src/mxnet/include/mshadow/././bfloat.h:75:26: note: ‘class mshadow::bfloat::bf16_t’ declared here
75 | class MSHADOW_ALIGNED(2) bf16_t {
| ^~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
petronny commented on 2019-06-21 08:00 (UTC) (edited on 2019-06-25 07:24 (UTC) by petronny)
And about this package, I've splitted it into mxnet{,-cuda,-mkl}. And it will take lots of time and space to compile.
The pre-built binaries of mxnet{,-cuda,-mkl} and their dependencies can be found in arch4edu.