user1897830
user1897830

Reputation: 443

Unable to install criterion package

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

Answers (1)

sjakobi
sjakobi

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

Related Questions