[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1035789: libhipsparse-dev: Missing Depends on libamdhip64-dev



Thanks, Cory!

This and the other two are great smoke tests that don't require a GPU,
and I think each existing and new library should have one.

Smoke tests like these would ensure that we have dependencies right from
day 1, and as autopkgtests help us quickly detect breakages like the
hipcc one I caused briefly.

On 2023-05-09 10:35, Cordell Bloor wrote:
> The libhipsparse-dev package is missing a dependency on libamdhip64-dev.
> This can be illustrated with this sample:
> 
>     apt-get -y update
>     apt-get -y install build-essential cmake libhipsparse-dev
>     cat << 'EOF' > main.c
>     #include <hipsparse/hipsparse.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/hipsparse/hipsparse.h:45:10: fatal error: hip/hip_complex.h: No such file or directory
>        45 | #include <hip/hip_complex.h>
>           |          ^~~~~~~~~~~~~~~~~~~
>     compilation terminated.


Reply to: