Merge pull request #226726 from trofi/openexr_3-sse-precision
pkgsi686Linux.openexr_3: enforce SSE arithmetics (instead of x87)
This commit is contained in:
@@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
propagatedBuildInputs = [ imath zlib ];
|
||||
|
||||
# Without 'sse' enforcement tests fail on i686 as due to excessive precision as:
|
||||
# error reading back channel B pixel 21,-76 got -nan expected -nan
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-msse2 -mfpmath=sse";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user