Browse Source

!671 去除All-In-One兼容性目录

Merge pull request !671 from 傅骏/br_remove_all_in_one_softlinks
pull/673/head
傅骏 i-robot 2 years ago
parent
commit
8f6315feb2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      parser/stub/README.md

+ 4
- 4
parser/stub/README.md View File

@@ -16,7 +16,7 @@ Makefile:


''' '''


ATC_INCLUDE_DIR := $(ASCEND_PATH)/atc/include
ATC_INCLUDE_DIR := $(ASCEND_PATH)/compiler/include
OPP_INCLUDE_DIR := $(ASCEND_PATH)/opp/op_proto/built-in/inc OPP_INCLUDE_DIR := $(ASCEND_PATH)/opp/op_proto/built-in/inc
LOCAL_MODULE_NAME := ir_build LOCAL_MODULE_NAME := ir_build
CC := g++ CC := g++
@@ -26,7 +26,7 @@ INCLUDES := -I $(ASCEND_OPP_PATH)/op_proto/built-in/inc \
-I $(ATC_INCLUDE_DIR)/graph \ -I $(ATC_INCLUDE_DIR)/graph \
-I $(ATC_INCLUDE_DIR)/ge \ -I $(ATC_INCLUDE_DIR)/ge \


LIBS := -L ${ASCEND_PATH}/atc/lib64/stub \
LIBS := -L ${ASCEND_PATH}/compiler/lib64/stub \
-lgraph \ -lgraph \
-lge_compiler -lge_compiler
ir_build: ir_build:
@@ -38,7 +38,7 @@ clean:
''' '''
make make


## Run the application after set the LD_LIBRARY_PATH to include the real path of the library which locates in the directory of atc/lib64
## Run the application after set the LD_LIBRARY_PATH to include the real path of the library which locates in the directory of compiler/lib64


export LD_LIBRARY_PATH= $(ASCEND_PATH)/atc/lib64
export LD_LIBRARY_PATH= $(ASCEND_PATH)/compiler/lib64
- ./ ir_build - ./ ir_build

Loading…
Cancel
Save