Skip to content

[Build] Can NPU enablement be optional? #22985

@mc-nv

Description

@mc-nv

Describe the issue

I see with this change compilation flag is persistent.
https://github.com/microsoft/onnxruntime/pull/22027/files

Is it possible to make it optional?

Urgency

No response

Target platform

Linux

Build script

N/A

Error / output

Compilation is not failing, but the models generation and environment configuration requires specific/undocumented changes.

Visual Studio Version

No response

GCC / Compiler Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templatestaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions