At stenz's request, I changed to clang with llvm
Search Criteria
Package Details: pcsx2-git 2.3.119.r1.g9e21ee1bc4-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: | GPL-3.0+ |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | weirdbeard (xiota) |
Last Packager: | weirdbeard |
Votes: | 130 |
Popularity: | 0.103943 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2025-01-19 15:42 (UTC) |
Dependencies (38)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libbacktrace (libbacktrace-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- lld (llvm-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sdl2 (sdl2-compat-gitAUR, sdl2-gitAUR)
- shaderc (shaderc-gitAUR)
- soundtouch (soundtouch-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- alsa-utils (alsa-utils-gitAUR) (make)
- ccache (ccache-gitAUR) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- Show 18 more dependencies...
Required by (4)
- better-libretro-pcsx2-launcher-git (requires pcsx2)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 67 Next › Last »
weirdbeard commented on 2022-12-16 17:41 (UTC)
Dreamkey commented on 2022-10-05 16:11 (UTC)
@weirdbeard thank you it does compile now!
weirdbeard commented on 2022-10-04 22:46 (UTC)
I already fixed the issue
Neko-san commented on 2022-10-04 22:45 (UTC)
Try setting CMAKE_C_COMPILER_AR
and CMAKE_CXX_COMPILER_AR
(according to the log you showed)
I don't have this problem, so it's the only advice left I can give
Dreamkey commented on 2022-10-04 17:38 (UTC)
@Neko-san @weirdbeard it doesn't work even with this modification (also tried with export
). My makepkg.conf
is pretty much untouched, I left all the OPTIONS
by default.
weirdbeard commented on 2022-10-04 04:05 (UTC)
It's because of clang / LTO. If you turn either off the issue will go away. Which, I hate because LTO + clang is actually faster
Neko-san commented on 2022-10-03 22:23 (UTC) (edited on 2022-10-03 22:27 (UTC) by Neko-san)
@Dreamkey You can define AR
in /etc/makepkg.conf
like so:
AR="$(which ar)"
or:
AR="$(which llvm-ar)"
if you use clang instead of gcc.
Dreamkey commented on 2022-10-03 21:59 (UTC)
Hello, I can't compile the package anymore because it can't find "ar" anymore, even if binutils is installed on my system:
[1/527] Linking C static library 3rdparty/rcheevos/librcheevos.a
FAILED: 3rdparty/rcheevos/librcheevos.a
: && /usr/bin/cmake -E rm -f 3rdparty/rcheevos/librcheevos.a && "CMAKE_C_COMPILER_AR-NOTFOUND" cr 3rdparty/rcheevos/librcheevos.a [...]
/bin/sh: line 1: CMAKE_C_COMPILER_AR-NOTFOUND: command not found
[2/527] Linking CXX static library 3rdparty/discord-rpc/libdiscord-rpc.a
FAILED: 3rdparty/discord-rpc/libdiscord-rpc.a
: && /usr/bin/cmake -E rm -f 3rdparty/discord-rpc/libdiscord-rpc.a && "CMAKE_CXX_COMPILER_AR-NOTFOUND" cr 3rdparty/discord-rpc/libdiscord-rpc.a [...]
/bin/sh: line 1: CMAKE_CXX_COMPILER_AR-NOTFOUND: command not found
ninja: build stopped: subcommand failed.
weirdbeard commented on 2022-10-02 14:43 (UTC)
Just tested with the official zstd. Seems like they did add the missing CMake headers
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.