fibheaps: Ensure we link against array
authorBen Gamari <ben@smart-cactus.org>
Mon, 13 Mar 2017 22:34:35 +0000 (18:34 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 13 Mar 2017 23:44:06 +0000 (19:44 -0400)
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

gc/fibheaps/Makefile
spectral/fibheaps/Makefile

index b618d80..9cadde2 100644 (file)
@@ -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"
index 05b3d4d..28c8022 100644 (file)
@@ -1,6 +1,8 @@
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 
+​SRC_HC_OPTS += -package array
+
 FAST_OPTS = 5000
 NORM_OPTS = 5000
 SLOW_OPTS = 60000