lol

Merge pull request #145854 from flurie/fix-blitz-darwin

blitz: fix build for darwin

authored by

Dmitry Kalinkin and committed by
GitHub
b83e188d f22d2c44

+19 -8
+19 -8
pkgs/development/libraries/blitz/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, pkg-config, gfortran, texinfo, python, boost 2 - # Select SIMD alignment width (in bytes) for vectorization. 3 , simdWidth ? 1 4 - # Pad arrays to simdWidth by default? 5 - # Note: Only useful if simdWidth > 1 6 , enablePadding ? false 7 - # Activate serialization through Boost.Serialize? 8 , enableSerialization ? true 9 - # Activate test-suite? 10 - # WARNING: Some of the tests require up to 1700MB of memory to compile. 11 , doCheck ? true 12 }: 13 ··· 29 buildInputs = [ gfortran texinfo boost ]; 30 31 configureFlags = 32 - [ "--enable-shared" 33 "--disable-static" 34 "--enable-fortran" 35 "--enable-optimize" ··· 44 ] ++ optional enablePadding "--enable-array-length-padding" 45 ++ optional enableSerialization "--enable-serialization" 46 ++ optional stdenv.is64bit "--enable-64bit"; 47 48 enableParallelBuilding = true; 49
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , pkg-config 5 + , gfortran 6 + , texinfo 7 + , python 8 + , boost 9 + # Select SIMD alignment width (in bytes) for vectorization. 10 , simdWidth ? 1 11 + # Pad arrays to simdWidth by default? 12 + # Note: Only useful if simdWidth > 1 13 , enablePadding ? false 14 + # Activate serialization through Boost.Serialize? 15 , enableSerialization ? true 16 + # Activate test-suite? 17 + # WARNING: Some of the tests require up to 1700MB of memory to compile. 18 , doCheck ? true 19 }: 20 ··· 36 buildInputs = [ gfortran texinfo boost ]; 37 38 configureFlags = 39 + [ 40 + "--enable-shared" 41 "--disable-static" 42 "--enable-fortran" 43 "--enable-optimize" ··· 52 ] ++ optional enablePadding "--enable-array-length-padding" 53 ++ optional enableSerialization "--enable-serialization" 54 ++ optional stdenv.is64bit "--enable-64bit"; 55 + 56 + # skip broken library name detection 57 + ax_boost_user_serialization_lib = lib.optionalString stdenv.isDarwin "boost_serialization"; 58 59 enableParallelBuilding = true; 60