mirror of https://github.com/PCSX2/pcsx2.git
CI/AppImage: Bump to Clang/LLVM 17
This commit is contained in:
parent
dcf57093f8
commit
f025261ddf
|
@ -110,8 +110,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
COMPILER: ${{ inputs.compiler }}
|
COMPILER: ${{ inputs.compiler }}
|
||||||
ADDITIONAL_CMAKE_ARGS: ${{ inputs.cmakeflags }}
|
ADDITIONAL_CMAKE_ARGS: ${{ inputs.cmakeflags }}
|
||||||
CLANG_PATH: /usr/bin/clang-16
|
CLANG_PATH: /usr/bin/clang-17
|
||||||
CLANGXX_PATH: /usr/bin/clang++-16
|
CLANGXX_PATH: /usr/bin/clang++-17
|
||||||
run: |
|
run: |
|
||||||
DEPS_PREFIX="$HOME/deps" .github/workflows/scripts/linux/generate-cmake-qt.sh
|
DEPS_PREFIX="$HOME/deps" .github/workflows/scripts/linux/generate-cmake-qt.sh
|
||||||
|
|
||||||
|
|
|
@ -65,11 +65,11 @@ declare -a PCSX2_PACKAGES=(
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "${COMPILER}" = "clang" ]; then
|
if [ "${COMPILER}" = "clang" ]; then
|
||||||
BUILD_PACKAGES+=("llvm-16" "lld-16" "clang-16")
|
BUILD_PACKAGES+=("llvm-17" "lld-17" "clang-17")
|
||||||
|
|
||||||
# Ubuntu 22.04 doesn't ship with LLVM 16, so we need to pull it from the llvm.org repos.
|
# Ubuntu 22.04 doesn't ship with LLVM 16, so we need to pull it from the llvm.org repos.
|
||||||
retry_command wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
retry_command wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||||
sudo apt-add-repository -n 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main'
|
sudo apt-add-repository -n 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
retry_command sudo apt-get -qq update && break
|
retry_command sudo apt-get -qq update && break
|
||||||
|
|
Loading…
Reference in New Issue