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.
Search Criteria
Package Details: pcsx2-git 1.7.5703.r0.g070068366f-1
Package Actions
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)
- alsa-lib
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-gitAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-full-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-cudaAUR, ffmpeg-nocudaAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- shaderc-non-semantic-debugAUR
- soundtouch (soundtouch-gitAUR)
- wayland (wayland-gitAUR, wayland-chromiumAUR, wayland-asan-gitAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR) (make)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (make)
- qt6-tools (make)
- qt6-wayland (make)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR) (optional) – Pipewire support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- qt6-wayland (optional) – Wayland support
Required by (3)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (11)
- git+https://github.com/biojppm/c4core.git
- git+https://github.com/biojppm/cmake.git
- git+https://github.com/biojppm/debugbreak.git
- git+https://github.com/biojppm/rapidyaml.git
- git+https://github.com/fastfloat/fast_float.git
- git+https://github.com/fmtlib/fmt.git
- git+https://github.com/google/googletest.git
- git+https://github.com/PCSX2/pcsx2.git
- git+https://github.com/PCSX2/pcsx2_patches.git
- pcsx2-qt.sh
- vulkan-headers
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)
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"
Pinned Comments