mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
llvm_5: disable print_context.c (fails on gcc-11 / dwarf-5)
gcc-11 defaults to -gdwarf-5 and makes llvm symbolizer test fail. As it's the only failing test let's just skip it for llvm-5.
This commit is contained in:
parent
42ade1cfa3
commit
02310b34b5
@ -82,6 +82,9 @@ stdenv.mkDerivation ({
|
|||||||
substituteInPlace unittests/Support/CMakeLists.txt \
|
substituteInPlace unittests/Support/CMakeLists.txt \
|
||||||
--replace "Path.cpp" ""
|
--replace "Path.cpp" ""
|
||||||
rm unittests/Support/Path.cpp
|
rm unittests/Support/Path.cpp
|
||||||
|
|
||||||
|
# llvm-5 does not support dwarf-5 style info, fails on gcc-11.
|
||||||
|
rm test/tools/llvm-symbolizer/print_context.c
|
||||||
'' + optionalString stdenv.isAarch64 ''
|
'' + optionalString stdenv.isAarch64 ''
|
||||||
patch -p0 < ${../../aarch64.patch}
|
patch -p0 < ${../../aarch64.patch}
|
||||||
'' + optionalString stdenv.hostPlatform.isMusl ''
|
'' + optionalString stdenv.hostPlatform.isMusl ''
|
||||||
|
Loading…
Reference in New Issue
Block a user