[commit: ghc] wip/angerman/llvmng: Adds cmm-sources to base (22023fe)

git at git.haskell.org git at git.haskell.org
Sat Nov 11 08:35:09 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/angerman/llvmng
Link       : http://ghc.haskell.org/trac/ghc/changeset/22023fe1e95f29fe23f9624bd95f899e18d3499e/ghc

>---------------------------------------------------------------

commit 22023fe1e95f29fe23f9624bd95f899e18d3499e
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Thu Nov 9 14:30:56 2017 +0800

    Adds cmm-sources to base
    
    Summary: With the introduction of `asm-srouces` and `cmm-sources` in haskell/cabal/pull/4857. Which was merged into `haskell/cabal` HEAD in`357d49d`. We can now declare the `cmm-files` properly, and as such they can be read out by the cabal library.
    
    Reviewers: bgamari, hvr
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4176


>---------------------------------------------------------------

22023fe1e95f29fe23f9624bd95f899e18d3499e
 libraries/base/base.cabal | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index 43c7882..e6f6420 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -338,6 +338,9 @@ Library
         cbits/primFloat.c
         cbits/sysconf.c
 
+    cmm-sources:
+        cbits/CastFloatWord.cmm
+
     include-dirs: include
     includes:
         HsBase.h



More information about the ghc-commits mailing list