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

refine fluid deploy on teamcity #10904

Merged
merged 1 commit into from
May 24, 2018
Merged

refine fluid deploy on teamcity #10904

merged 1 commit into from
May 24, 2018

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented May 24, 2018

解决两个问题:

  • TeamCity上的version.txt打不出git commit id。原因是本地环境下build目录在source目录里,而TeamCity上的build目录不在source目录里,所以使用git命令打不出commit id。因此需要加上WORKING_DIRECTORY ${PADDLE_SOURCE_DIR}
  • TeamCity目前下载的包有多余路径为paddle->build->fluid_install_dir:
paddle/
└── build
    └── fluid_install_dir
        ├── CMakeCache.txt
        ├── paddle
        ├── third_party
        └── version.txt

更改后为:

fluid/
├── CMakeCache.txt
├── paddle
├── third_party
└── version.txt

@luotao1 luotao1 requested a review from Xreki May 24, 2018 05:10
Copy link
Contributor

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 174d884 into PaddlePaddle:develop May 24, 2018
@luotao1 luotao1 deleted the ci branch May 24, 2018 05:12
@luotao1 luotao1 added the 预测 原名Inference,包含Capi预测问题等 label May 24, 2018
@luotao1 luotao1 added this to To do in Inference on Engine via automation May 24, 2018
@luotao1 luotao1 moved this from To do to Done in Inference on Engine May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants