ffmpeg-headless: Disable LLVM CUDA on powerpc64-linux

Enabling this uses the unwrapped Clang compiler, which is unable to handle the triplets used on powerpc64-linux.

> clang: error: version 'abielfv1' in target triple 'powerpc64-unknown-linux-gnuabielfv1' is invalid
This commit is contained in:
OPNA2608
2026-07-27 11:28:51 +02:00
parent 466a092c0e
commit 4b366219c1
@@ -59,7 +59,12 @@
withChromaprint ? withFullDeps, # Audio fingerprinting
withCodec2 ? withFullDeps, # codec2 en/decoding
withCuda ? withFullDeps && withNvcodec,
withCudaLLVM ? withHeadlessDeps && !stdenv.hostPlatform.isDarwin, # Cuda isnt supported on Darwin
withCudaLLVM ?
withHeadlessDeps
# Cuda isnt supported on Darwin
&& !stdenv.hostPlatform.isDarwin
# Clang for our ppc64 targets needs cc-wrapper to work
&& !(stdenv.buildPlatform.isPower64 && stdenv.buildPlatform.isBigEndian),
withCudaNVCC ? withFullDeps && withUnfree && config.cudaSupport,
withCuvid ? withHeadlessDeps && withNvcodec,
withDav1d ? withHeadlessDeps, # AV1 decoder (focused on speed and correctness)