diff options
author | Austin Seipp <aseipp@pobox.com> | 2019-05-02 21:44:11 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2019-05-15 09:54:10 -0500 |
commit | 3f1c6801a2d30552c06079c97d3e427854f7029a (patch) | |
tree | 7920f3d2964e120746d4e00696bc25a345ceee11 /pkgs/servers/foundationdb/default.nix | |
parent | a13a0c8de447cd77e9b922ee12e700824b855ce0 (diff) | |
download | nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar.gz nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar.bz2 nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar.lz nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar.xz nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.tar.zst nixlib-3f1c6801a2d30552c06079c97d3e427854f7029a.zip |
foundationdb: init 6.1.6pre4898_26fbbbf, cmake build
This adds a new build of FoundationDB 6.1, using the new, much improved with CMake build system with fewer patches and rough edges. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/servers/foundationdb/default.nix')
-rw-r--r-- | pkgs/servers/foundationdb/default.nix | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/pkgs/servers/foundationdb/default.nix b/pkgs/servers/foundationdb/default.nix index b9b091f8476e..790959f0a0d6 100644 --- a/pkgs/servers/foundationdb/default.nix +++ b/pkgs/servers/foundationdb/default.nix @@ -1,12 +1,16 @@ -{ stdenv49 +{ stdenv, stdenv49, gcc9Stdenv, llvmPackages_8 , lib, fetchurl, fetchpatch, fetchFromGitHub -, which, findutils, m4, gawk -, python, openjdk, mono, libressl +, cmake, ninja, which, findutils, m4, gawk +, python, python3, openjdk, mono, libressl, boost }@args: let vsmakeBuild = import ./vsmake.nix args; + cmakeBuild = import ./cmake.nix (args // { + gccStdenv = gcc9Stdenv; + llvmPackages = llvmPackages_8; + }); python3-six-patch = fetchpatch { name = "update-python-six.patch"; @@ -21,6 +25,10 @@ let }; in with builtins; { + + # Older versions use the bespoke 'vsmake' build system + # ------------------------------------------------------ + foundationdb51 = vsmakeBuild rec { version = "5.1.7"; branch = "release-5.1"; @@ -56,4 +64,21 @@ in with builtins; { ./patches/ldflags-6.0.patch ]; }; + + # 6.1 and later versions should always use CMake + # ------------------------------------------------------ + + foundationdb61 = cmakeBuild rec { + version = "6.1.6pre4898_${substring 0 7 rev}"; + branch = "release-6.1"; + rev = "26fbbbf798971b2b9ecb882a8af766fa36734f53"; + sha256 = "1q1a1j8h0qlh67khcds0dg416myvjbp6gfm6s4sk8d60zfzny7wb"; + officialRelease = false; + + patches = [ + ./patches/clang-libcxx.patch + ./patches/suppress-clang-warnings.patch + ]; + }; + } |