Browse Source

Delete -O2.

tags/v1.1.0
unknown 4 years ago
parent
commit
7590210462
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      ge/ge_local_engine/module.mk
  2. +2
    -2
      ge/host_cpu_engine/module.mk

+ 2
- 2
ge/ge_local_engine/module.mk View File

@@ -71,7 +71,7 @@ include ${BUILD_HOST_SHARED_LIBRARY}
#compiler for libge_local_opskernel_builder.so
include $(CLEAR_VARS)
LOCAL_MODULE := libge_local_opskernel_builder
LOCAL_CFLAGS += -Werror -O2
LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private
LOCAL_LDFLAGS :=

@@ -91,7 +91,7 @@ include ${BUILD_HOST_SHARED_LIBRARY}
#compiler for device libge_local_opskernel_builder.so
include $(CLEAR_VARS)
LOCAL_MODULE := libge_local_opskernel_builder
LOCAL_CFLAGS += -Werror -O2
LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private
LOCAL_LDFLAGS :=



+ 2
- 2
ge/host_cpu_engine/module.mk View File

@@ -63,7 +63,7 @@ include ${BUILD_HOST_SHARED_LIBRARY}
#compiler for host ops kernel builder
include $(CLEAR_VARS)
LOCAL_MODULE := libhost_cpu_opskernel_builder
LOCAL_CFLAGS += -Werror -O2
LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private
LOCAL_LDFLAGS :=

@@ -83,7 +83,7 @@ include ${BUILD_HOST_SHARED_LIBRARY}
#compiler for device ops kernel builder
include $(CLEAR_VARS)
LOCAL_MODULE := libhost_cpu_opskernel_builder
LOCAL_CFLAGS += -Werror -O2
LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private
LOCAL_LDFLAGS :=



Loading…
Cancel
Save