<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2025 Huawei Technologies Co., Ltd.
This program is free software, you can redistribute it and/or modify it under the terms and contiditions of
CANN Open Software License Agreement Version 2.0 (the "License").
Please refer to the License for details. You may not use this file except in compliance with the License.
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
See LICENSE in the root of the software repository for the full text of the License.
-->


<config name="graph_autofusion" copy_type="delivery" src_path="" dst_path="graph_autofusion" install_type="all" install_mod="550" install_own="$username:$usergroup">
    <package_info>
        <product_name>cann</product_name>
        <func_name>graph-autofusion</func_name>
        <share_info_name>graph_autofusion</share_info_name>
        <suffix>run</suffix>
        <expand_asterisk>true</expand_asterisk>
        <install_script>share/info/graph_autofusion/script/install.sh</install_script>
        <help>share/info/graph_autofusion/script/help.info</help>
        <version>package/graph_autofusion/version.xml</version>
        <cleanup>share/info/graph_autofusion/script/cleanup.sh</cleanup>
        <parallel>true</parallel>
        <copy_all>true</copy_all>
    </package_info>
    <generate_info value="graph_autofusion_version.h" dst_path="$(TARGET_ENV)/include/version" install_path="$(TARGET_ENV)/include/version" install_mod="440" install_type="devel" generator="version_header">
        <GRAPH_AUTOFUSION_VERSION>$(ASCEND_VER)</GRAPH_AUTOFUSION_VERSION>
        <GRAPH_AUTOFUSION_TIMESTAMP>$(TIMESTAMP_NO)</GRAPH_AUTOFUSION_TIMESTAMP>
    </generate_info>
    <generate_info value="scene.info" dst_path="share/info/graph_autofusion" install_path="share/info/graph_autofusion" install_mod="440">
        <os>$(OS_NAME)</os>
        <os_version>$(OS_VER)</os_version>
        <arch>$(ARCH)</arch>
    </generate_info>
    <version_info install="true" install_path="graph_autofusion" install_own="$username:$usergroup" install_mod="440"/>
    <file_info value="graph_autofusion_script" copy_type="source" src_path="" dst_path="share/info/graph_autofusion" install_path="share/info/graph_autofusion">
        <file value="script" entity="true"/>
        <file value="filelist.csv" copy_type="delivery" dst_path="share/info/graph_autofusion/script" install_path="share/info/graph_autofusion/script"/>
        <file value="version.info"/>
    </file_info>
    <block_info dependtree="false" dst_path="" block_conf_path="ascend">
        <block name="EngineeringCommon"/>
        <block name="EngineeringFiles"/>
    </block_info>
    <dir_info value="graph_autofusion" install_path="graph_autofusion" install_mod="555" install_type="all">
        <path value="share" install_mod="755"/>
        <path value="share/info" install_mod="755"/>
        <path value="share/info/graph_autofusion" install_mod="755"/>
        <path value="share/info/graph_autofusion/script" install_mod="555"/>
    </dir_info>
    <block_info dependtree="false" dst_path="" block_conf_path="ascend" optional="true">
        <block name="AscendSk"/>
    </block_info>
    <block_info dependtree="false" dst_path="" block_conf_path="ascend" optional="true">
        <block name="AutofuseBackend"/>
    </block_info>
</config>