Print build error on TensorFlowVersionChecker build error (#6477)
author이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Mon, 12 Aug 2019 05:05:02 +0000 (14:05 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 12 Aug 2019 05:05:02 +0000 (14:05 +0900)
commit1d9d917015bfc795c429a6802aca5f6bb311d4a6
treea8a81e5e25f2a27fe60f07d67688f4c6065a0618
parent1a0f84d4ea9b454d78704ff69fb326a82fc6a245
Print build error on TensorFlowVersionChecker build error (#6477)

TensorFlowConfig.cmake checks running result only.

When prebuilt libtensorflow library is built from Ubuntu 18.04,
 and nncc is going to be built on Ubuntu 16.04, it says:

"you need tensorflow version 1.12.0".

This patch will check build error also.
Then, it prints error message to guide the developers
to use libtensorflow built on same version of Ubuntu.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
infra/nncc/cmake/packages/TensorFlowConfig.cmake