It's not using clang on my machine. Tried in a chroot and still is using gcc.
Search Criteria
Package Details: pcsx2-git 1.7.4275.r0.g66a13d4c3-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://www.pcsx2.net |
Licenses: | GPL2, GPL3, LGPL3, LGPL2.1 |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | rafaelff (weirdbeard) |
Last Packager: | weirdbeard |
Votes: | 123 |
Popularity: | 0.103101 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2023-03-31 14:37 (UTC) |
Dependencies (25)
- alsa-lib (alsa-lib-git, alsa-lib-minimal-git, alsa-lib-x205ta)
- ffmpeg (ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-mmal, ffmpeg-decklink, ffmpeg-amd-full-git, ffmpeg-amd-full, ffmpeg-gpl-bin, ffmpeg-v4l2-request-git, ffmpeg-headless, ffmpeg-nocuda, ffmpeg-nonvidia, ffmpeg-cuda, ffmpeg-jxl, ffmpeg-mpp, ffmpeg-libfdk_aac, ffmpeg-full, ffmpeg-full-git, ffmpeg-obs)
- hicolor-icon-theme (hicolor-icon-theme-git)
- libaio (libaio-git)
- libglvnd (libglvnd-git)
- libpcap (libpcap-git)
- libpng (libpng-minimal-git, libpng-git, libpng-apng)
- libxrandr (libxrandr-git)
- qt6-base (qt6-base-git, qt6-base-headless)
- qt6-svg
- sdl2 (sdl2-minimal-git, sdl2-minimal-x11-git, sdl2-nox, sdl2-nox-git, sdl2-git)
- soundtouch (soundtouch-git)
- wayland (wayland-git, wayland-nodocs-git)
- clang (clang8, clang-git, llvm-git, llvm-minimal-git) (make)
- cmake (cmake-git) (make)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- libpulse (libpulse-bluedio, pulseaudio-pali, pulseaudio-dummy, libpulse-nosystemd-git, libpulse-nosystemd, libpulse-nosystemd-minimal-git, libpulse-airplay, pulseaudio-git) (make)
- lld (llvm-git) (make)
- llvm (llvm8, llvm-git, llvm-minimal-git) (make)
- ninja (ninja-git, ninja-samurai, ninja-bin, python-ninja, ninja-kitware, ninja-mem) (make)
- p7zip (p7zip-jinfeihan57-git, p7zip-natspec, 7-zip-full) (make)
- qt6-tools (make)
- qt6-wayland (make)
- libpulse (libpulse-bluedio, pulseaudio-pali, pulseaudio-dummy, libpulse-nosystemd-git, libpulse-nosystemd, libpulse-nosystemd-minimal-git, libpulse-airplay, pulseaudio-git) (optional) – Pulseaudio support
- qt6-wayland (optional) – Wayland support
Required by (4)
- age-of-empires-2-the-age-of-kings (requires pcsx2)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (17)
- 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/facebook/zstd.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/KhronosGroup/glslang.git
- git+https://github.com/nih-at/libzip.git
- git+https://github.com/PCSX2/pcsx2.git
- git+https://github.com/PCSX2/pcsx2_patches.git
- git+https://github.com/RetroAchievements/rcheevos.git
- git+https://github.com/rtissera/libchdr.git
- pcsx2-qt.sh
- vulkan-headers
- xz-pcsx2
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 53 Next › Last »
rodrigo21 commented on 2023-01-09 06:20 (UTC)
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"
Neko-san commented on 2022-12-17 11:00 (UTC)
Why specifically Clang12 though?
weirdbeard commented on 2022-12-16 17:41 (UTC)
At stenz's request, I changed to clang with llvm
Pinned Comments