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 2E58E404C6 for ; Tue, 21 Dec 2021 01:19:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9D8F768AEAD; Tue, 21 Dec 2021 03:19:09 +0200 (EET) Received: from degawa.com (unknown [174.127.109.95]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D721668ADB0 for ; Tue, 21 Dec 2021 03:19:02 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomderp.com; s=default; h=Content-Type:Cc:To:Subject:Message-ID:Date: From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tebSS9NM0WqnDEsRxg5sgHapOf6tgo5rbSYwtVix39M=; b=bYC5Xcbr1DB+EYBTJcD1097lIv WHlZdFm7tlXggsyCyqLebRMf7OfsNLzJqA7pioVaYZNxyNR0+CDgP84bdThfm9erqDNsYWX8TFnsE 0g1jJKki4mCZL4d9naAl+Z2Gj7LyDxYlt4Hnzd2gu0jENqkOIl/wC5swuuXppiEbdXFjwv573vEEX eFomCg62Vx5yiQiR1HkuuNtxVwWrp2zdluRRENeMEjyTAa6GBFjGCFyv/JQXoXsYlcjKX3W4Il0Lv nvdurXcB+biMcUWbpJRD2fD90r7IBfJ9tJds80YnytjkkqsswL5fJqIVoe1wYoGPbn4Mb40yP9cyl tNnyMxKw==; Received: from mail-ua1-f41.google.com ([209.85.222.41]:42690) by slmp-550-1.slc.westdc.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mzTnx-0006o4-UA for ffmpeg-devel@ffmpeg.org; Mon, 20 Dec 2021 18:19:01 -0700 Received: by mail-ua1-f41.google.com with SMTP id t13so20870151uad.9 for ; Mon, 20 Dec 2021 17:19:00 -0800 (PST) X-Gm-Message-State: AOAM530fI0EvjBaIM0vM4WF+3FV/IHJjNvfso/o40sWWjPKBWzRvdrTX N97ugv2kyI40VpvfSeHmzzNRRoC22YX4hfP7JgU= X-Google-Smtp-Source: ABdhPJxjHNb7T3mEnTClyMPdPK9aG0xCFNIDs3KsSNzCzWACPd2LYSZftefp4ur/ziHRgZVo+Hc7q9DVor2nTfzSoFk= X-Received: by 2002:a05:6102:32d5:: with SMTP id o21mr399400vss.51.1640049540215; Mon, 20 Dec 2021 17:19:00 -0800 (PST) MIME-Version: 1.0 References: <5fb60616-5ded-1b3a-255c-14deb44924d9@evermeet.cx> <9a5a0645-7743-5f73-2240-d8120a9fa0ec@evermeet.cx> In-Reply-To: From: Christopher Degawa Date: Mon, 20 Dec 2021 19:18:24 -0600 X-Gmail-Original-Message-ID: Message-ID: To: FFmpeg development discussions and patches X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - slmp-550-1.slc.westdc.net X-AntiAbuse: Original Domain - ffmpeg.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - randomderp.com X-Get-Message-Sender-Via: slmp-550-1.slc.westdc.net: authenticated_id: ccom/from_h X-Authenticated-Sender: slmp-550-1.slc.westdc.net: ccom@randomderp.com X-Source: X-Source-Args: X-Source-Dir: 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: 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".