diff --git a/tools/dependencies/openssl.sh b/tools/dependencies/openssl.sh index 8e2372c9075a..78673a3ac84b 100755 --- a/tools/dependencies/openssl.sh +++ b/tools/dependencies/openssl.sh @@ -19,7 +19,7 @@ # This script builds the static library of openssl that can be used as dependency of mxnet. set -ex -OPENSSL_VERSION=1.0.2l +OPENSSL_VERSION=1.1.1b if [[ ! -f $DEPS_PATH/lib/libssl.a ]] || [[ ! -f $DEPS_PATH/lib/libcrypto.a ]]; then # download and build openssl >&2 echo "Building openssl..." diff --git a/tools/staticbuild/build_lib.sh b/tools/staticbuild/build_lib.sh index 472bf57b101e..927c15d1dabc 100755 --- a/tools/staticbuild/build_lib.sh +++ b/tools/staticbuild/build_lib.sh @@ -44,6 +44,9 @@ if [[ $VARIANT == *mkl ]]; then MKLDNN_LIBFILE='libmkldnn.0.dylib' fi $MAKE DEPS_PATH=$DEPS_PATH mkldnn + if [ ! -d lib ]; then + mkdir lib + fi cp 3rdparty/mkldnn/build/install/lib/$IOMP_LIBFILE lib cp 3rdparty/mkldnn/build/install/lib/$MKLML_LIBFILE lib cp 3rdparty/mkldnn/build/install/lib/$MKLDNN_LIBFILE lib