Package: libhiprand-dev
Version: 5.3.3-3
Severity: normal
X-Debbugs-Cc: c...@slerp.xyz

Dear Maintainer,

The libhiprand-dev package is missing a dependency on libamdhip64-dev
and librocrand-dev. This can be illustrated with this sample:

    apt-get -y update
    apt-get -y install build-essential cmake libhiprand-dev
    cat << 'EOF' > main.c
    #include <hiprand/hiprand.h>
    int main() {
      return 0;
    }
    EOF

If you attempt to build, it will fail because HIP is missing:

    # gcc -c main.c
    In file included from main.c:1:
    /usr/include/hiprand/hiprand.h:24:10: fatal error: hip/hip_runtime.h: No 
such file or directory
       24 | #include <hip/hip_runtime.h>
          |          ^~~~~~~~~~~~~~~~~~~
    compilation terminated.

However, if you install HIP it will fail because rocrand is missing:

    # gcc -D__HIP_PLATFORM_AMD__ -c main.c
    In file included from /usr/include/hiprand/hiprand.h:66,
                     from main.c:1:
    /usr/include/hiprand/hiprand_hcc.h:24:10: fatal error: rocrand/rocrand.h: 
No such file or directory
       24 | #include <rocrand/rocrand.h>
          |          ^~~~~~~~~~~~~~~~~~~
    compilation terminated.

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-8-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libhiprand-dev depends on:
ii  libhiprand1  5.3.3-3

libhiprand-dev recommends no packages.

libhiprand-dev suggests no packages.

-- no debconf information

Reply via email to