Bug#864639: nvidia-kernel-dkms: please support parallel builds

Andreas Beckmann anbe at debian.org
Thu Jun 15 12:25:42 UTC 2017


On 2017-06-12 08:27, Andras Korn wrote:
> even if dkms would pass make(1) a -j flag. (Also, while I'm sure there once
> was a reason for setting CCACHE_DISABLE=1, does it still apply?)

I don't remember the details ... #582748 ... looks like this bug in
ccache 2.4 was fixed in ccache 3.0 (which was in squeeze).

> I haven't tested it, but maybe the following would work:
> 
> [ -x /usr/bin/nproc ] && JOBS="-j$(nproc)"
> MAKE[0]="unset ARCH; env CCACHE_DISABLE=1 NV_VERBOSE=1 \
>     make $JOBS modules KERNEL_UNAME=${kernelver}"

Let's just honor the -j option from dkms:

MAKE[0]="unset ARCH; env CCACHE_DISABLE=1 NV_VERBOSE=1 \
    make ${parallel_jobs+-j$parallel_jobs} modules
KERNEL_UNAME=${kernelver}"

Andreas



More information about the pkg-nvidia-devel mailing list