Merge pull request #118270 from jackgerrits/vowpal-wabbit-8.10.0
vowpal-wabbit: 8.9.2 -> 8.10.0
This commit is contained in:
commit
4578d55816
@ -1,27 +1,33 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, boost169, rapidjson, zlib }:
|
{ lib, stdenv, fetchFromGitHub, cmake, boost169, flatbuffers, fmt, rapidjson, spdlog, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "vowpal-wabbit";
|
pname = "vowpal-wabbit";
|
||||||
version = "8.9.2";
|
version = "8.10.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "VowpalWabbit";
|
owner = "VowpalWabbit";
|
||||||
repo = "vowpal_wabbit";
|
repo = "vowpal_wabbit";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0ng1kip7sh3br85691xvszxd6lhv8nhfkgqkpwxd89wy85znzhmd";
|
sha256 = "1vxnwanflsx6zf8m9mrxms28ii7rl61xfxp3556y3iawmy11d6pl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost169
|
boost169
|
||||||
|
flatbuffers
|
||||||
|
fmt
|
||||||
rapidjson
|
rapidjson
|
||||||
|
spdlog
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
# -DBUILD_TESTS=OFF is set as both it saves time in the build and the default
|
# -DBUILD_TESTS=OFF is set as both it saves time in the build and the default
|
||||||
# cmake flags appended by the builder include -DBUILD_TESTING=OFF for which
|
# cmake flags appended by the builder include -DBUILD_TESTING=OFF for which
|
||||||
# this is the equivalent flag.
|
# this is the equivalent flag.
|
||||||
|
# Flatbuffers are an optional feature.
|
||||||
|
# BUILD_FLATBUFFERS=ON turns it on. This will still consume Flatbuffers as a
|
||||||
|
# system dependency
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DVW_INSTALL=ON"
|
"-DVW_INSTALL=ON"
|
||||||
"-DBUILD_TESTS=OFF"
|
"-DBUILD_TESTS=OFF"
|
||||||
@ -29,10 +35,12 @@ stdenv.mkDerivation rec {
|
|||||||
"-DBUILD_PYTHON=OFF"
|
"-DBUILD_PYTHON=OFF"
|
||||||
"-DUSE_LATEST_STD=ON"
|
"-DUSE_LATEST_STD=ON"
|
||||||
"-DRAPIDJSON_SYS_DEP=ON"
|
"-DRAPIDJSON_SYS_DEP=ON"
|
||||||
|
"-DFMT_SYS_DEP=ON"
|
||||||
|
"-DSPDLOG_SYS_DEP=ON"
|
||||||
|
"-DBUILD_FLATBUFFERS=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isAarch32 || stdenv.isAarch64;
|
|
||||||
description = "Machine learning system focused on online reinforcement learning";
|
description = "Machine learning system focused on online reinforcement learning";
|
||||||
homepage = "https://github.com/VowpalWabbit/vowpal_wabbit/";
|
homepage = "https://github.com/VowpalWabbit/vowpal_wabbit/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
Loading…
Reference in New Issue
Block a user