From patchwork Fri Sep 29 13:52:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Matthews X-Patchwork-Id: 44019 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:394d:b0:15d:8365:d4b8 with SMTP id r13csp566012pzg; Fri, 29 Sep 2023 06:55:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjIqW/0ZI1pZCLiYXJp3fC5tcCj2CjvF8uOyRyR79By07pAwOhSUvHtEyRXtgGdUYe1ePk X-Received: by 2002:a05:6402:14cb:b0:533:c55f:582a with SMTP id f11-20020a05640214cb00b00533c55f582amr3689992edx.27.1695995701593; Fri, 29 Sep 2023 06:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695995701; cv=none; d=google.com; s=arc-20160816; b=L5tQbraZEuzofPt2zL9w2Ps4DACszJ36F32urDF1D77Yc7pljJoyhXmKQDHIx4UdOY RsmuvK5puNVtPhsCemJL+3Wua7Y89CRJy1e4xLZRTlLKyYRMpjYA/LRyxoHSL6tfBWrq SpVh3xE/3q902Oy1A0XykYo9KeOpjvv3QibjogafZLIOXO23mM9bM2nAiaxSQiYucdi0 shdFVTlDRq6eGD1PDfM/P9Vhg3UbuD0O4NcUj5BY0l9VnKYkXEngFYk8JJxJZsGtkiZg FuHBKcQF3wIlRgUhjJfPiq1QAdY+p4IlSQ0wIPrbct7MvkWZVSPPKF0B0toyZVON5UEc XcRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=5o+RZl/IRFrhV5X8DcofNrAicbdyCK6cAa4tGL3lX5Y=; fh=57n7dni/uTQepP1ITyrU+KebMFlKum1fMHsI5jg0NsE=; b=ClEqH/5ntKyVZbZaZ+/ue+sVJe4s8UUgEru8PLz5cZ82pgSG7rSJgoWwGYi1NYi179 mkdsO3ke+j9Xpj3IE0Tk7JI0teDKU9htqNuRD+WZItRq6D2IRA/o74BdA5PPmu3Bh5Mp qeFOXIMxox5ri3LEKhOlufm/4c4ctV9QoUChjKq/DYNCKeiQedQ1yaGwBAqEJHhlGRBo XsvCyieZskLQzEOFnVtmJO5I1rJ8Ie3G2s58dVvAFrLTVxjmLX7ZktWoMBVEt6wX9n/9 a0phnAonID6uVXCDGbjKn7jp7a9lgu//N8kFWxzG2FzRm/f/8TEdb9NLq+fXx0sHQale RYzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r9-20020aa7d149000000b00534517a2c65si6682068edo.524.2023.09.29.06.54.59; Fri, 29 Sep 2023 06:55:01 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CA72668CC10; Fri, 29 Sep 2023 16:54:57 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AD6E168CA80 for ; Fri, 29 Sep 2023 16:54:50 +0300 (EEST) Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-65b10205207so2873746d6.0 for ; Fri, 29 Sep 2023 06:54:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695995688; x=1696600488; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8yClTKCT6bfxrjP/P03T/pH4iVyjxEcsjbxiCFHph+g=; b=YBJe8uL45kUmSb4RVC5GkwuBkKhvAGvlvh7YgwYFEINVthJLW58JeuxftZHJXd2eZR fi9R26dj8/OsRtjIHmnuzh/gJQ2CYsF2vWkzREAf2AgUlJ+qXJZVeKzRJrB/1xjvMcU5 HiNbuvEb9foE22oGknxPvtfzMRjj8ke+LZN0/TBU7phxsRpkEiwpqGS18y9+Wv5dte34 4WSe/hf3knrel+4CScrvHnlPFYF39/7GV8Ish7EeyMb0MyCh4wEEcqAECwinkB0sxxXv 6hbVcsGh+RezBCBLZWXM12qLgB2HswW9lyVHYVPStppVk/QmKr44DO0Kqb9q5l6fRswV kuZQ== X-Gm-Message-State: AOJu0Yzwzgv28Je0gde7iuva9fkXU55gAjZHGO0y48kesaUoLwC6XjkJ uWRGRAHbr98Ic/L3Lb2vsNeBOl37tTKt/g== X-Received: by 2002:a05:6214:21ad:b0:65b:c89:f44c with SMTP id t13-20020a05621421ad00b0065b0c89f44cmr4257534qvc.7.1695995688451; Fri, 29 Sep 2023 06:54:48 -0700 (PDT) Received: from bellini.. ([107.159.3.182]) by smtp.gmail.com with ESMTPSA id qj19-20020a056214321300b0063d038df3f3sm5844036qvb.52.2023.09.29.06.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:54:48 -0700 (PDT) From: Tristan Matthews To: ffmpeg-devel@ffmpeg.org Date: Fri, 29 Sep 2023 09:52:54 -0400 Message-Id: <20230929135254.2607031-1-tmatth@videolan.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: disable vulkan if min version insufficient 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 Cc: Tristan Matthews Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: srEHFMZ4PawJ Fixes: https://trac.ffmpeg.org/ticket/10596 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 20db1801ed..50ba6f772f 100755 --- a/configure +++ b/configure @@ -7154,7 +7154,8 @@ enabled crystalhd && check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if. if enabled vulkan; then check_pkg_config_header_only vulkan "vulkan >= 1.3.255" "vulkan/vulkan.h" "defined VK_VERSION_1_3" || - check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)" + check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)" || + warn "Disabling vulkan" && disable vulkan fi if enabled x86; then