Skip to content

Commit

Permalink
#3293 don't build nvenc on Sid and Hirsute
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 7, 2021
1 parent ee8c800 commit c556df0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packaging/debian/xpra/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
ifneq (,$(filter i386,$(DEB_HOST_ARCH)))
EXTRA_BUILDOPTS := --without-csc_swscale --without-enc_ffmpeg --without-dec_avcodec2
endif
# Disable CUDA on Ubuntu Hirsute and Debian Sid
# (nvcc fails to compile with the new glibc headers: #3293)
dvariant := $(shell lsb_release -is)
ifeq ($(dvariant),hirsute)
EXTRA_BUILDOPTS := --without-nvenc
endif
ifeq ($(dvariant),sid)
EXTRA_BUILDOPTS := --without-nvenc
endif


NPROC := $(shell nproc 2> /dev/null || echo 1)

Expand Down

0 comments on commit c556df0

Please sign in to comment.