[Bug 285437] rpcs3 fails to find the correct llvm version

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Mar 2025 14:02:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285437

            Bug ID: 285437
           Summary: rpcs3 fails to find the correct llvm version
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: d.toschlaeger@gmail.com
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Hi
I try to compile emulators/rpcs3 (version rpcs3-0.0.35) from the ports but is
fails to find/to select the right installed llvm compiler system. I have
multiple versions installed

llvm12-12.0.1_13
llvm15-15.0.7_10
llvm17-17.0.6_8
llvm19-19.1.7_1

it doesen't get it. There is no switch to use a specific version OR the bundled
llvm. rpcs demands a version bigger or equal 18. Like you see I have 19
installed. It finds LLVM 15. and stops the process. This is all info I get

-- RPCS3: Using system FAudio
-- RPCS3: using shared ffmpeg
-- Found FFMPEG or Libav:
/usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so;/usr/local/lib/libswscale.so;/usr/local/lib/libswresample.so,
/usr/local/include
-- Using prebuilt or system LLVM
CMake Error at 3rdparty/llvm/CMakeLists.txt:73 (message):
  Found LLVM version 15.0.7.  Required version 18 or above.                     
  Enable BUILD_LLVM option to build LLVM from included as a git submodule.


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/emulators/rpcs3
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/rpcs3

-- 
You are receiving this mail because:
You are the assignee for the bug.