提交 2d985a91 编写于 作者: Z zhaojiaying01

change clang to gcc in android cross-compilation

上级 cbf28148
...@@ -33,7 +33,7 @@ class ResizeOp ...@@ -33,7 +33,7 @@ class ResizeOp
DeviceType, ResizeParam, operators::ResizeKernel<DeviceType, T>> { DeviceType, ResizeParam, operators::ResizeKernel<DeviceType, T>> {
public: public:
ResizeOp(const std::string &type, const VariableNameMap &inputs, ResizeOp(const std::string &type, const VariableNameMap &inputs,
const VariableNameMap &outputs, const framework::AttributeMap attrs, const VariableNameMap &outputs, const framework::AttributeMap &attrs,
std::shared_ptr<framework::Scope> scope) std::shared_ptr<framework::Scope> scope)
: framework::OperatorWithKernel<DeviceType, ResizeParam, : framework::OperatorWithKernel<DeviceType, ResizeParam,
operators::ResizeKernel<DeviceType, T>>( operators::ResizeKernel<DeviceType, T>>(
......
...@@ -159,7 +159,7 @@ endif() ...@@ -159,7 +159,7 @@ endif()
# Default values for configurable variables. # Default values for configurable variables.
if(NOT ANDROID_TOOLCHAIN) if(NOT ANDROID_TOOLCHAIN)
set(ANDROID_TOOLCHAIN clang) set(ANDROID_TOOLCHAIN gcc)
endif() endif()
if(NOT ANDROID_ABI) if(NOT ANDROID_ABI)
set(ANDROID_ABI armeabi-v7a) set(ANDROID_ABI armeabi-v7a)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册