libretro: enableParalellBuilding, except for older MAMEs

MAME since 0.225 have a fix for the build issues while building in
parallel. Since libretro.mame is on 0.227 right now, should be safe to
enable.

Since eventually enableParallelBuilding should be the default, enabling
it for all cores except the older MAMEs seems better than just enabling
for libretro.mame.

+8 -2
+8 -2
pkgs/misc/emulators/retroarch/cores.nix
··· 91 91 --add-flags "-L $COREDIR/${d2u core}_libretro${stdenv.hostPlatform.extensions.sharedLibrary} $@" 92 92 ''; 93 93 94 + enableParallelBuilding = true; 95 + 94 96 passthru = { 95 97 inherit core; 96 98 libretroCore = "/lib/retroarch/cores"; ··· 427 429 core = "mame"; 428 430 description = "Port of MAME to libretro"; 429 431 license = with lib.licenses; [ bsd3 gpl2Plus ]; 430 - 431 432 extraBuildInputs = [ alsa-lib libGLU libGL portaudio python3 xorg.libX11 ]; 432 433 postPatch = '' 433 434 # Prevent the failure during the parallel building of: ··· 443 444 license = "MAME"; 444 445 makefile = "Makefile"; 445 446 makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0"; 447 + enableParallelBuilding = false; 446 448 }; 447 449 448 450 mame2003 = mkLibRetroCore { ··· 450 452 description = "Port of MAME ~2003 to libretro"; 451 453 license = "MAME"; 452 454 makefile = "Makefile"; 455 + enableParallelBuilding = false; 453 456 }; 454 457 455 458 mame2003-plus = mkLibRetroCore { ··· 457 460 description = "Port of MAME ~2003+ to libretro"; 458 461 license = "MAME"; 459 462 makefile = "Makefile"; 463 + enableParallelBuilding = false; 460 464 }; 461 465 462 466 mame2010 = mkLibRetroCore { ··· 465 469 license = "MAME"; 466 470 makefile = "Makefile"; 467 471 makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ]; 472 + enableParallelBuilding = false; 468 473 }; 469 474 470 475 mame2015 = mkLibRetroCore { ··· 474 479 extraNativeBuildInputs = [ python27 ]; 475 480 extraBuildInputs = [ alsa-lib ]; 476 481 makefile = "Makefile"; 482 + enableParallelBuilding = false; 477 483 }; 478 484 479 485 mame2016 = mkLibRetroCore { ··· 494 500 # make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o 495 501 mkdir -p 3rdparty/genie/build/gmake.linux/obj/Release/src/host/lua-5.3.0/src 496 502 ''; 503 + enableParallelBuilding = false; 497 504 }; 498 505 499 506 mesen = mkLibRetroCore { ··· 523 530 src = getCoreSrc "mupen64plus"; 524 531 description = "Libretro port of Mupen64 Plus, GL only"; 525 532 license = lib.licenses.gpl3Only; 526 - 527 533 extraBuildInputs = [ libGLU libGL libpng nasm xorg.libX11 ]; 528 534 makefile = "Makefile"; 529 535 };