ceph: Enable accelio only on 10+

This commit is contained in:
William A. Kennington III 2015-07-29 18:14:00 -07:00
parent a7abfaff2a
commit fdc076c986

View file

@ -75,10 +75,9 @@ let
hasOsd = hasServer;
hasRadosgw = optFcgi != null && optExpat != null && optCurl != null && optLibedit != null;
/*hasXio = (stdenv.isLinux || stdenv.isFreeBSD) &&
versionAtLeast version "9.0.0" &&
optAccelio != null && optLibibverbs != null && optLibrdmacm != null;*/
hasXio = false; # Broken with xio 1.4
hasXio = (stdenv.isLinux || stdenv.isFreeBSD) &&
versionAtLeast version "10.0.0" &&
optAccelio != null && optLibibverbs != null && optLibrdmacm != null;
hasRocksdb = versionAtLeast version "9.0.0" && optRocksdb != null;