Bug#955795: eztrace-contrib: switch B-D to nvidia-cuda-toolkit-gcc

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#955795: eztrace-contrib: switch B-D to nvidia-cuda-toolkit-gcc

Andreas Beckmann-4
Source: eztrace-contrib
Version: 1.1-8-5+contrib
Severity: wishlist

Hi,

I just added a nvidia-cuda-tookit-gcc package in experimental (soon to
appear in sid, too) which depends on gcc-8, g++-8, nvidia-cuda-toolkit.

Since eztrace-contrib (unlike starpu-contrib) does not attempt to build
with the cuda-supported gcc but uses the system default gcc, nothing
else should be needed.

The nvidia-cuda-toolkit package depends on gcc-X | clang-Y | ...
which is not suitable for being used as a build dependency, since clang
is not a drop-in replacement for gcc in nvcc. That has shown FTBFS
recently when gcc-8 was not installable and clang-8 got installed
instead.

Andreas

Reply | Threaded
Open this post in threaded view
|

Bug#955795: eztrace-contrib: switch B-D to nvidia-cuda-toolkit-gcc

Samuel Thibault-8
Hello,

Andreas Beckmann, le dim. 05 avril 2020 00:45:42 +0200, a ecrit:
> I just added a nvidia-cuda-tookit-gcc package in experimental (soon to
> appear in sid, too) which depends on gcc-8, g++-8, nvidia-cuda-toolkit.
>
> Since eztrace-contrib (unlike starpu-contrib) does not attempt to build
> with the cuda-supported gcc but uses the system default gcc, nothing
> else should be needed.

Then I don't understand what needs to be done in the eztrace-contrib
package actually? :)

Should I add NVCCFLAGS="-ccbin cuda-gcc" or do I just need to build-dep
nvidia-cuda-toolkit-gcc to have it done already?

Samuel

Reply | Threaded
Open this post in threaded view
|

Bug#955795: eztrace-contrib: switch B-D to nvidia-cuda-toolkit-gcc

Andreas Beckmann-4
On 05/04/2020 00.55, Samuel Thibault wrote:
> Then I don't understand what needs to be done in the eztrace-contrib
> package actually? :)
>
> Should I add NVCCFLAGS="-ccbin cuda-gcc" or do I just need to build-dep
> nvidia-cuda-toolkit-gcc to have it done already?

Just changing the B-D is sufficient to ensure gcc-8/g++-8 is available,
which is the first compiler tried by the gcc/g++ wrapper scripts used by
nvcc.

Andreas

Reply | Threaded
Open this post in threaded view
|

Bug#955795: eztrace-contrib: switch B-D to nvidia-cuda-toolkit-gcc

Samuel Thibault-8
Control: tags -1 + pending

Andreas Beckmann, le dim. 05 avril 2020 01:21:55 +0200, a ecrit:

> On 05/04/2020 00.55, Samuel Thibault wrote:
> > Then I don't understand what needs to be done in the eztrace-contrib
> > package actually? :)
> >
> > Should I add NVCCFLAGS="-ccbin cuda-gcc" or do I just need to build-dep
> > nvidia-cuda-toolkit-gcc to have it done already?
>
> Just changing the B-D is sufficient to ensure gcc-8/g++-8 is available,
> which is the first compiler tried by the gcc/g++ wrapper scripts used by
> nvcc.

Ok!

Samuel