Merge pull request #1367 from j8r/update-to-LLVM-16

Update to LLVM 16
This commit is contained in:
Lctrs 2023-05-07 15:07:16 +02:00 committed by GitHub
commit 7c0573cf6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ runtime: org.kde.Platform
runtime-version: 5.15-22.08 runtime-version: 5.15-22.08
sdk: org.kde.Sdk sdk: org.kde.Sdk
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm15 - org.freedesktop.Sdk.Extension.llvm16
command: rpcs3 command: rpcs3
rename-desktop-file: rpcs3.desktop rename-desktop-file: rpcs3.desktop
rename-appdata-file: rpcs3.metainfo.xml rename-appdata-file: rpcs3.metainfo.xml
@ -58,8 +58,8 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
builddir: true builddir: true
build-options: build-options:
append-ld-library-path: /usr/lib/sdk/llvm15/lib append-ld-library-path: /usr/lib/sdk/llvm16/lib
append-path: /usr/lib/sdk/llvm15/bin 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
@ -74,15 +74,13 @@ modules:
ldflags: -fuse-ld=lld ldflags: -fuse-ld=lld
config-opts: config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DBUILD_LLVM=ON - -DBUILD_LLVM=OFF
- -DSTATIC_LINK_LLVM=ON
- -DUSE_NATIVE_INSTRUCTIONS=OFF - -DUSE_NATIVE_INSTRUCTIONS=OFF
- -DUSE_PRECOMPILED_HEADERS=OFF - -DUSE_PRECOMPILED_HEADERS=OFF
- -DUSE_SYSTEM_CURL=ON - -DUSE_SYSTEM_CURL=ON
- -DUSE_SYSTEM_FFMPEG=ON - -DUSE_SYSTEM_FFMPEG=ON
- -DUSE_SYSTEM_LIBPNG=ON - -DUSE_SYSTEM_LIBPNG=ON
- -DUSE_SYSTEM_ZLIB=ON - -DUSE_SYSTEM_ZLIB=ON
- -DITTAPI_SOURCE_DIR=/run/build/rpcs3/ittapi
- -Wno-dev - -Wno-dev
post-install: post-install:
- |- - |-
@ -96,15 +94,4 @@ modules:
- type: git - type: git
url: https://github.com/RPCS3/rpcs3.git url: https://github.com/RPCS3/rpcs3.git
branch: master branch: master
commit: 195de818b686c598ee83cf7bac687f9a963074b6 commit: ead8e5e0c35c817da21fb7710adf912af42b9b96
- type: git
url: https://github.com/intel/ittapi.git
branch: master
commit: 4a3762fbc517475bfb0586efc513e51c164108c9
dest: ittapi/ittapi
disable-shallow-clone: true
# remove git-lfs hook
- type: inline
dest: ittapi/ittapi/.git/hooks
dest-filename: post-checkout
contents: