Re: [hatari-devel] hatari.app from cirrus-ci |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] hatari.app from cirrus-ci
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Wed, 20 Dec 2023 06:46:39 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1703054801; bh=YetyFuMPrZT9OOu+YCduOOTj0H1+G49nDbRjxR+ITSo=; h=Date:From:To:Subject:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=lsUVGe36Or9umtVRnsdgnhSyoncbd8ptZqsYg6Dprx4ibUv4OC0EMDdJjE7TeF1AC wPj1gqUOnARZxgEiyY4UkDiKBfeRgCmvzmi52MqZnvYe2sQMrxEW5j4g+w1pR51sHO SYZGZyCbtP3FZEqfQ1oXTWKCi1adoSqX32UV13j8Q+HSeXFE0UoBZAKiYaUE5dlWjh RLGAwGcAgJmpY2DS9P/YPGMj3k8VEBI8tWqseDMV8bEGl2QvBxaAE+qnDlqE02cC1y bfKi9/iFFz4trU+hPqJjTF1DD2ZidIv2UdjThxCCd+6fA6usFwka5nxFJsmgxXy+DL HALiStgcD6mnA==
Am Tue, 19 Dec 2023 18:58:22 +0100
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
....
> I just tried compiling libpng from the command line and it indeed fails to compile a universal binary. Probably there is a bug in their CMakeLists.txt. Anyway I did successfully create one using Xcode. Maybe just use that one until they fix it. Should I send it to you? I think it is too early to drop support for Intel Macs. There are lots of them still around and running the latest OS.
Thanks for your offer! But I think I finally found a way (by luck) to
compile an universal libpng framework on the command line, too: You have to
specify CMAKE_OSX_ARCHITECTURES as "arm64;x86_64" and not as "x86_64;arm64"
.... don't ask me why!
I then also had an explicit codesign lign for the png.framework, too, and
now it seems to successfully build an universal Hatari.app for macOS >=
v10.13 :
https://cirrus-ci.com/task/4758440225013760
Thomas