Skip to content

[Issue]: scikit-build pulling in unnecessary dependencies #8

@coleramos425

Description

@coleramos425

Problem Description

When trying to install individual tools using provided instructions, e.g.

pip install "git+https://github.com/AMDResearch/nexus.git#egg=intellikit[accordo]"

I find that the IntelliKit package (which uses scikit-build) invokes CMake and the CMakeLists.txt builds the Nexus C++ library unconditionally. This isn't a breaking issue, but it does mean we pollute dependencies pulling in libdwarf, LLVM, etc. where they're not actually needed.

I think this is a packaging architecture issue in the IntelliKit repo. The [accordo], [nexus], and [metrix] extras are defined for runtime dependency selection, but the C++ build is monolithic. Eventually we should either:

a) Split into separate packages (e.g., intellikit-core, intellikit-nexus) where only nexus has kerneldb C++ components

b) Pre-build and publish wheels to PyPI so users don't need to build from source

Operating System

22.04.5 LTS (Jammy Jellyfish)

CPU

AMD EPYC 9554 64-Core Processor

GPU

AMD Instinct MI300X

ROCm Version

ROCm 6.4.1

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

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