[GHC] #3032: would be nice if -fno-code and --make worked together

GHC ghc-devs at haskell.org
Thu Jun 26 14:41:25 UTC 2014


#3032: would be nice if -fno-code and --make worked together
-------------------------------------+------------------------------------
        Reporter:  duncan            |            Owner:
            Type:  feature request   |           Status:  closed
        Priority:  lowest            |        Milestone:  7.6.2
       Component:  Compiler          |          Version:  6.8.2
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by ezyang):

 * status:  new => closed
 * failure:   => None/Unknown
 * resolution:   => fixed


Comment:

 I think this works now, modulo Cabal support:

 {{{
 ezyang at sabre:~/Dev/labs$ cabal unpack parsec
 cd Unpacking to parsec-3.1.5/
 ezyang at sabre:~/Dev/labs$ cd parsec-3.1.5/
 ezyang at sabre:~/Dev/labs/parsec-3.1.5$ cabal configure --ghc-option=-fno-
 code
 Resolving dependencies...
 Configuring parsec-3.1.5...
 ezyang at sabre:~/Dev/labs/parsec-3.1.5$ time cabal build
 Building parsec-3.1.5...
 Preprocessing library parsec-3.1.5...
 [ 1 of 25] Compiling Text.Parsec.Pos  ( Text/Parsec/Pos.hs, nothing )
 [ 2 of 25] Compiling Text.Parsec.Error ( Text/Parsec/Error.hs, nothing )
 [ 3 of 25] Compiling Text.ParserCombinators.Parsec.Error (
 Text/ParserCombinators/Parsec/Error.hs, nothing )
 [ 4 of 25] Compiling Text.ParserCombinators.Parsec.Pos (
 Text/ParserCombinators/Parsec/Pos.hs, nothing )
 [ 5 of 25] Compiling Text.Parsec.Prim ( Text/Parsec/Prim.hs, nothing )
 [ 6 of 25] Compiling Text.Parsec.Char ( Text/Parsec/Char.hs, nothing )
 [ 7 of 25] Compiling Text.Parsec.Combinator ( Text/Parsec/Combinator.hs,
 nothing )
 [ 8 of 25] Compiling Text.ParserCombinators.Parsec.Combinator (
 Text/ParserCombinators/Parsec/Combinator.hs, nothing )
 [ 9 of 25] Compiling Text.Parsec.String ( Text/Parsec/String.hs, nothing )
 [10 of 25] Compiling Text.ParserCombinators.Parsec.Char (
 Text/ParserCombinators/Parsec/Char.hs, nothing )
 [11 of 25] Compiling Text.Parsec.ByteString ( Text/Parsec/ByteString.hs,
 nothing )
 [12 of 25] Compiling Text.Parsec.ByteString.Lazy (
 Text/Parsec/ByteString/Lazy.hs, nothing )
 [13 of 25] Compiling Text.Parsec.Text ( Text/Parsec/Text.hs, nothing )
 [14 of 25] Compiling Text.Parsec.Text.Lazy ( Text/Parsec/Text/Lazy.hs,
 nothing )
 [15 of 25] Compiling Text.Parsec.Token ( Text/Parsec/Token.hs, nothing )
 [16 of 25] Compiling Text.ParserCombinators.Parsec.Token (
 Text/ParserCombinators/Parsec/Token.hs, nothing )
 [17 of 25] Compiling Text.Parsec.Expr ( Text/Parsec/Expr.hs, nothing )
 [18 of 25] Compiling Text.ParserCombinators.Parsec.Prim (
 Text/ParserCombinators/Parsec/Prim.hs, nothing )
 [19 of 25] Compiling Text.ParserCombinators.Parsec (
 Text/ParserCombinators/Parsec.hs, nothing )
 [20 of 25] Compiling Text.ParserCombinators.Parsec.Expr (
 Text/ParserCombinators/Parsec/Expr.hs, nothing )
 [21 of 25] Compiling Text.Parsec      ( Text/Parsec.hs, nothing )
 [22 of 25] Compiling Text.Parsec.Language ( Text/Parsec/Language.hs,
 nothing )
 [23 of 25] Compiling Text.ParserCombinators.Parsec.Language (
 Text/ParserCombinators/Parsec/Language.hs, nothing )
 [24 of 25] Compiling Text.Parsec.Perm ( Text/Parsec/Perm.hs, nothing )
 [25 of 25] Compiling Text.ParserCombinators.Parsec.Perm (
 Text/ParserCombinators/Parsec/Perm.hs, nothing )
 /usr/bin/ar: dist/build/Text/Parsec.o: No such file or directory

 real    0m2.110s
 user    0m1.682s
 sys     0m0.281s
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3032#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list