gentoo / dlang

[MIRROR] D programming language ebuild repository
https://gitweb.gentoo.org/repo/user/dlang.git
GNU General Public License v2.0
31 stars 23 forks source link

Newer compiler versions for dmd and ldc2 (broken) #91

Closed the-horo closed 2 years ago

the-horo commented 2 years ago

For getting >=dmd.2.097.0 to build with the 32-bit-ld patch, the global.params.is64bit needs to be changed to target.is64bit because of this commit upstream

the-horo commented 2 years ago

@mleise @nikobockerman cc-ing you to see if it would be better to make 1 PR per ebuild before I add more compiler ebuilds

mleise commented 2 years ago

I didn't find the patience to learn how to pass the usual compiler flags to the ninja build process like it used to work with the makefiles. That's where I stopped working on the ebuilds. Could you just remove llvm-11 from the ldc2 ebuild (as it has been removed from the tree in the meantime) and add a --signoff to the first commit, then I'll try a merge.

the-horo commented 2 years ago

I have made a new PR (#98) following your requierements. This is mainly because that unsigned dmd-2.099.0 commit, on top of being unsigned it also hadn't been done with the correct email adress for the author. It also would not provide anything usefull as dmd-2.099.1 was released if it weren't for the 32-bit-ld.bfd patch which, honestly, I should have put in a seperate commit.

If there aren't any problems I think I should close this PR in favor of #98.

mleise commented 2 years ago

Good idea, I'm closing this one.