From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E2A1A47C4C for ; Sat, 14 Oct 2023 16:38:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0448968C3D6; Sat, 14 Oct 2023 19:38:40 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A45C068C3D6 for ; Sat, 14 Oct 2023 19:38:32 +0300 (EEST) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 571AF10600DF for ; Sat, 14 Oct 2023 16:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1697301511; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=dTs+6BDRxhGw85SOjatuRMS/8uhdtA8+G+EJSJvbPTQ=; b=aHISP6Ps9I8UW3z4ma5dNINu1/oeBagdR+HmUYECKmHC0rDg93MP9RIB7m+E+ooI pyBBISCcF0vLtLdFl4eZgBc2S/DCxmc19NgCPl2uB+sLyBHqtMX/EtX7v3OF+eLwOU0 NE1jEALjkRgFeL2syQBA2BuvfCtVrmqa8q0/VI8WXlt/E8330skJBNzcjgVDa1YkUao v15czfQjV8BXgWh37o5IALVjtOMw/yYGFnxuWWj6qtObTIzaMkqshI5q0jOlqEwC7Uf I+W0E1VjbAss7eY1DuG+cmkZv8D8F2xgX+yqi67ZXcME5pQZ3WQw99Lxk4wzqjZeQYr lbFME2RDUg== Date: Sat, 14 Oct 2023 18:38:31 +0200 (CEST) From: Lynne To: Ffmpeg Devel Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_50045_23187040.1697301511875" Subject: [FFmpeg-devel] [PATCH] configure: disable libglslang/libshaderc if the vulkan is disabled X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: ------=_Part_50045_23187040.1697301511875 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fixes build failures when the Vulkan headers are too old and libglslang or libshaderc are enabled. Patch attached. ------=_Part_50045_23187040.1697301511875 Content-Type: text/x-diff; charset=us-ascii; name=0001-configure-disable-libglslang-libshaderc-if-the-vulka.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-configure-disable-libglslang-libshaderc-if-the-vulka.patch >From b47d5d3759f9c3de15846ae0fa184f1fa93f2c9a Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 14 Oct 2023 18:36:46 +0200 Subject: [PATCH] configure: disable libglslang/libshaderc if the vulkan is disabled Fixes build failures when the Vulkan headers are too old and libglslang or libshaderc are enabled. --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index fc7263bf59..582525db30 100755 --- a/configure +++ b/configure @@ -7155,6 +7155,10 @@ if enabled vulkan; then check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)" fi +if disabled vulkan; then + disable libglslang libshaderc spirv_compiler +fi + if enabled x86; then case $target_os in mingw32*|mingw64*|win32|win64|linux|cygwin*) -- 2.42.0 ------=_Part_50045_23187040.1697301511875 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ------=_Part_50045_23187040.1697301511875--