Commit 8117cf5f authored by liucong's avatar liucong
Browse files

修改bert工程示例

parent ea44851a
......@@ -17,8 +17,7 @@ set(INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Src/
include_directories(${INCLUDE_PATH})
# 添加依赖库路径
set(LIBRARY_PATH ${CMAKE_CURRENT_SOURCE_DIR}/depend/lib64/
$ENV{DTKROOT}/lib/)
set(LIBRARY_PATH $ENV{DTKROOT}/lib/)
link_directories(${LIBRARY_PATH})
# 添加依赖库
......
......@@ -95,7 +95,7 @@ rbuild build -d depend
将依赖库依赖加入环境变量LD_LIBRARY_PATH,在~/.bashrc中添加如下语句:
```
export LD_LIBRARY_PATH=<path_to_bert_migraphx>/depend/lib64/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=<path_to_bert_migraphx>/depend/lib/:$LD_LIBRARY_PATH
```
然后执行:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment