Skip to content

Conversation

gongweibao
Copy link
Contributor

No description provided.

@gongweibao gongweibao requested a review from gangliao July 5, 2017 02:37
COMMAND rm "${${TARGET_NAME}_LIB_PATH}"
# Golang build source code
COMMAND env GOPATH=${GOPATH} ${CMAKE_Go_COMPILER} build ${BUILD_MODE}
COMMAND env LIBRARY_PATH=${CMAKE_BINARY_DIR}/go/pserver/client/c/:$ENV{LIBRARY_PATH} GOPATH=${GOPATH} ${CMAKE_Go_COMPILER} build ${BUILD_MODE}
Copy link
Member

Choose a reason for hiding this comment

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

直接写死在generic.cmake里面?

Copy link
Contributor Author

@gongweibao gongweibao Jul 5, 2017

Choose a reason for hiding this comment

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

我也觉得太丑陋了。这个 和 @gangliao 商量他后边会做优化。我们先让大家的研发不会被block。
比写死在.go里边好了一点点,这里的cmake路径是可以探测的。
里边还有一个更丑陋的。:)

Copy link
Contributor

@gangliao gangliao left a comment

Choose a reason for hiding this comment

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

LGTM

@gangliao gangliao merged commit 1cc8fe7 into PaddlePaddle:develop Jul 5, 2017
@typhoonzero typhoonzero mentioned this pull request Jul 5, 2017
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.

3 participants