Skip to content

Commit

Permalink
Revert "Allow AR path to be chosen by user"
Browse files Browse the repository at this point in the history
This reverts commit 94156b6.
  • Loading branch information
anirudh2290 committed Jun 10, 2019
1 parent 9297970 commit eb186d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ endif
# --Wl,--whole-archive -lmxnet --Wl,--no-whole-archive
lib/libmxnet.a: $(ALLX_DEP)
@mkdir -p $(@D)
$(AR) crv $@ $(filter %.o, $?)
ar crv $@ $(filter %.o, $?)

lib/libmxnet.so: $(ALLX_DEP)
@mkdir -p $(@D)
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/install/ubuntu_ar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ apt-get update || true
apt-get install -y \
wget

mkdir /opt/binutils_install && mkdir /opt/binutils_other && mkdir /opt/binutils && cd /opt/binutils
mkdir /opt/binutils_install && mkdir /opt/binutils_install && mkdir /opt/binutils && cd /opt/binutils
wget -nv https://mirror.clarkson.edu/gnu/binutils/binutils-2.27.tar.gz
./configure --prefix=/opt/binutils_install --exec-prefix=/opt/binutils_other
make -j$(nproc)
Expand Down
1 change: 0 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ build_ubuntu_gpu_mkldnn() {
USE_CUDNN=1 \
CUDA_ARCH="$CI_CUDA_COMPUTE_CAPABILITIES" \
USE_SIGNAL_HANDLER=1 \
AR=/usr/local/bin/ar \
-j$(nproc)
}

Expand Down

0 comments on commit eb186d0

Please sign in to comment.