Skip to content

Commit

Permalink
Only buildable on some architectures #47
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed May 31, 2016
1 parent 3a7ec26 commit e1f2c78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.yaml
Expand Up @@ -74,6 +74,11 @@ library:
source-dirs: src
other-modules:
- Data.Store.Impl
when:
# Theoretically, these are the architectures which support reasonably
# efficient unaligned access.
- condition: (!arch(I386) && !arch(X86_64) && !arch(IA64) && !impl(ghcjs))
buildable: false

tests:
store-test:
Expand Down
2 changes: 2 additions & 0 deletions store.cabal
Expand Up @@ -81,6 +81,8 @@ library
, unordered-containers >=0.2.5.1
, vector >=0.10.12.3
, void >=0.5.11
if (!arch(I386) && !arch(X86_64) && !arch(IA64) && !impl(ghcjs))
buildable: False
default-language: Haskell2010
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2

Expand Down

0 comments on commit e1f2c78

Please sign in to comment.