Skip to content

Can't build AKG under Ubuntu 20.04 for cpu #12

Description

@ColdCodeCool

Environment

Hardware Environment(Ascend/GPU/CPU):

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/device ascend

/device gpu

/device cpu

I am building CPU version

Software Environment:

  • AKG version (source or binary): source
  • Python version (e.g., Python 3.7.5):python 3.8.10
  • OS platform and distribution (e.g., Linux Ubuntu 16.04): 20.04
  • GCC/Compiler version (if compiled from source): GCC 9.4.0

Describe the current behavior

Describe the expected behavior

Steps to reproduce the issue

  1. git clone https://gitee.com/mindspore/akg.git
    cd akg
    bash build.sh -e cpu -j8

Related log / screenshot

/akg/third_party/incubator-tvm/include/tvm/packed_func_ext.h:143:10: error: no matching function for call to ‘std::basic_string_view::basic_string_view(air::runtime::ObjectPtrair::runtime::Object)’
143 | return TObjectRef(ObjectPtr(ptr));

Special notes for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions