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