From ian at skybluetrades.net Tue Apr 1 10:39:11 2014 From: ian at skybluetrades.net (Ian Ross) Date: Tue, 1 Apr 2014 12:39:11 +0200 Subject: [C2hs] Request to C2HS users Message-ID: Dear All, I'm trying to make a list of packages that depend on C2HS, in order to make a regression suite to test new releases. I slightly broke things in the last release and only found out about it when people started reporting regressions when trying to build packages that use C2HS. The number of moving parts involved make it difficult to write a test suite with full coverage, so the best approach seems to be to make a list of packages and make sure that these all build before doing a release. I've not been able to figure out a way to do reverse dependency searches on Hackage for build tools, hence the email. If you have a package that uses C2HS that you'd like added to the regression suite, let me know. Cheers, Ian. -- Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From chak at cse.unsw.edu.au Wed Apr 2 04:43:27 2014 From: chak at cse.unsw.edu.au (Manuel M T Chakravarty) Date: Wed, 2 Apr 2014 15:43:27 +1100 Subject: [C2hs] Request to C2HS users In-Reply-To: References: Message-ID: <5202D721-3F91-4E9F-AA24-91C39EFA0215@cse.unsw.edu.au> Good plan! Please include http://hackage.haskell.org/package/cuda Manuel Ian Ross : > Dear All, > > I'm trying to make a list of packages that depend on C2HS, in order to make a regression suite to test new releases. I slightly broke things in the last release and only found out about it when people started reporting regressions when trying to build packages that use C2HS. The number of moving parts involved make it difficult to write a test suite with full coverage, so the best approach seems to be to make a list of packages and make sure that these all build before doing a release. > > I've not been able to figure out a way to do reverse dependency searches on Hackage for build tools, hence the email. > > If you have a package that uses C2HS that you'd like added to the regression suite, let me know. > > Cheers, > > Ian. > > -- > Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net > _______________________________________________ > C2hs mailing list > C2hs at haskell.org > http://www.haskell.org/mailman/listinfo/c2hs -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian at skybluetrades.net Mon Apr 14 12:25:27 2014 From: ian at skybluetrades.net (Ian Ross) Date: Mon, 14 Apr 2014 14:25:27 +0200 Subject: [C2hs] Request to C2HS users In-Reply-To: <5202D721-3F91-4E9F-AA24-91C39EFA0215@cse.unsw.edu.au> References: <5202D721-3F91-4E9F-AA24-91C39EFA0215@cse.unsw.edu.au> Message-ID: Hi Manuel (and/or Trevor!), Have you had any luck in building CUDA on Travis or any other CI environment? I've not managed to build it on my desktop machine, but that's mostly due to not having an NVIDIA card and to being on Arch Linux, where the current CUDA install is version 6 instead of 5... This C2HS regression suite idea has already turned out to be useful, catching a couple of silly little bugs I'd introduced, and I'd really like to include as many packages as possible, and to have it run as a CI test. I'll have a try on Travis myself, but it would be useful to know if you've already figured out what's needed. Thanks, Ian. On 2 April 2014 06:43, Manuel M T Chakravarty wrote: > Good plan! Please include > > http://hackage.haskell.org/package/cuda > > Manuel > > Ian Ross : > > Dear All, > > I'm trying to make a list of packages that depend on C2HS, in order to > make a regression suite to test new releases. I slightly broke things in > the last release and only found out about it when people started reporting > regressions when trying to build packages that use C2HS. The number of > moving parts involved make it difficult to write a test suite with full > coverage, so the best approach seems to be to make a list of packages and > make sure that these all build before doing a release. > > I've not been able to figure out a way to do reverse dependency searches > on Hackage for build tools, hence the email. > > If you have a package that uses C2HS that you'd like added to the > regression suite, let me know. > > Cheers, > > Ian. > > -- > Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net > www.skybluetrades.net > _______________________________________________ > C2hs mailing list > C2hs at haskell.org > http://www.haskell.org/mailman/listinfo/c2hs > > > -- Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From chak at cse.unsw.edu.au Tue Apr 15 04:22:52 2014 From: chak at cse.unsw.edu.au (Manuel M T Chakravarty) Date: Tue, 15 Apr 2014 14:22:52 +1000 Subject: [C2hs] Request to C2HS users In-Reply-To: References: <5202D721-3F91-4E9F-AA24-91C39EFA0215@cse.unsw.edu.au> Message-ID: <34B23DA3-8E58-42A2-BD13-BE84A7BBF9C3@cse.unsw.edu.au> Hi Ian, We haven?t build the cuda package in a CI environment, but Ryan Newton has Accelerate in on a CI server. Ryan, are you building with the CUDA backend? Ian, I?m not sure what you mean by CUDA version 6. I believe the latest CUDA release from NVIDIA is 5.5. Cheers, Manuel Ian Ross : > Hi Manuel (and/or Trevor!), > > Have you had any luck in building CUDA on Travis or any other CI environment? I've not managed to build it on my desktop machine, but that's mostly due to not having an NVIDIA card and to being on Arch Linux, where the current CUDA install is version 6 instead of 5... This C2HS regression suite idea has already turned out to be useful, catching a couple of silly little bugs I'd introduced, and I'd really like to include as many packages as possible, and to have it run as a CI test. > > I'll have a try on Travis myself, but it would be useful to know if you've already figured out what's needed. > > Thanks, > > Ian. > > > > On 2 April 2014 06:43, Manuel M T Chakravarty wrote: > Good plan! Please include > > http://hackage.haskell.org/package/cuda > > Manuel > > Ian Ross : > >> Dear All, >> >> I'm trying to make a list of packages that depend on C2HS, in order to make a regression suite to test new releases. I slightly broke things in the last release and only found out about it when people started reporting regressions when trying to build packages that use C2HS. The number of moving parts involved make it difficult to write a test suite with full coverage, so the best approach seems to be to make a list of packages and make sure that these all build before doing a release. >> >> I've not been able to figure out a way to do reverse dependency searches on Hackage for build tools, hence the email. >> >> If you have a package that uses C2HS that you'd like added to the regression suite, let me know. >> >> Cheers, >> >> Ian. >> >> -- >> Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net >> _______________________________________________ >> C2hs mailing list >> C2hs at haskell.org >> http://www.haskell.org/mailman/listinfo/c2hs > > > > > -- > Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net > _______________________________________________ > C2hs mailing list > C2hs at haskell.org > http://www.haskell.org/mailman/listinfo/c2hs -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian at skybluetrades.net Sat Apr 19 11:34:41 2014 From: ian at skybluetrades.net (Ian Ross) Date: Sat, 19 Apr 2014 13:34:41 +0200 Subject: [C2hs] Version 0.17.2 and Regression Suite Message-ID: Dear All, I've just released version 0.17.2 of C2HS to Hackage. This fixes a number of regressions that were introduced in the last couple of releases. In particular, the cuda and hsndfile packages should now build correctly. To follow up on my recent request for packages for a regression suite for C2HS, I've now implemented this, so that on every commit Travis builds C2HS then tries to install a set of "typical" packages (see below). This should hopefully help to reduce the chances of these kinds of regressions in future. The regression suite is driven off a little YAML configuration file and can perform various setup steps before building the regression packages (mostly installing packages using apt-get, although the setup for CUDA is a little more complicated). Note that the regression suite only installs these test packages -- it doesn't run their tests -- and so far, this is for Linux packages only. Someone asked me about a MacOS package, and I presume that it ought to be possible to set up a multi-platform regression suite, but I have no MacOS machine to test these things on myself and I don't know how to force Travis to use a MacOS host for Haskell builds. I'd be happy to hear any ideas, and I'd also be happy to hear of any other candidate packages for regression testing. Cheers, Ian. Current regression suite packages: CV, gnome-keyring, hnetcdf, hpuz, hsndfile, hsqml, igraph, cuda, cufft, OpenCL -- Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net www.skybluetrades.net -------------- next part -------------- An HTML attachment was scrubbed... URL: