Skip to content

Commit

Permalink
llvmPackages*.lldb: fixup input by disabling libedit
Browse files Browse the repository at this point in the history
Fixes #20773.  https://llvm.org/bugs/show_bug.cgi?id=28898
Of course, feel free to find a better solution.

I love this copy&paste :-/

(cherry picked from commit b67ae8b)
  • Loading branch information
vcunat committed Nov 28, 2016

Verified

This commit was signed with the committer’s verified signature.
vcunat Vladimír Čunát
1 parent 4626857 commit 539356f
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.4/lldb.nix
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ stdenv.mkDerivation {
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang}"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.5/lldb.nix
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ stdenv.mkDerivation {
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang}"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.6/lldb.nix
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ stdenv.mkDerivation {
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
"-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.7/lldb.nix
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ stdenv.mkDerivation {
"-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
"-DPYTHON_VERSION_MAJOR=2"
"-DPYTHON_VERSION_MINOR=7"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.8/lldb.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ stdenv.mkDerivation {
"-DCLANG_MAIN_INCLUDE_DIR=${clang-unwrapped}/include"
"-DPYTHON_VERSION_MAJOR=2"
"-DPYTHON_VERSION_MINOR=7"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/3.9/lldb.nix
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@ stdenv.mkDerivation {
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_MAIN_INCLUDE_DIR=${llvm}/include"
"-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
];

enableParallelBuilding = true;

0 comments on commit 539356f

Please sign in to comment.