committed by
crueter
6 changed files with 216 additions and 143 deletions
-
34.ci/windows/build-aarch64.bat
-
29.ci/windows/package-aarch64.sh
-
6CMakeLists.txt
-
5externals/ffmpeg/CMakeLists.txt
-
4src/core/arm/dynarmic/dynarmic_cp15.cpp
-
5src/yuzu/CMakeLists.txt
@ -0,0 +1,34 @@ |
|||||
|
@echo off |
||||
|
|
||||
|
set chain=%1 |
||||
|
set qt_dir=%2 |
||||
|
set qt_host=%3 |
||||
|
set ffmpeg_dir=%4 |
||||
|
|
||||
|
if not defined DevEnvDir ( |
||||
|
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %chain% |
||||
|
) |
||||
|
|
||||
|
CALL mkdir build |
||||
|
|
||||
|
@REM TODO: enable QtWebEngine and translations, awaiting Qt builds |
||||
|
CALL cmake -S . -B build\%chain% ^ |
||||
|
-DCMAKE_BUILD_TYPE=Release ^ |
||||
|
-DENABLE_QT_TRANSLATION=OFF ^ |
||||
|
-DUSE_DISCORD_PRESENCE=ON ^ |
||||
|
-DYUZU_USE_BUNDLED_QT=OFF ^ |
||||
|
-DYUZU_USE_QT_MULTIMEDIA=ON ^ |
||||
|
-DYUZU_USE_QT_WEB_ENGINE=OFF ^ |
||||
|
-DYUZU_USE_BUNDLED_VCPKG=ON ^ |
||||
|
-DYUZU_USE_BUNDLED_SDL2=OFF ^ |
||||
|
-DYUZU_USE_EXTERNAL_SDL2=ON ^ |
||||
|
-DFFmpeg_PATH=%ffmpeg_dir% ^ |
||||
|
-DYUZU_ENABLE_LTO=ON ^ |
||||
|
-G "Ninja" ^ |
||||
|
-DYUZU_TESTS=OFF ^ |
||||
|
-DQt6_DIR=%qt_dir% ^ |
||||
|
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON ^ |
||||
|
-DQT_TARGET_PATH=%qt_dir% ^ |
||||
|
-DQT_HOST_PATH=%qt_host% |
||||
|
|
||||
|
CALL cmake --build build\%chain% |
||||
@ -0,0 +1,29 @@ |
|||||
|
HOST_DIR=$1 |
||||
|
QT_DIR=$2 |
||||
|
|
||||
|
cd eden-windows-msvc |
||||
|
cp "/c/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/arm64/dxcompiler.dll" . |
||||
|
for i in `$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-plugins --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 1 --dry-run | grep "Updating .*dll" | cut -d" " -f2 | cut -d"." -f1-2` |
||||
|
do |
||||
|
cp $QT_DIR/bin/$i . |
||||
|
done |
||||
|
|
||||
|
PLUGIN_DIRS=`$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-libraries --plugindir plugins --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 1 --dry-run | grep "Creating directory" | cut -d" " -f3 | cut -d"." -f1` |
||||
|
for i in $PLUGIN_DIRS |
||||
|
do |
||||
|
mkdir -p $i |
||||
|
done |
||||
|
|
||||
|
for i in `$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-libraries --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --list source --dry-run` |
||||
|
do |
||||
|
PLUGIN=$(cut -d "\\" -f5- <<< $i) |
||||
|
cp $QT_DIR/$PLUGIN ./$PLUGIN |
||||
|
done |
||||
|
|
||||
|
## Zip |
||||
|
cd .. |
||||
|
GITDATE=$(git show -s --date=short --format='%ad' | tr -d "-") |
||||
|
GITREV=$(git show -s --format='%h') |
||||
|
|
||||
|
BUILD_ZIP="eden-windows-msvc-$GITDATE-$GITREV-aarch64.zip" |
||||
|
7z a -tzip artifacts/$BUILD_ZIP eden-windows-msvc/* |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue