I changed the file tensorflow/core/platform/default/mutex.h
by adding the relative path as prefix of nsync_cv.h
and nsync_mu.h
to fix the issue, as follows:
#include "external/nsync/public/nsync_cv.h"
#include "external/nsync/public/nsync_mu.h"
也可以参考链接:https://github.com/tensorflow/tensorflow/issues/12482