folly: 2018.08.27.00 -> 2018.10.29.00
Folly disabled autotools-based builds in favor of CMake.
This commit is contained in:
parent
82822c66e4
commit
45db416201
|
@ -1,26 +1,29 @@
|
||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, boost, libevent
|
{ stdenv, fetchFromGitHub, cmake, boost, libevent, double-conversion, glog
|
||||||
, double-conversion, glog, google-gflags, python, libiberty, openssl }:
|
, google-gflags, libiberty, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "folly-${version}";
|
name = "folly-${version}";
|
||||||
version = "2018.08.27.00";
|
version = "2018.10.29.00";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "folly";
|
repo = "folly";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0slnhn8q26mj23gm36c61b4ar857q8c844ifpvw4q329nndbrgcz";
|
sha256 = "0bbp4w8wbawh3ilgkl7rwvbqkdczpvfn92f9lcvxj8sili0nldab";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook python pkgconfig ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ libiberty boost libevent double-conversion glog google-gflags openssl ];
|
|
||||||
|
|
||||||
postPatch = "cd folly";
|
# See CMake/folly-deps.cmake in the Folly source tree.
|
||||||
preBuild = ''
|
buildInputs = [
|
||||||
patchShebangs build
|
boost
|
||||||
'';
|
double-conversion
|
||||||
|
glog
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
google-gflags
|
||||||
|
libevent
|
||||||
|
libiberty
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue