From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 5EAB64F9A1 for ; Mon, 23 Jun 2025 22:56:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A8A6B68D5A0; Tue, 24 Jun 2025 01:56:20 +0300 (EEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id BD9BE6879D5 for ; Tue, 24 Jun 2025 01:56:14 +0300 (EEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-311e46d38ddso4112964a91.0 for ; Mon, 23 Jun 2025 15:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750719373; x=1751324173; darn=ffmpeg.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=aeLpYmGb4F7J3MSe5jJ5PZeQVKm0Wcmb0zLbjIjozyY=; b=H8qIxJ2sN7aFQeqXwONTVsoOUQ2YemPYip3q/qpPk91SvtplkILruyFGbMa8XOprwT 9Rlh6Wyi9A8QIEVc9e+TrgzyY7dKXnlVpak/UDJCW4R2Kcuk9y1X5PnLts1Ii3ORgt9Z /ypVQe1Qwf3tT3iyv5/fl90p96c9uSrUbX6RsNfpPEj5u30ObjSLAwdVlA0gm5zneG4/ a5fDk9EoPxdXIpqA1h6BQrSlNbbcm2neXfnSpVb1whqNlkfKekFrHBQoXI0OIf23LMJs 35H2GeQ6EHzA2j0dsNNji1WvyPPgG3mHGR1gbqFiN331TjMDcxHUeRCKn/yTkBrTN21e yCuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750719373; x=1751324173; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aeLpYmGb4F7J3MSe5jJ5PZeQVKm0Wcmb0zLbjIjozyY=; b=xOlBWKsoWYTpgB3kPsem9aLRGKUXcwuRXWZkeDTEOhBxYMU4qhLbXZU76LkJ+XS0DZ i2MgHDju/khhHhqObPb1GInLu7el1CmZnTpPuu4Js/F5IvqjWeRWkRichjvdvZveWwCa NE+rxMcT2HwaBEnIm3djyIdfYrUP09F5Fc0nHPpkRgwcEPUXzpt/UtYXCy1+jvgJAov8 lLuW/3u6w6zMFZAAG4mW7jv4tI8tysnYVnpYU255+AOiG5WXVceKWvMnT1rKzzsdk5iX i7kM1mB/Z/KTfaoOFo2fo1ZD63iigcIp9OvUYvYyfbuSjTQFlPgRKTrFYGHtA8TyT6SV oYXQ== X-Gm-Message-State: AOJu0YxGHZvu5Hf5EBR7LKGsMVJfUZIJuuzouqeE6S0kQz66IqE2tvgr 1/uKhtk0xw66/1NAQV1wB0xmR5QfTi4MyZmzTXRnMQS61DuQxQM1oR5kQhbisw== X-Gm-Gg: ASbGncvrq2dh80JTMDG+KneAwYlD/eAmA/OLBWjWrSA88xAYwZPvNYtOsbbXu3l0Uky X863iH1TNPzgm/nOuJwuOEve8w+4ji6OdC8Q/rStCaFk5hPEqnQ4GhG2PHqPVeRr/rW8KXPNkJw iKxhLJly4qliyyJnpGXNVYSCRSta6boaZ6iOxhlKWS96VrLzcu+rCpp0Ls31fdWVfbkNZnBmU5b pznafJyATyA9C2LFr+QLij3HE1bszojSZfr0bix15gc8bzwj5Syhe/Id7ZTnsCNPw55mclZyQTs gbVMjTZZBB2gBlo5FV7ppm7rR4CVPthmRU1QJiejy8rtiqcoD3TJ33hExzIsIeCR52BfCQ3LESP p2r3gdEXo8ySiKR8= X-Google-Smtp-Source: AGHT+IGVhMOxbh3yL/oDO/ucOvhmQPVueP82zW4DFWGO6ENuM1o18TKOFhxf+56tR7ngTcI9j+Nuhw== X-Received: by 2002:a17:90b:1c12:b0:315:af43:12ee with SMTP id 98e67ed59e1d1-315af4331ecmr17618371a91.16.1750719372738; Mon, 23 Jun 2025 15:56:12 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3159df81693sm9022830a91.14.2025.06.23.15.56.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jun 2025 15:56:12 -0700 (PDT) Message-Id: From: ffmpegagent Date: Mon, 23 Jun 2025 22:56:03 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v8 0/3] ffbuild/commonmak: Fix rebuild check with implicit rule chains 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: softworkz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: V2 == * Fix MSVC build (use the universal command pattern) V3 == * Skip dependency generation by clearing CC_DEPS instead (as suggested by Ramiro - thanks!) V4 == * Always keep .ptx files (as suggested by Timo - thanks) Tested all scenarios: * .ptx.c and .ptx.gz still get deleted (as intermediates) * repeated make shows "up-to-date" * removing a .ptx file does not cause a rebuild (it's still an intermediate, but an "intermediate to keep") * but changing a .ptx does (in case of dev/debugging) * changed .cu files always rebuild of course V5 == * First patch remains unchanged * Added second patch to clean up and consolidate the rules around compression V6 == * Rebased * Confirmed that it also resolves MSVC-CLang compilation (as reported by Kasper Michalow - thanks!) V7 == * As the log line about intermediate file deletion ("RM ....") didn't find much love, this version uses the workaround via the .SECONDARY special make target to prevent intermediate file deletion V8 == * Resubmit due to Patchwork outage . softworkz (3): fftools/resources: Fix double-build by disabling .d file generation ffbuild/commonmak: Consolidate pattern rules for compression fftools/resources: Update .gitignore ffbuild/common.mak | 49 ++++++++++++++---------------------- fftools/Makefile | 1 + fftools/resources/.gitignore | 5 ++-- fftools/resources/Makefile | 12 ++++++--- 4 files changed, 31 insertions(+), 36 deletions(-) base-commit: e6298e0759430f64e9bd9298775de92597be8a50 Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-80%2Fsoftworkz%2Fsubmit_commonmak-v8 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-80/softworkz/submit_commonmak-v8 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/80 Range-diff vs v7: 1: 391217966f = 1: 391217966f fftools/resources: Fix double-build by disabling .d file generation 2: 17b0af91ec = 2: 17b0af91ec ffbuild/commonmak: Consolidate pattern rules for compression 3: dde90b288f = 3: cfeeade9d4 fftools/resources: Update .gitignore -- ffmpeg-codebot _______________________________________________ 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".