[commit: nofib] master: fibheaps: Ensure we link against array (4f149ed)

git at git.haskell.org git at git.haskell.org
Mon Mar 13 23:44:41 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4f149ed3cc5e8a67a6b5737ec03653f6b4b7a87e/nofib

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

commit 4f149ed3cc5e8a67a6b5737ec03653f6b4b7a87e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Mar 13 18:34:35 2017 -0400

    fibheaps: Ensure we link against array
    
    Summary:
    I'm not sure how this worked previously, but we clearly need to link
    against array here.
    
    Test Plan: Build it
    
    Reviewers: michalt, O26 nofib
    
    Reviewed By: michalt, O26 nofib
    
    Differential Revision: https://phabricator.haskell.org/D3295


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

4f149ed3cc5e8a67a6b5737ec03653f6b4b7a87e
 gc/fibheaps/Makefile       | 1 +
 spectral/fibheaps/Makefile | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/gc/fibheaps/Makefile b/gc/fibheaps/Makefile
index b618d80..9cadde2 100644
--- a/gc/fibheaps/Makefile
+++ b/gc/fibheaps/Makefile
@@ -3,6 +3,7 @@ include $(TOP)/mk/boilerplate.mk
 
 NORM_OPTS = 300000
 
+SRC_HC_OPTS += -package array
 SRC_RUNTEST_OPTS += +RTS -K64m -RTS
 
 ifeq "$(HEAP)" "LARGE"
diff --git a/spectral/fibheaps/Makefile b/spectral/fibheaps/Makefile
index 05b3d4d..28c8022 100644
--- a/spectral/fibheaps/Makefile
+++ b/spectral/fibheaps/Makefile
@@ -1,6 +1,8 @@
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 
+​SRC_HC_OPTS += -package array
+
 FAST_OPTS = 5000
 NORM_OPTS = 5000
 SLOW_OPTS = 60000



More information about the ghc-commits mailing list