Skip to content

Commit

Permalink
Merge #560
Browse files Browse the repository at this point in the history
560: Disable SMP for Arm cpus. r=karknu a=karknu

There is an RTS SMP bug in 8.6.x and earlier which affects Arm.
https://gitlab.haskell.org/ghc/ghc/merge_requests/734

Co-authored-by: Karl Knutsson <[email protected]>
  • Loading branch information
iohk-bors[bot] and karknu authored Feb 11, 2020
2 parents b2c7db0 + d170b91 commit 89de219
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cardano-node/cardano-node.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,11 @@ executable cardano-node
ghc-options: -threaded
-Wall
-rtsopts
"-with-rtsopts=-T -I0 -N2 -A16m"
-fno-warn-unticked-promoted-constructors
if arch(arm)
ghc-options: "-with-rtsopts=-T -I0 -N1 -A16m"
else
ghc-options: "-with-rtsopts=-T -I0 -N2 -A16m"

build-depends: base >=4.12 && <5
, cardano-config
Expand Down

0 comments on commit 89de219

Please sign in to comment.