Reputation: 443
When I attempt to install the criterion package I get the following error message: error: #error Unsupported OS/architecture/compiler!. I believe the fix is here: Restore support for 32 bit Intel CPUs . However how do I install that fix?
Upvotes: 0
Views: 186
Reputation: 3606
As I can tell from http://hackage.haskell.org/package/criterion-1.1.4.0/src/cbits/cycles.c, v1.1.4.0 includes the fix you linked to.
To use that version or a later one, add a lower bound to your dependency on criterion
:
build-depends:
...
, criterion >= 1.1.4.0
...
Upvotes: 1