Andrew Wilkins via llvm-dev
2016-Apr-13 01:48 UTC
[llvm-dev] Status of the official LLVM APT repositories
On Wed, 13 Apr 2016 at 09:38 Amaury SECHET <deadalnix at gmail.com> wrote:> I'd be happy to do it, but this is a bit much high level for me to be > actionable. Can you explain me what I should do to reintroduce them int he > debian packaging ? >On the CMake side, I'm not sure. I think it's just a matter of using the "install()" functions to install them into the appropriate place in the tree. They weren't installed by CMake in the first place; I was going to do that, which is when I was told they shouldn't be distributed. For Debian packaging, there are a few things. 1) revive the llvm-X.Y-tools.* files, which were in LLVM 3.7. See: http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/ . 2) add the llvm-X.Y-tools entry back into control. Compare http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/control?revision=1843&view=markup and http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.8/debian/control?revision=1881&view=markup . 3) update the "rules" script as necessary to support the above, copying files into the places that the Debian package layout expects HTH, Andrew> 2016-04-12 17:56 GMT-07:00 Andrew Wilkins <axwalk at gmail.com>: > >> On Wed, 13 Apr 2016 at 08:10 Amaury SECHET via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> I'd like to shime in here. These apt repository used to contain packages >>> named llvm-3.8-tools containing, amongst other things, the lit python >>> library used to test llvm. It seems that it went away recently and I have >>> travis build failing because of this. >>> >>> What is going here ? It that just a mistake ? Is there something I can >>> do to help get this package back ? >>> >> >> I removed llvm-lit, among other utilities, after receiving guidance that >> they were not intended for distribution to LLVM users. Sounds like that was >> wrong. >> >> You would have to update CMake to install them; and then reintroduce them >> into the Debian packaging. >> >> Cheers, >> Andrew >> >> 2016-03-30 2:34 GMT-07:00 Sylvestre Ledru via llvm-dev < >>> llvm-dev at lists.llvm.org>: >>> >>>> Le 29/03/2016 à 14:17, Yury V. Zaytsev a écrit : >>>> > Hi Sylvestre, >>>> > ri >>>> > On Sat, 12 Mar 2016, Sylvestre Ledru wrote: >>>> > >>>> >> I am working on it as we speak. Hopefully, most of the 3.8 & 3.9 >>>> packages are going to be green by next week. >>>> > >>>> > Any updates on that? >>>> Yes, most of the remaining issues are fixed (the sync to llvm.org/apt >>>> was disabled). I will send a summary soon. >>>> >>>> > It appears that Precise repositories are now in order, but all the >>>> others (and, most importantly, Trusty) are still not updated. >>>> I forced the push. Should be fine now. >>>> >>>> > Also, 3.9 packages are not mentioned on the web page, although they >>>> seem to be available for Precise from the snapshots repository. >>>> Not sure what you mean here? >>>> llvm-toolchain-trusty contains 3.9 >>>> >>>> > For me, the Jenkis URL is still not responding, so although I can see >>>> the commits to the svn repository at http://anonscm.debian.org, I >>>> can't really figure out what's actually going on... >>>> Yes, this is running on a temporary server (the previous one had some >>>> hardware issues). >>>> Not sure I will make it public or not. >>>> >>>> Sylvestre >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160413/609832e0/attachment-0001.html>
Amaury SECHET via llvm-dev
2016-Apr-13 05:28 UTC
[llvm-dev] Status of the official LLVM APT repositories
Thanks for the pointers. I'll try to work out something this week. I may come back for more help, but I have enough at least to get me started. 2016-04-12 18:48 GMT-07:00 Andrew Wilkins <axwalk at gmail.com>:> On Wed, 13 Apr 2016 at 09:38 Amaury SECHET <deadalnix at gmail.com> wrote: > >> I'd be happy to do it, but this is a bit much high level for me to be >> actionable. Can you explain me what I should do to reintroduce them int he >> debian packaging ? >> > > On the CMake side, I'm not sure. I think it's just a matter of using the > "install()" functions to install them into the appropriate place in the > tree. They weren't installed by CMake in the first place; I was going to do > that, which is when I was told they shouldn't be distributed. > > For Debian packaging, there are a few things. > 1) revive the llvm-X.Y-tools.* files, which were in LLVM 3.7. See: > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/ > . > 2) add the llvm-X.Y-tools entry back into control. Compare > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/control?revision=1843&view=markup > and > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.8/debian/control?revision=1881&view=markup > . > 3) update the "rules" script as necessary to support the above, copying > files into the places that the Debian package layout expects > > HTH, > Andrew > > >> 2016-04-12 17:56 GMT-07:00 Andrew Wilkins <axwalk at gmail.com>: >> >>> On Wed, 13 Apr 2016 at 08:10 Amaury SECHET via llvm-dev < >>> llvm-dev at lists.llvm.org> wrote: >>> >>>> I'd like to shime in here. These apt repository used to contain >>>> packages named llvm-3.8-tools containing, amongst other things, the lit >>>> python library used to test llvm. It seems that it went away recently and I >>>> have travis build failing because of this. >>>> >>>> What is going here ? It that just a mistake ? Is there something I can >>>> do to help get this package back ? >>>> >>> >>> I removed llvm-lit, among other utilities, after receiving guidance that >>> they were not intended for distribution to LLVM users. Sounds like that was >>> wrong. >>> >>> You would have to update CMake to install them; and then reintroduce >>> them into the Debian packaging. >>> >>> Cheers, >>> Andrew >>> >>> 2016-03-30 2:34 GMT-07:00 Sylvestre Ledru via llvm-dev < >>>> llvm-dev at lists.llvm.org>: >>>> >>>>> Le 29/03/2016 à 14:17, Yury V. Zaytsev a écrit : >>>>> > Hi Sylvestre, >>>>> > ri >>>>> > On Sat, 12 Mar 2016, Sylvestre Ledru wrote: >>>>> > >>>>> >> I am working on it as we speak. Hopefully, most of the 3.8 & 3.9 >>>>> packages are going to be green by next week. >>>>> > >>>>> > Any updates on that? >>>>> Yes, most of the remaining issues are fixed (the sync to llvm.org/apt >>>>> was disabled). I will send a summary soon. >>>>> >>>>> > It appears that Precise repositories are now in order, but all the >>>>> others (and, most importantly, Trusty) are still not updated. >>>>> I forced the push. Should be fine now. >>>>> >>>>> > Also, 3.9 packages are not mentioned on the web page, although they >>>>> seem to be available for Precise from the snapshots repository. >>>>> Not sure what you mean here? >>>>> llvm-toolchain-trusty contains 3.9 >>>>> >>>>> > For me, the Jenkis URL is still not responding, so although I can >>>>> see the commits to the svn repository at http://anonscm.debian.org, I >>>>> can't really figure out what's actually going on... >>>>> Yes, this is running on a temporary server (the previous one had some >>>>> hardware issues). >>>>> Not sure I will make it public or not. >>>>> >>>>> Sylvestre >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160412/776534ed/attachment.html>
Amaury SECHET via llvm-dev
2016-May-01 08:11 UTC
[llvm-dev] Status of the official LLVM APT repositories
Some update on this. 2016-04-12 18:48 GMT-07:00 Andrew Wilkins <axwalk at gmail.com>:> On Wed, 13 Apr 2016 at 09:38 Amaury SECHET <deadalnix at gmail.com> wrote: > >> I'd be happy to do it, but this is a bit much high level for me to be >> actionable. Can you explain me what I should do to reintroduce them int he >> debian packaging ? >> > > On the CMake side, I'm not sure. I think it's just a matter of using the > "install()" functions to install them into the appropriate place in the > tree. They weren't installed by CMake in the first place; I was going to do > that, which is when I was told they shouldn't be distributed. > >Turns out, these executable are installed when using -DLLVM_INSTALL_UTILS=1 with cmake, so that simplify this.> For Debian packaging, there are a few things. > 1) revive the llvm-X.Y-tools.* files, which were in LLVM 3.7. See: > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/ > . >This is where I'm not sure how to proceed. How do I contribute to that repository ? Is that debian owned ? What is the process to submit a patch ?> 2) add the llvm-X.Y-tools entry back into control. Compare > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/control?revision=1843&view=markup > and > http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.8/debian/control?revision=1881&view=markup > . > 3) update the "rules" script as necessary to support the above, copying > files into the places that the Debian package layout expects > > HTH, > Andrew > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160501/b9df9e41/attachment.html>
Andrew Wilkins via llvm-dev
2016-May-02 01:07 UTC
[llvm-dev] Status of the official LLVM APT repositories
On Sun, 1 May 2016 at 16:12 Amaury SECHET <deadalnix at gmail.com> wrote:> Some update on this. > > 2016-04-12 18:48 GMT-07:00 Andrew Wilkins <axwalk at gmail.com>: > >> On Wed, 13 Apr 2016 at 09:38 Amaury SECHET <deadalnix at gmail.com> wrote: >> >>> I'd be happy to do it, but this is a bit much high level for me to be >>> actionable. Can you explain me what I should do to reintroduce them int he >>> debian packaging ? >>> >> >> On the CMake side, I'm not sure. I think it's just a matter of using the >> "install()" functions to install them into the appropriate place in the >> tree. They weren't installed by CMake in the first place; I was going to do >> that, which is when I was told they shouldn't be distributed. >> >> > Turns out, these executable are installed when using > -DLLVM_INSTALL_UTILS=1 with cmake, so that simplify this. > > >> For Debian packaging, there are a few things. >> 1) revive the llvm-X.Y-tools.* files, which were in LLVM 3.7. See: >> http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/ >> . >> > > This is where I'm not sure how to proceed. How do I contribute to that > repository ? Is that debian owned ? What is the process to submit a patch ? >Yes, it is Debian-owned. When I made the changes to use CMake, I sent patches directly to Sylvestre Ledru (CCd), who maintains the LLVM/Clang/etc. packages for Debian. FWIW, I second Reid's sentiment about having things like "not" in the standard $PATH. They are there in the older versions of LLVM, albeit with version suffixes (e.g. /usr/bin/not-3.7). If it's possible, it would be nice to hide them away in /usr/lib/llvm-<version>/bin, or perhaps a utils-specific directory. I think it would then just be a matter of adding that to $PATH before running lit tests. I would offer to help write patches, but you would be at the mercy of my near non-existent availability. Cheers, Andrew> >> 2) add the llvm-X.Y-tools entry back into control. Compare >> http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.7/debian/control?revision=1843&view=markup >> and >> http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.8/debian/control?revision=1881&view=markup >> . >> 3) update the "rules" script as necessary to support the above, copying >> files into the places that the Debian package layout expects >> >> HTH, >> Andrew >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160502/0ceca8d9/attachment.html>