Skip to content

[Build] Wheel file not present after build from source with --build_wheel #25947

@CorbinFoucart

Description

@CorbinFoucart

Describe the issue

I'm attempting to build an onnxruntime wheel (v1.22.2) from source on Linux (Ubuntu 24.04). I am using the onnxruntime-supplied build script build.sh, namely per the instructions in the docs:

./build.sh --config RelWithDebInfo --build_shared_lib --build_wheel --parallel --compile_no_warning_as_error --skip_submodule_sync

Urgency

No response

Target platform

Linux

Build script

./build.sh --config RelWithDebInfo --build_shared_lib --build_wheel --parallel --compile_no_warning_as_error --skip_submodule_sync

Error / output

The build runs successfully. From the docs, it seems there should be a directory build/Linux/RelWithDebInfo/dist which contains a *.whl file, however this dist directory is not produced by the build.

Visual Studio Version

No response

GCC / Compiler Version

gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions