Skip to content

Error happened when building DirectMLX backend with upgraded DirectML and GPGMM dependencies  #373

@BruceDai

Description

@BruceDai

RR #368 caught an error

ERROR at //src/webnn/native/BUILD.gn:289:17: Unable to load "D:/a/webnn-native/webnn-native/update/third_party/gpgmm/src/BUILD.gn".
      deps += [ "${webnn_gpgmm_dir}/src:gpgmm" ]

when executing gn gen out\Release --args="webnn_enable_dmlx=true webnn_enable_wire=true is_debug=false gpgmm_enable_device_checks=true" command.

And PR #331 caught build error

[141/395] CXX obj/src/webnn/native/sources/util.obj
FAILED: obj/src/webnn/native/sources/util.obj 

[142/395] CXX obj/src/webnn/native/sources/ContextDMLX.obj
FAILED: obj/src/webnn/native/sources/ContextDMLX.obj 

[143/395] CXX obj/src/webnn/native/sources/GraphDMLX.obj
FAILED: obj/src/webnn/native/sources/GraphDMLX.obj 

Please see detail detail build error on attachment build_error_DML_win.txt .

Before fixing issue, I plan to disable "Auto Roll DEPS / DML" CI to keep PR clean.
WDYT @fujunwei, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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