Skip to content

Conversation

@luotao1
Copy link
Contributor

@luotao1 luotao1 commented Dec 7, 2017

fix #6384
The print result is -- CXX compiler version:4.8.3

@luotao1 luotao1 requested a review from Xreki December 7, 2017 10:17
CMakeLists.txt Outdated
include(system)

project(paddle CXX C Go)
MESSAGE(STATUS "CXX compiler version:" ${CMAKE_C_COMPILER_VERSION})
Copy link
Contributor

@Xreki Xreki Dec 7, 2017

Choose a reason for hiding this comment

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

CMAKE_C_COMPILER_VERSION -> CMAKE_CXX_COMPILER_VERSION
或者两个都打印下,另外compiler路径也打印下?
另外,不太习惯有的关键字大写,有的小写,:flushed:

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. The print result is

-- CXX compiler: /home/luotao02/.jumbo/opt/gcc48/bin/c++, version: 4.8.3
-- C compiler: /home/luotao02/.jumbo/opt/gcc48/bin/cc, version: 4.8.3

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 7db2379 into PaddlePaddle:develop Dec 8, 2017
@luotao1 luotao1 deleted the gcc_version branch December 8, 2017 02:24
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.

Message GCC version when building

2 participants