Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix download mklml error #3761

Merged
merged 2 commits into from
Aug 31, 2017
Merged

fix download mklml error #3761

merged 2 commits into from
Aug 31, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Aug 30, 2017

fix #3758
related d777ac5

@@ -54,7 +54,8 @@ ExternalProject_Add(
${EXTERNAL_PROJECT_LOG_ARGS}
PREFIX ${MKLML_SOURCE_DIR}
DOWNLOAD_DIR ${MKLML_DOWNLOAD_DIR}
DOWNLOAD_COMMAND wget --no-check-certificate -qO- ${MKLML_URL} | tar xz -C ${MKLML_DOWNLOAD_DIR}
DOWNLOAD_COMMAND wget --no-check-certificate ${MKLML_URL} -c -O ${MKLML_VER}.tgz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我觉得,-q还是有必要加上的,因为整体上其他Third Party一般都是后台下载,其实也不需要用户知晓。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@tensor-tang
Copy link
Contributor

tensor-tang commented Aug 31, 2017

LGTM

另外备注下:
原先code的效果是解压后,在src目录下不会存在tgz包。
目前的code是解压后会保留tgz包。

@luotao1 luotao1 merged commit 01f10e6 into PaddlePaddle:develop Aug 31, 2017
@luotao1 luotao1 deleted the mklml_wget branch August 31, 2017 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fail download mklml
2 participants