Zac Hansen via llvm-dev
2018-May-01 23:13 UTC
[llvm-dev] Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
The past few packages on http://releases.llvm.org/download.html for mac have required the latest version of mac os. Previously they were built for 10.5 (I believe). I was just wondering if there is a technical reason for this change in requirements and if not, if it could be revered. I have systems I actively use which are 10.10 and 10.11 and it would be awesome if I didn't have to build new releases, as it takes quite a while on my older hardware. Thank you. P.S. If anyone needs to build a release for themselves, I believe the process is: clone LLVM from github - https://github.com/llvm-mirror/llvm get target OS darwin version from here: https://en.wikipedia.org/wiki/Darwin_(operating_system) - in the example below I'm building for 14.5.0 llvm/utils/release/test-release.sh -release 6.0.0 -final -triple x86_64-apple-darwin14.5.0 results in: llvm/utils/release/final/clang+llvm-6.0.0-x86_64-apple-darwin14.5.0.tar.xz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180501/94e57466/attachment.html>
Vedant Kumar via llvm-dev
2018-May-02 19:59 UTC
[llvm-dev] Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
Hi Zac, Thanks for the heads-up. I've started targeting a minimum macOS deployment target of 10.9 for the release binaries. Hope this helps. Let me know if there are any issues. vedant> On May 1, 2018, at 4:13 PM, Zac Hansen via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > The past few packages on http://releases.llvm.org/download.html <http://releases.llvm.org/download.html> for mac have required the latest version of mac os. Previously they were built for 10.5 (I believe). > > I was just wondering if there is a technical reason for this change in requirements and if not, if it could be revered. I have systems I actively use which are 10.10 and 10.11 and it would be awesome if I didn't have to build new releases, as it takes quite a while on my older hardware. > > Thank you. > > P.S. If anyone needs to build a release for themselves, I believe the process is: > > clone LLVM from github - https://github.com/llvm-mirror/llvm <https://github.com/llvm-mirror/llvm> > > get target OS darwin version from here: https://en.wikipedia.org/wiki/Darwin_(operating_system) <https://en.wikipedia.org/wiki/Darwin_(operating_system)> - in the example below I'm building for 14.5.0 > > llvm/utils/release/test-release.sh -release 6.0.0 -final -triple x86_64-apple-darwin14.5.0 > > results in: llvm/utils/release/final/clang+llvm-6.0.0-x86_64-apple-darwin14.5.0.tar.xz > > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180502/5810fd3f/attachment.html>
Vedant Kumar via llvm-dev
2018-May-02 23:22 UTC
[llvm-dev] Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
I described this off-list to Zac, but for anyone else who is following, simply
specifying the target triple is not enough to have the build system set an older
macOS deployment target. I.e the 6.0.0-rc1 binaries I've just uploaded have
the same deployment target problem.
Looking at the 5.0.0 and 6.0.0-rc1 binaries, I can confirm that their deployment
target was too new:
Load command 9
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.12
sdk 10.13
I'm not sure why this is happening, because the build logs are peppered with
instances of -mmacosx-version-min=10.9.
At any rate, it looks like we currently lack support for inferring an older
deployment target based on the triple passed to test-release.sh. It would be
great to have a patch for this. For now, I'll try manually specifying extra
cflags when I run the script.
vedant
> On May 2, 2018, at 12:59 PM, Vedant Kumar via llvm-dev <llvm-dev at
lists.llvm.org> wrote:
>
> Hi Zac,
>
> Thanks for the heads-up. I've started targeting a minimum macOS
deployment target of 10.9 for the release binaries.
>
> Hope this helps. Let me know if there are any issues.
>
> vedant
>
>> On May 1, 2018, at 4:13 PM, Zac Hansen via llvm-dev <llvm-dev at
lists.llvm.org> wrote:
>>
>> The past few packages on http://releases.llvm.org/download.html for mac
have required the latest version of mac os. Previously they were built for 10.5
(I believe).
>>
>> I was just wondering if there is a technical reason for this change in
requirements and if not, if it could be revered. I have systems I actively use
which are 10.10 and 10.11 and it would be awesome if I didn't have to build
new releases, as it takes quite a while on my older hardware.
>>
>> Thank you.
>>
>> P.S. If anyone needs to build a release for themselves, I believe the
process is:
>>
>> clone LLVM from github - https://github.com/llvm-mirror/llvm
>>
>> get target OS darwin version from here:
https://en.wikipedia.org/wiki/Darwin_(operating_system) - in the example below
I'm building for 14.5.0
>>
>> llvm/utils/release/test-release.sh -release 6.0.0 -final -triple
x86_64-apple-darwin14.5.0
>>
>> results in:
llvm/utils/release/final/clang+llvm-6.0.0-x86_64-apple-darwin14.5.0.tar.xz
>>
>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Maybe Matching Threads
- Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
- Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
- Mac downloads at http://releases.llvm.org/download.html recently requiring latest MacOS
- readlines() truncates text file with Codepage 437 encoding
- [LLVMdev] RFC: MCJIT enhancements