Package Details: pcsx2-git 1.7.5703.r0.g070068366f-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: A Sony PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL2, GPL3, LGPL3, LGPL2.1
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: rafaelff (weirdbeard)
Last Packager: weirdbeard
Votes: 127
Popularity: 0.37
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2024-04-13 15:10 (UTC)

Dependencies (31)

Required by (3)

Sources (11)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 56 Next › Last »

eugene commented on 2023-01-09 18:27 (UTC) (edited on 2023-01-09 18:27 (UTC) by eugene)

For me build was failing with CMAKE_C_COMPILER_AR-NOTFOUND, CMAKE_CXX_COMPILER_AR-NOTFOUND and CMAKE_C_COMPILER_RANLIB-NOTFOUND errors. I was able to make it work by addition of llvm to makedepends and setting -DCMAKE_AR=/usr/bin/llvm-ar and -DCMAKE_RANLIB=/usr/bin/llvm-ranlib cmake options.

weirdbeard commented on 2023-01-09 14:10 (UTC)

Alright, since despite it doing so on my machine it's then clear that it's not on others. I've moved the exports to cmake options. Should resolve that issue

rodrigo21 commented on 2023-01-09 06:20 (UTC)

It's not using clang on my machine. Tried in a chroot and still is using gcc.

weirdbeard commented on 2023-01-08 15:53 (UTC)

It definitely is. Earlier it was crashing on some old clang specific code in gtest

niobium93 commented on 2023-01-08 06:45 (UTC)

I still don't think it's using clang.

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0

Maybe we need to pass options to cmake like this?

    -DCMAKE_CXX_COMPILER=clang++ \
    -DCMAKE_C_COMPILER=clang \
    -DCMAKE_C_FLAGS="$CFLAGS -flto=thin" \
    -DCMAKE_CXX_FLAGS="$CXXFLAGS -flto=thin" \

Or maybe export those envvars in the build function?

weirdbeard commented on 2023-01-07 01:09 (UTC)

Try it again. I was waiting for a PR that would fix a few things I was having trouble with / it'll actually build with clang now if it wasn't before.

Karlk94 commented on 2023-01-06 15:51 (UTC)

Its failing to compile for me. cc1plus: all warnings being treated as errors [626/694] Building CXX object pcsx2/CMakeFiles/GS-avx2.dir/GS/Renderers/SW/GSSetupPrimCodeGenerator.all.cpp.o ninja: build stopped: subcommand failed.

weirdbeard commented on 2023-01-05 04:15 (UTC)

Oops, yeah sorry. Thanks for catching that mistake. Been going back and forth on keeping with the changes to PCSX2's build system and missed that. Otherwise yeah, clang + LTO's a bit faster then GCC which is why it's set

niobium93 commented on 2023-01-05 03:51 (UTC)

Shouldn't clang and lld be in makedepends? ChaoticAUR currently still seems to build with gcc. Probably because clang and lld never get installed in their chroot.

weirdbeard commented on 2022-12-17 22:05 (UTC)

You'd have to ask Stenz that. I was just "supposed to match the CI"