Skip to content

[Issue]: Tarball (migraphx-2.17.0+rocm10.0.0.tar.gz) is missing CMake-generated headers and config files #5217

Description

@Ichunjo

Problem Description

The official standalone Linux distribution tarball hosted at https://stable.repo.amd.com/rocm/migraphx/tarball/migraphx-2.17.0%2Brocm10.0.0.tar.gz appears to have packaged the raw source src/include/migraphx/ directory instead of the complete CMake installation output directory (CMAKE_INSTALL_INCLUDEDIR).

As a result, build-generated headers and CMake export modules are completely missing from the archive.

  • include/migraphx/api/export.h
    • Included by include/migraphx/migraphx.h:31 (#include <migraphx/api/export.h>).
    • Causes compilation failure immediately when including <migraphx/migraphx.h>:
      /path/to/include/migraphx/migraphx.h:31:10: fatal error: 'migraphx/api/export.h' file not found
         31 | #include <migraphx/api/export.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~
      
  • include/migraphx/config.h
    • Included by include/migraphx/migraphx.h:32 (#include <migraphx/config.h>).
  • include/migraphx/version.h
    • Missing version definition header for external API consumers.
  • lib/cmake/migraphx/migraphx-config.cmake (and related export targets)
    • The cmake/ folder in the tarball is empty, breaking find_package(migraphx REQUIRED CONFIG) and CMake imported targets (migraphx::c).

Operating System

Alma Linux 8

CPU

Github Runner

ROCm Version

ROCm 10.0.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions