lol

Merge pull request #128606 from prusnak/openmpi

openmpi: re-enable fortran on aarch64-darwin

authored by

Pavol Rusnak and committed by
GitHub
a6a026ab 32188298

+11 -1
+11 -1
pkgs/development/libraries/openmpi/default.nix
··· 15 15 , fabricSupport ? stdenv.isLinux && stdenv.isx86_64 16 16 17 17 # Enable Fortran support 18 - , fortranSupport ? !(stdenv.isDarwin && stdenv.isAarch64) 18 + , fortranSupport ? true 19 19 }: 20 20 21 21 assert !cudaSupport || cudatoolkit != null; ··· 72 72 ; 73 73 74 74 enableParallelBuilding = true; 75 + 76 + # disable stackprotector on aarch64-darwin for now 77 + # https://github.com/NixOS/nixpkgs/issues/127608 78 + # 79 + # build error: 80 + # 81 + # /private/tmp/nix-build-openmpi-4.1.1.drv-0/ccg7QqR8.s:13:15: error: index must be an integer in range [-256, 255]. 82 + # ldr x2, [x2, ___stack_chk_guard];momd 83 + # 84 + hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; 75 85 76 86 postInstall = '' 77 87 rm -f $out/lib/*.la