mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
RPCS3: trying to build it with llvm16
This commit is contained in:
parent
26d8b9bb17
commit
0665fbaac2
|
@ -3,7 +3,7 @@ runtime: org.kde.Platform
|
|||
runtime-version: "6.5"
|
||||
sdk: org.kde.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.llvm17 # Needed for RPCS3
|
||||
- org.freedesktop.Sdk.Extension.llvm16 # Needed for RPCS3 (llvm17 actually)
|
||||
- org.freedesktop.Sdk.Extension.rust-stable # Needed for BoilR
|
||||
command: retrodeck.sh
|
||||
|
||||
|
@ -857,8 +857,11 @@ modules:
|
|||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
build-options:
|
||||
append-ld-library-path: /usr/lib/sdk/llvm17/lib
|
||||
append-path: /usr/lib/sdk/llvm17/bin
|
||||
# llvm17 is not available in framework 6.5 but in 6.6, so we're trying llvm16 and cross our fingers until Primehack is updated (as Primehack breaks on 6.6)
|
||||
#append-ld-library-path: /usr/lib/sdk/llvm17/lib
|
||||
#append-path: /usr/lib/sdk/llvm17/bin
|
||||
append-ld-library-path: /usr/lib/sdk/llvm16/lib
|
||||
append-path: /usr/lib/sdk/llvm16/bin
|
||||
cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
|
||||
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
|
||||
-fcf-protection -fno-omit-frame-pointer
|
||||
|
@ -884,7 +887,8 @@ modules:
|
|||
- -DUSE_SYSTEM_ZLIB=ON
|
||||
- -Wno-dev
|
||||
post-install:
|
||||
- cp /usr/lib/sdk/llvm17/lib/libLLVM-17.so /app/lib/
|
||||
#- cp /usr/lib/sdk/llvm17/lib/libLLVM-17.so /app/lib/
|
||||
- cp /usr/lib/sdk/llvm16/lib/libLLVM-16.so /app/lib/
|
||||
- |-
|
||||
set -eux
|
||||
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)"
|
||||
|
|
Loading…
Reference in a new issue