Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2020 01:20:20 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r533726 - in branches/2020Q2/emulators/rpcs3: . files
Message-ID:  <202005030120.0431KKYq036012@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun May  3 01:20:19 2020
New Revision: 533726
URL: https://svnweb.freebsd.org/changeset/ports/533726

Log:
  MFH: r533725
  
  emulators/rpcs3: disable LLVM for SPU on FreeBSD 11 by default
  
  Many games crash which gives bad first impression.
  
  PR:		240495
  Approved by:	ports-secteam blanket

Added:
  branches/2020Q2/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h
     - copied unchanged from r533725, head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h
Modified:
  branches/2020Q2/emulators/rpcs3/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/emulators/rpcs3/Makefile
==============================================================================
--- branches/2020Q2/emulators/rpcs3/Makefile	Sun May  3 01:19:53 2020	(r533725)
+++ branches/2020Q2/emulators/rpcs3/Makefile	Sun May  3 01:20:19 2020	(r533726)
@@ -5,6 +5,7 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	0.0.9-10084 # git rev-list --count HEAD
 DISTVERSIONSUFFIX=	-g85c4321c2
 PORTREVISION=	1
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	jbeich@FreeBSD.org

Copied: branches/2020Q2/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h (from r533725, head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q2/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h	Sun May  3 01:20:19 2020	(r533726, copy of r533725, head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h)
@@ -0,0 +1,16 @@
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240495
+
+--- rpcs3/Emu/system_config.h.orig	2020-05-02 11:57:38 UTC
++++ rpcs3/Emu/system_config.h
+@@ -28,7 +28,11 @@ struct cfg_root : cfg::node
+ 		cfg::_int<0, INT32_MAX> llvm_threads{ this, "Max LLVM Compile Threads", 0 };
+ 		cfg::_bool thread_scheduler_enabled{ this, "Enable thread scheduler", thread_scheduler_enabled_def };
+ 		cfg::_bool set_daz_and_ftz{ this, "Set DAZ and FTZ", false };
++#if defined(__FreeBSD__) && __FreeBSD__ < 12
++		cfg::_enum<spu_decoder_type> spu_decoder{ this, "SPU Decoder", spu_decoder_type::asmjit };
++#else
+ 		cfg::_enum<spu_decoder_type> spu_decoder{ this, "SPU Decoder", spu_decoder_type::llvm };
++#endif
+ 		cfg::_bool lower_spu_priority{ this, "Lower SPU thread priority" };
+ 		cfg::_bool spu_debug{ this, "SPU Debug" };
+ 		cfg::_int<0, 6> preferred_spu_threads{ this, "Preferred SPU Threads", 0, true }; // Number of hardware threads dedicated to heavy simultaneous spu tasks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005030120.0431KKYq036012>