diff options
author | Jingbei Li | 2018-05-18 01:08:48 +0800 |
---|---|---|
committer | Jingbei Li | 2018-05-18 01:08:48 +0800 |
commit | 7d3cf78d5800e683c5182797f77520fce709b744 (patch) | |
tree | 0af2058ea7183cc913b285d26eeb1d93257aefb8 | |
parent | d3f8ae86e24498f3fc7130b5ba2ece9e9e491fbf (diff) | |
download | aur-7d3cf78d5800e683c5182797f77520fce709b744.tar.gz |
disable GPERFTOOLS and JEMALLOC
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = mxnet pkgdesc = Flexible and Efficient Library for Deep Learning pkgver = 1.1.0 - pkgrel = 3 + pkgrel = 4 url = http://mxnet.io/ arch = x86_64 license = Apache @@ -13,7 +13,6 @@ pkgbase = mxnet makedepends = opencv makedepends = git makedepends = cython - makedepends = gperftools depends = hdf5 depends = cblas depends = lapack @@ -3,14 +3,14 @@ pkgname=mxnet _gitname=incubator-mxnet pkgver=1.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="Flexible and Efficient Library for Deep Learning" arch=('x86_64') url="http://mxnet.io/" license=('Apache') depends=('hdf5' 'cblas' 'lapack' 'python-numpy' 'python-requests' 'intel-tbb-gcc6') optdepends=('cairo' 'cuda' 'cudnn' 'gtkglext' 'python-graphviz' 'opencv') -makedepends=(${optdepends[@]} 'git' 'cython' 'gperftools') +makedepends=(${optdepends[@]} 'git' 'cython') source=("git+https://github.com/apache/$_gitname") md5sums=('SKIP') @@ -22,6 +22,11 @@ prepare() { echo "USE_BLAS=blas" echo "USE_LAPACK=1" echo "ADD_LDFLAGS+=-lcblas" + + # https://github.com/apache/incubator-mxnet/issues/8569 + echo "USE_GPERFTOOLS=0" + echo "USE_JEMALLOC=0" + if (pacman -Q cuda &>/dev/null && pacman -Q cudnn &>/dev/null); then msg2 "CUDA support enabled" echo "USE_CUDA=1" |