Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] llvm 9 update #85151

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
mpfr: disable test for clang 9
LnL7 committed Jul 18, 2020
commit 7c89e43e1433bf7bab4e14a94fb0ae52954ef01b
5 changes: 5 additions & 0 deletions pkgs/development/libraries/mpfr/default.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
# mpfr.h requires gmp.h
propagatedBuildInputs = [ gmp ];

# Bug reported by upstream https://bugs.llvm.org/show_bug.cgi?id=43557
prePatch = stdenv.lib.optionalString stdenv.cc.isClang ''
rm tests/tcmp_ui.c
'';

configureFlags =
stdenv.lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
stdenv.lib.optional stdenv.hostPlatform.is64bit "--with-pic";