diff --git a/build/conf/hook.yaml b/build/conf/hook.yaml index 62ac88a..209f49a 100644 --- a/build/conf/hook.yaml +++ b/build/conf/hook.yaml @@ -21,12 +21,7 @@ compile: parameters: [ [ "buildmode","pie" ], [ "ldflags",'-linkmode=external -buildid=IdNetCheck -extldflags "-Wl,-z,now" -w -s '], + [ "o", "{{ systemEnv.workspace }}/ascend-docker-plugin/hook/build/ascend-docker-hook"], [ "trimpath","{{ systemEnv.workspace }}/ascend-docker-plugin/hook/main.go"], ] output: - files: - include: - - copy: - src: [ "{{ systemEnv.workspace }}/ascend-docker-plugin/hook/main" ] - des: "{{ systemEnv.workspace }}/ascend-docker-plugin/hook/build/ascend-docker-hook" - rename: true \ No newline at end of file diff --git a/build/conf/installhelper.yaml b/build/conf/installhelper.yaml index 4d140bf..205e041 100644 --- a/build/conf/installhelper.yaml +++ b/build/conf/installhelper.yaml @@ -21,12 +21,7 @@ compile: parameters: [ [ "buildmode", "pie" ], [ "ldflags", '-linkmode=external -buildid=IdNetCheck -extldflags "-Wl,-z,now" -w -s'], + [ "o", "{{ systemEnv.workspace }}/ascend-docker-plugin/build/helper/build/ascend-docker-plugin-install-helper"], [ "trimpath", "{{ systemEnv.workspace }}/ascend-docker-plugin/install/deb/src/main.go"], ] output: - files: - include: - - copy: - src: [ "{{ systemEnv.workspace }}/ascend-docker-plugin/install/deb/src/main" ] - des: "{{ systemEnv.workspace }}/ascend-docker-plugin/build/helper/build/ascend-docker-plugin-install-helper" - rename: true \ No newline at end of file diff --git a/build/conf/runtime.yaml b/build/conf/runtime.yaml index 6a2753f..d255704 100644 --- a/build/conf/runtime.yaml +++ b/build/conf/runtime.yaml @@ -21,12 +21,7 @@ compile: parameters: [ [ "buildmode", "pie" ], [ "ldflags", '-linkmode=external -buildid=IdNetCheck -extldflags "-Wl,-z,now" -w -s'], + [ "o", "{{ systemEnv.workspace }}/ascend-docker-plugin/runtime/build/ascend-docker-runtime"], [ "trimpath", "{{ systemEnv.workspace }}/ascend-docker-plugin/runtime/main.go" ], ] output: - files: - include: - - copy: - src: [ "{{ systemEnv.workspace }}/ascend-docker-plugin/runtime/main" ] - des: "{{ systemEnv.workspace }}/ascend-docker-plugin/runtime/build/ascend-docker-runtime" - rename: true \ No newline at end of file