-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LDC2 support after LLVM 10 removal #87
Conversation
10e88c8
to
15a83e2
Compare
I noticed couple problems still in the original commits. Force-pushed fixed versions of commits. In order to avoid misunderstanding on the quality of these commits: |
Thank you for your contribution Niko. I'm not really using Gentoo and DLang much these days and once ebuilds moved to ninja things started to fall behind as that required more than just updating some version numbers. |
15a83e2
to
47c3507
Compare
No problem. I am using Gentoo but I have given up doing any actually development on dlang already quite some time ago. But I still use Onedrive and the onedrive package in this overlay is to my understanding the best linux client available. So I do want to keep it working. But I may also increase my efforts in finding a good alternative solution to replace Onedrive. Can you tell if there was some technical reason for not having support for GCC after 9.3.0 in dlang-compilers.eclass? For me it would probably be easier to use GCC with d use flag with onedrive instead of ldc2 in case gcc could work. |
I can't remember if there was a particular reason other than GCC 10 being completely keyworded at the time. Since I pull the compilers in as a dependency of the DLang packages, something was complaining about stable ebuilds depending on unstable ones. |
Thanks for this info. I think I will then keep on using LDC2 until I switch from using Onedrive to some other storage provider. |
Is there still something you would like me to change in this PR? I have also followup changes to bump onedrive and ldc2 packages to newest upstream versions, but I'd rather get these commits approved and merged before adding more ebuilds that I need to adapt according to the feedback you give me. I also noticed that issue #86 was opened recently which should be fixed with this PR. |
No, all is good. I just have to update my old Gentoo system first. It's only gonna compile for a few more days, then I'll test and merge. :-) |
I've merged your branch locally now and it looks good. I just need to make |
There is something I need you to fix. The keywords list in P.S.: On the Gentoo git, we are required to |
Hi, sorry for the silence. My computer has been and still is in service. I will address you’re comments once I get it back. But I still don’t know when that will actually happen. |
Signed-off-by: Niko Böckerman <[email protected]>
LDC2 1.24 added support for LLVM 11 and LDC 1.25 added support also for LLVM 12. Signed-off-by: Niko Böckerman <[email protected]>
All versions of LLVM in slot 10 have been removed from Gentoo tree. Remove all ldc2 versions that don't support older LLVM versions. And remove llvm:10 slot support from remaining ldc2 ebuilds. Signed-off-by: Niko Böckerman <[email protected]>
47c3507
to
b4fe786
Compare
Looking good. Will check and merge on the weekend. |
I finally got my laptop back and after getting it up and running I was finally able to address your comments.
I changed the keywords list in eclass/dlang-compilers.eclass to match the keywords in ebuilds. Meaning that I marked the 1.25 and 1.26 as unstable for all arches. I thought that it's clearer to mark the ebuilds and eclass entries as stable separately later.
I first read this as requirement to gpg sign the commits without rereading it. So I ended up finally resolving which email address to use for personal developments and to setup personal GPG key management.. And then at last minute after signing commits I reread your comment and realized that you only meant to use the --signoff option 😆 |
This pull-request adds new revisions for ldc 1.24.0, 1.25.1 and 1.26.0 ebuilds with support for newer llvm versions in their dependencies. The releases page of ldc2 mentions that 1.24.0 was the first version which added support for LLVM 11 and that 1.25.0 was the first version which supports also LLVM 12. After that this pull-request removes old ldc2 versions that only supported LLVM up to version 10 and removes LLVM 10 support from remaining ebuilds.
These changes are necessary now that LLVM 10 has been removed from Gentoo tree and current ebuilds can't be compiled anymore.