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 A03EF404D3 for ; Tue, 21 Dec 2021 01:28:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7278168AEEA; Tue, 21 Dec 2021 03:28:24 +0200 (EET) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EBC3068A5E7 for ; Tue, 21 Dec 2021 03:28:17 +0200 (EET) Received: by mail-qv1-f54.google.com with SMTP id q4so4415469qvh.9 for ; Mon, 20 Dec 2021 17:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=bTvOhr04b78+yjZnnZOjvb6ZgprKdP106EjBJa3sPeE=; b=A7IbgMyAn4Ol9bE7ac5eP+TpPwJkT1TgXGOEQ5DfweNB9+BxDZtAcObEYnz1dod2z8 gKSdCY8+JJmR+4MlmW+ceYYA3ZnErQ2oSFksu/3PGLEEO8rgt6x19cbkSo/863E17V0x cHxqKYD3MqFZrNt5yWVpC4F8VwiZfFlgvBBvTDBwVW2ubwW7ZNNITXkkZJTgsw9+f+bv EbXFw6l+sGbAi3nE1wdhjTutoURD/TDf5D3iDSfc+iYb9a+b2iOkxScpMuqueOet+zW1 aNHxGzRivsakGARE4e2y+zNlz+mTRCt/1jRfPi/Qr+6FcwIt9cXQGQzfx2f+qBcKZP0Z nrqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=bTvOhr04b78+yjZnnZOjvb6ZgprKdP106EjBJa3sPeE=; b=z4BfdfqqNNPo0TNt5oaul5iP13dNf1UQFwcHs6RbthkbNiJwt7w6IOKXMkV6c6ZBDm sEuyIzcB1Uhy200/axnC++0dUubpJVcbpo5HCCB31oMWL4vMEqBrRifVp+3VFRbVu8EY LthZOQLc9Kp2fLTfI98mWsALYW26p5b577TzEoO6QUG1LECmzwJWF10rlPJ9xgu+/BM4 8VLJV05wRkAWMYUigfK/aEwrqh8W9yPF0LNkTW132Y47S5VNgOFn2RDAqH1tpOWKYfCF V2rEz/J4Fx0Byt/SE5gqZvb4HCy5YbvXlGtbmLgHhaqojNJUytuebi4CXYwJsHiRC7AC c6Sg== X-Gm-Message-State: AOAM533k1dbgcpGzCGqsuR6lmId3prxUg8mrsH+AeJ1bM7RtN2z4NN9t lQXJn1vBM71YVe8SQ+0sEbBnoGWtS9ruaDw= X-Google-Smtp-Source: ABdhPJxWFR7ACbhYUPrY9n8VpS94mb86G/o2nJcRZ3ooW+z2z0fY+KgPGDfISX2ZYGr+jH6dGSLSew== X-Received: by 2002:a05:6214:e43:: with SMTP id o3mr531846qvc.1.1640050096292; Mon, 20 Dec 2021 17:28:16 -0800 (PST) Received: from smtpclient.apple ([2601:243:2000:5ac:f02b:6c4e:f1fb:3dd6]) by smtp.gmail.com with ESMTPSA id r26sm14769973qtm.67.2021.12.20.17.28.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Dec 2021 17:28:15 -0800 (PST) From: Ridley Combs Message-Id: <175022B5-2C92-4BD9-ABAB-DE71BCE11447@rcombs.me> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Date: Mon, 20 Dec 2021 19:28:14 -0600 In-Reply-To: To: ffmpeg-devel References: <5fb60616-5ded-1b3a-255c-14deb44924d9@evermeet.cx> <9a5a0645-7743-5f73-2240-d8120a9fa0ec@evermeet.cx> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] commits ecee6af8bd and 4ac869ca2a break build for macOS 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: "Helmut K. C. Tessarek" 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: The main thing that confuses me here is that this file does build for me when I use the iOS version of the metal compiler (tbh I didn't even know there was a difference between them). What Xcode and macOS version are you on? > On Dec 20, 2021, at 19:18, Christopher Degawa wrote: > > On Mon, Dec 20, 2021 at 6:55 PM Aman Karmani > wrote: > >> On Mon, Dec 20, 2021 at 4:52 PM Helmut K. C. Tessarek < >> tessarek@evermeet.cx> >> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA512 >>> >>> >>> >>> On 2021-12-20 19:38, Aman Karmani wrote: >>>> Could you share the output of `xcrun metal -v` >>> >>> $ xcrun metal -v >>> Apple LLVM version 902.9 (metalfe-902.9.61) >>> Target: air64-apple-darwin18.7.0 >>> Thread model: posix >>> InstalledDir: >>> >>> >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain >>> /usr/metal/ios/bin >>> >> >> I am able to get the ios binary too, but only when I request is explicitly >> as follows: >> >> $ xcrun -sdk $(xcodebuild -sdk iphoneos -version Path) metal -v >> >> Apple metal version 31001.325 (metalfe-31001.325) >> Target: air64-apple-darwin20.6.0 >> Thread model: posix >> InstalledDir: >> >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/ios/bin >> >> > > Running `xcrun -sdk $(xcodebuild -sdk macosx -version Path) metal > libavfilter/metal/vf_yadif_videotoolbox.metal -o > libavfilter/metal/vf_yadif_videotoolbox.metal.air` does indeed compile > properly and properly shows macos > > xcrun -sdk $(xcodebuild -sdk macosx -version Path) metal -v > Apple LLVM version 31001.143 (metalfe-31001.143) > Target: air64-apple-darwin19.6.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/bin > > and I can indeed have FFmpeg configure and make with `./configure > --metalcc="xcrun -sdk $(xcodebuild -sdk macosx -version Path) metal"`, but > that would sorta ruin the whole idea of being able to simply clone and > ./configure and make. > > I tried looking online, and I guess maybe it's not something often asked as > I could not find relevant results to how to set the default xcrun sdk, so > I'm not sure how to make that -sdk flag apply to all xcruns regardless of > configure flags > _______________________________________________ > 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". _______________________________________________ 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".