summaryrefslogtreecommitdiff
path: root/rts/rts.cabal.in
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-05-14 10:17:51 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-15 10:45:40 -0400
commit45ad0c3946623bc8635d6e3964d9ebb1555a3df6 (patch)
tree241a1e451a04e7f5a88cefd18029a199af0fdfb1 /rts/rts.cabal.in
parent9dbf66d74e65309d02c9d700094e363f59c94096 (diff)
downloadhaskell-45ad0c3946623bc8635d6e3964d9ebb1555a3df6.tar.gz
Ensure that RTS cabal file reflects dependency on libnuma
Test Plan: Validate with Hadrian and `libnuma` support Reviewers: snowleopard, hvr, erikd, simonmar Subscribers: izgzhen, alpmestan, thomie, carter Differential Revision: https://phabricator.haskell.org/D4616
Diffstat (limited to 'rts/rts.cabal.in')
-rw-r--r--rts/rts.cabal.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in
index 7c1df5a342..a82deb0205 100644
--- a/rts/rts.cabal.in
+++ b/rts/rts.cabal.in
@@ -20,6 +20,8 @@ flag mingwex
default: @CabalMingwex@
flag libdw
default: @CabalHaveLibdw@
+flag libnuma
+ default: @CabalHaveLibNuma@
flag 64bit
default: @Cabal64bit@
flag leading-underscore
@@ -88,6 +90,8 @@ library
if flag(libdw)
-- for backtraces
extra-libraries: elf dw
+ if flag(libnuma)
+ extra-libraries: numa
if !flag(smp)
cpp-options: -DNOSMP