Re: RFC: changes to -i flag for finding source files

2014-04-28 Thread Conrad Parker
On 28 April 2014 18:40, Roman Cheplyaka r...@ro-che.info wrote: * Simon Marlow marlo...@gmail.com [2014-04-28 09:26:23+0100] No, the idea would be to use hs-source-dirs like this: hs-source-dirs: A.B.C=src Cabal just passes this in a -i option to GHC, so it almost Just Works,

Re: Release plans

2013-03-20 Thread Conrad Parker
On 20 March 2013 18:58, John Wiegley jo...@fpcomplete.com wrote: Ian Lynagh i...@well-typed.com writes: Would a 7.7.x recommended snapshot be useful to you? Tell us if you want one. I think that could very useful, sort of like what the Linux kernel did before they stopped. I'm never sure

Re: Building on android - compiled program segfaults

2013-01-13 Thread Conrad Parker
On 11 January 2013 19:36, Nathan Hüsken nathan.hues...@posteo.de wrote: Hi, I was succesfull in building ghc (pulled from git) to compile for arm-linux-androideabi! Now using inplace/bin/ghc-stage1 -dcore-lint -debug I compiler this Main.hs: main = putStrLn Hello, World I get an

Re: Should ghc -msse imply gcc -msse

2013-01-10 Thread Conrad Parker
On 11 January 2013 06:10, Johan Tibell johan.tib...@gmail.com wrote: Hi all, You can turn on e.g. SSE 4.1 by passing -msse4.2 to ghc. This doesn't currently imply that we compile any C code with -msse4.2 turned on, so if someone really want to use SSE4.2, they have to do: ghc -msse4,2

Re: build failures when hiding non-visible imports

2012-08-20 Thread Conrad Parker
On 21 August 2012 07:36, John Lato jwl...@gmail.com wrote: From: Brandon Allbery allber...@gmail.com On Sat, Aug 18, 2012 at 9:10 PM, Carter Schonwald carter.schonw...@gmail.com wrote: meaning: flags for treating it as a warning vs as an error? (pardon, i'm over thinking ambiguity in

parallel build fixes for 7.4.2

2012-02-24 Thread Conrad Parker
Hi, recently we've been tweaking our internal build system at Tsuru to handle parallel builds of both cabal packages via 'cabal-sort --makefile' and our local code tree via 'ghc -M'. In addition to the recompilation checker fixes of #5878, the following would be great to have in 7.4.2: 1)

Re: recompilation on --main-is

2012-02-16 Thread Conrad Parker
3 main files and one util that they all import. Every build recompiles every file, even if there were no changes. On Feb 15, 2012 8:39 PM, Conrad Parker con...@metadecks.org mailto:con...@metadecks.org wrote:    Hi,    We have a project with around 200 Haskell source files, and around 20

recompilation on --main-is

2012-02-15 Thread Conrad Parker
Hi, We have a project with around 200 Haskell source files, and around 20 executables which import these (as well as importing third-party libraries). We first build all the non-main files using a makefile generated with ghc -M. We then build the executables using a separate invocation of ghc