mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +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"
|
runtime-version: "6.5"
|
||||||
sdk: org.kde.Sdk
|
sdk: org.kde.Sdk
|
||||||
sdk-extensions:
|
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
|
- org.freedesktop.Sdk.Extension.rust-stable # Needed for BoilR
|
||||||
command: retrodeck.sh
|
command: retrodeck.sh
|
||||||
|
|
||||||
|
@ -857,8 +857,11 @@ modules:
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
builddir: true
|
builddir: true
|
||||||
build-options:
|
build-options:
|
||||||
append-ld-library-path: /usr/lib/sdk/llvm17/lib
|
# 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-path: /usr/lib/sdk/llvm17/bin
|
#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
|
cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
|
||||||
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
|
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
-fcf-protection -fno-omit-frame-pointer
|
-fcf-protection -fno-omit-frame-pointer
|
||||||
|
@ -884,7 +887,8 @@ modules:
|
||||||
- -DUSE_SYSTEM_ZLIB=ON
|
- -DUSE_SYSTEM_ZLIB=ON
|
||||||
- -Wno-dev
|
- -Wno-dev
|
||||||
post-install:
|
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
|
set -eux
|
||||||
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)"
|
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)"
|
||||||
|
|
Loading…
Reference in a new issue