diff options
| author | 2018-01-16 11:56:14 -0500 | |
|---|---|---|
| committer | 2018-01-16 11:56:14 -0500 | |
| commit | f53dc4c9d6ab7ae8e90d7375ef76935ffbea93a1 (patch) | |
| tree | 16416d266d5467e7cb5fdb5e8c88ad317dd54b3f | |
| parent | Implement Pull #3333 from citra: citra_qt: Pause emulation on CoreError (#39) (diff) | |
| parent | Build: Automagically handle unicorn (diff) | |
| download | yuzu-f53dc4c9d6ab7ae8e90d7375ef76935ffbea93a1.tar.gz yuzu-f53dc4c9d6ab7ae8e90d7375ef76935ffbea93a1.tar.xz yuzu-f53dc4c9d6ab7ae8e90d7375ef76935ffbea93a1.zip | |
Merge pull request #31 from jroweboy/fix-deploy
Build/Deploy Updates to Setup Nightly Builds
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rwxr-xr-x | .travis/linux/docker.sh | 10 | ||||
| -rwxr-xr-x | .travis/macos/build.sh | 2 | ||||
| -rwxr-xr-x | .travis/macos/deps.sh | 6 | ||||
| -rw-r--r-- | CMakeLists.txt | 71 | ||||
| -rw-r--r-- | appveyor.yml | 22 | ||||
| m--------- | externals/unicorn | 0 | ||||
| -rw-r--r-- | src/core/arm/unicorn/arm_unicorn.cpp | 2 |
9 files changed, 67 insertions, 51 deletions
diff --git a/.gitmodules b/.gitmodules index 07479dd78..d5a7ade4f 100644 --- a/.gitmodules +++ b/.gitmodules | |||
| @@ -19,3 +19,6 @@ | |||
| 19 | [submodule "lz4"] | 19 | [submodule "lz4"] |
| 20 | path = externals/lz4 | 20 | path = externals/lz4 |
| 21 | url = http://github.com/lz4/lz4.git | 21 | url = http://github.com/lz4/lz4.git |
| 22 | [submodule "unicorn"] | ||
| 23 | path = externals/unicorn | ||
| 24 | url = https://github.com/yuzu-emu/unicorn | ||
diff --git a/.travis.yml b/.travis.yml index 8bad23208..2051d225c 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -32,7 +32,7 @@ matrix: | |||
| 32 | deploy: | 32 | deploy: |
| 33 | provider: releases | 33 | provider: releases |
| 34 | api_key: | 34 | api_key: |
| 35 | secure: Mck15DIWaJdxDiS3aYVlM9N3G6y8VKUI1rnwII7/iolfm1s94U+tgvbheZDmT7SSbFyaGaYO/E8HrV/uZR9Vvs7ev20sHsTN1u60OTWfDIIyHs9SqjhcGbtq95m9/dMFschOYqTOR+gAs5BsxjuoeAotHdhpQEwvkO2oo5oR0zhGy45gjFnVvtcxT/IfpZBIpVgcK3aLb9zT6ekcJbSiPmEB15iLq3xXd0nFUNtEZdX3D6Veye4n5jB6n72qN8JVoKvPZAwaC2K0pZxpcGJaXDchLsw1q+4eCvdz6UJfUemeQ/uMAmjfeQ3wrzYGXe3nCM3WmX5wosCsB0mw4zYatzl3si6CZ1W+0GkV4Rwlx03dfp7v3EeFhTsXYCaXqhwuLZnWOLUik8t9vaSoFUx4nUIRwfO9kAMUJQSpLuHNO2nT01s3GxvqxzczuLQ9he5nGSi0RRodUzDwek1qUp6I4uV3gRHKz4B07YIc1i2fK88NLXjyQ0uLVZ+7Oq1+kgDp6+N7vvXXZ5qZ17tdaysSbKEE0Y8zsoXw7Rk1tPN19vrCS+TSpomNMyQyne1k+I5iZ/qkxPTLAS5qI6Utc2dL3GJdxWRAEfGNO9AIX3GV/jmmKfdcvwGsCYP8hxqs5vLYfgacw3D8NLf1941lQUwavC17jm9EV9g5G3Pn1Cp516E= | 35 | secure: IuTT8DjxzNgOtaEsyOpz1JaSmtDtHSsWZnJKmSBwXAzgP2ZU4Ja3/q0z5PwbC5Ql7kuFahuYTE5oi7lbJBuu2P3y1Wj2zvFozGUkA3JUvEXDNOPS9QTJ1EYd6O+wenZoj7d/Pn+ZeIgyEafnnZsGBb8lMQnV9MfIHgYlZQ5EyF3n4XikT2h1UbDBYx74ciXZIxFEulx68kDr9Q4/U+zIYQmYv2N+lgXSLDkFrCJ046gRcujPYGPqE6jVw0kKni80CTTpuDF5prU8yIBeiffjkJ3Qx1a17G07eZ4r83P4XUOlaHbRBmA/8ywZvLF2Gep3wGKfSFgMWbPxBJk5ZSYcOOAgMsEcg0+gBK9gLTwO4pbmc2GvqP21yRQBzgtbFoEtAHLu5lVPBkZU7kZuRMJtRdqvFIwOLhpnRS8IknFOD5vjtaFiNdGWaK9ePdsGvplijnXcPafkumakc4+eVEiXb6/KzdX1zXdur5tuUPFytm0Oy6IJcGIf8FHXGvUlmWsnPzwfusij9JgeQOP+uegc9PdBfL+h7L5rk+ilELt3cXD5K7wgov/4hkl5istNJ2bm0IioIstWss8QQQTkyscGoeh/oXmUpOL4FdsTvsWhDR3QKeq8nSzgDkqLe0iSbplQGnC7o7ytNbldmxJvf3nylwglA8w3HlqLHtZLkUOcuQ0= |
| 36 | file_glob: true | 36 | file_glob: true |
| 37 | file: "artifacts/*" | 37 | file: "artifacts/*" |
| 38 | skip_cleanup: true | 38 | skip_cleanup: true |
diff --git a/.travis/linux/docker.sh b/.travis/linux/docker.sh index a85225c5a..8a23b54b1 100755 --- a/.travis/linux/docker.sh +++ b/.travis/linux/docker.sh | |||
| @@ -1,22 +1,16 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | apt-get update | 3 | apt-get update |
| 4 | apt-get install -y build-essential git libcurl4-openssl-dev libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev wget | 4 | apt-get install -y build-essential git libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev wget |
| 5 | 5 | ||
| 6 | # Get a recent version of CMake | 6 | # Get a recent version of CMake |
| 7 | wget https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.sh | 7 | wget https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.sh |
| 8 | sh cmake-3.10.1-Linux-x86_64.sh --exclude-subdir --prefix=/ --skip-license | 8 | sh cmake-3.10.1-Linux-x86_64.sh --exclude-subdir --prefix=/ --skip-license |
| 9 | 9 | ||
| 10 | mkdir /unicorn | ||
| 11 | cd /unicorn | ||
| 12 | git clone https://github.com/yuzu-emu/unicorn . | ||
| 13 | UNICORN_ARCHS=aarch64 ./make.sh | ||
| 14 | ./make.sh install | ||
| 15 | |||
| 16 | cd /yuzu | 10 | cd /yuzu |
| 17 | 11 | ||
| 18 | mkdir build && cd build | 12 | mkdir build && cd build |
| 19 | cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release | 13 | cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release |
| 20 | make -j4 | 14 | make -j4 |
| 21 | 15 | ||
| 22 | ctest -VV -C Release | 16 | ctest -VV -C Release |
diff --git a/.travis/macos/build.sh b/.travis/macos/build.sh index e1c54af55..177e8ac3b 100755 --- a/.travis/macos/build.sh +++ b/.travis/macos/build.sh | |||
| @@ -8,7 +8,7 @@ export UNICORNDIR=$(pwd)/externals/unicorn | |||
| 8 | 8 | ||
| 9 | mkdir build && cd build | 9 | mkdir build && cd build |
| 10 | cmake --version | 10 | cmake --version |
| 11 | cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release | 11 | cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release |
| 12 | make -j4 | 12 | make -j4 |
| 13 | 13 | ||
| 14 | ctest -VV -C Release | 14 | ctest -VV -C Release |
diff --git a/.travis/macos/deps.sh b/.travis/macos/deps.sh index 7dea80438..b46482bbe 100755 --- a/.travis/macos/deps.sh +++ b/.travis/macos/deps.sh | |||
| @@ -2,9 +2,3 @@ | |||
| 2 | 2 | ||
| 3 | brew update | 3 | brew update |
| 4 | brew install dylibbundler p7zip qt5 sdl2 | 4 | brew install dylibbundler p7zip qt5 sdl2 |
| 5 | |||
| 6 | mkdir externals/unicorn | ||
| 7 | pushd externals/unicorn | ||
| 8 | git clone https://github.com/yuzu-emu/unicorn . | ||
| 9 | UNICORN_ARCHS=aarch64 ./make.sh macos-universal-no | ||
| 10 | popd | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3da8465b9..2ec9467e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -12,8 +12,6 @@ option(YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" OFF) | |||
| 12 | option(ENABLE_QT "Enable the Qt frontend" ON) | 12 | option(ENABLE_QT "Enable the Qt frontend" ON) |
| 13 | option(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" OFF) | 13 | option(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" OFF) |
| 14 | 14 | ||
| 15 | option(YUZU_USE_BUNDLED_UNICORN "Download bundled Unicorn binaries" OFF) | ||
| 16 | |||
| 17 | if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) | 15 | if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) |
| 18 | message(STATUS "Copying pre-commit hook") | 16 | message(STATUS "Copying pre-commit hook") |
| 19 | file(COPY hooks/pre-commit | 17 | file(COPY hooks/pre-commit |
| @@ -29,7 +27,7 @@ function(check_submodules_present) | |||
| 29 | foreach(module ${gitmodules}) | 27 | foreach(module ${gitmodules}) |
| 30 | string(REGEX REPLACE "path *= *" "" module ${module}) | 28 | string(REGEX REPLACE "path *= *" "" module ${module}) |
| 31 | if (NOT EXISTS "${CMAKE_SOURCE_DIR}/${module}/.git") | 29 | if (NOT EXISTS "${CMAKE_SOURCE_DIR}/${module}/.git") |
| 32 | message(SEND_ERROR "Git submodule ${module} not found." | 30 | message(FATAL_ERROR "Git submodule ${module} not found. " |
| 33 | "Please run: git submodule update --init --recursive") | 31 | "Please run: git submodule update --init --recursive") |
| 34 | endif() | 32 | endif() |
| 35 | endforeach() | 33 | endforeach() |
| @@ -204,34 +202,63 @@ else() | |||
| 204 | set(SDL2_FOUND NO) | 202 | set(SDL2_FOUND NO) |
| 205 | endif() | 203 | endif() |
| 206 | 204 | ||
| 207 | if (YUZU_USE_BUNDLED_UNICORN) | 205 | # If unicorn isn't found, msvc -> download bundled unicorn; everyone else -> build external |
| 208 | # Detect toolchain and platform | 206 | find_package(Unicorn QUIET) |
| 209 | if (MSVC14 AND ARCHITECTURE_x86_64) | 207 | if (NOT UNICORN_FOUND) |
| 210 | set(UNICORN_VER "unicorn-yuzu") | 208 | if (MSVC) |
| 211 | else() | 209 | message(STATUS "unicorn not found, falling back to bundled") |
| 212 | message(FATAL_ERROR "No bundled Unicorn binaries for your toolchain. Disable YUZU_USE_BUNDLED_UNICORN and provide your own.") | 210 | # Detect toolchain and platform |
| 213 | endif() | 211 | if (MSVC14 AND ARCHITECTURE_x86_64) |
| 212 | set(UNICORN_VER "unicorn-yuzu") | ||
| 213 | else() | ||
| 214 | message(FATAL_ERROR "No bundled Unicorn binaries for your toolchain. Disable YUZU_USE_BUNDLED_UNICORN and provide your own.") | ||
| 215 | endif() | ||
| 214 | 216 | ||
| 215 | if (DEFINED UNICORN_VER) | 217 | if (DEFINED UNICORN_VER) |
| 216 | download_bundled_external("unicorn/" ${UNICORN_VER} UNICORN_PREFIX) | 218 | download_bundled_external("unicorn/" ${UNICORN_VER} UNICORN_PREFIX) |
| 217 | endif() | 219 | endif() |
| 218 | 220 | ||
| 219 | if (DEFINED UNICORN_VER) | 221 | if (DEFINED UNICORN_VER) |
| 220 | download_bundled_external("unicorn/" ${UNICORN_VER} UNICORN_PREFIX) | 222 | download_bundled_external("unicorn/" ${UNICORN_VER} UNICORN_PREFIX) |
| 221 | endif() | 223 | endif() |
| 222 | 224 | ||
| 223 | set(UNICORN_FOUND YES) | 225 | set(UNICORN_FOUND YES) |
| 224 | set(LIBUNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers") | 226 | set(LIBUNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers" FORCE) |
| 225 | set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") | 227 | set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library" FORCE) |
| 226 | set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll") | 228 | set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll" FORCE) |
| 227 | else() | 229 | else() |
| 228 | find_package(Unicorn REQUIRED) | 230 | message(STATUS "unicorn not found, falling back to externals") |
| 231 | if (MINGW) | ||
| 232 | set(UNICORN_LIB_NAME "unicorn.a") | ||
| 233 | else() | ||
| 234 | set(UNICORN_LIB_NAME "libunicorn.a") | ||
| 235 | endif() | ||
| 236 | |||
| 237 | set(UNICORN_FOUND YES) | ||
| 238 | set(UNICORN_PREFIX ${CMAKE_SOURCE_DIR}/externals/unicorn) | ||
| 239 | set(LIBUNICORN_LIBRARY "${UNICORN_PREFIX}/${UNICORN_LIB_NAME}" CACHE PATH "Path to Unicorn library" FORCE) | ||
| 240 | set(LIBUNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers" FORCE) | ||
| 241 | set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/" CACHE PATH "Path to unicorn dynamic library" FORCE) | ||
| 242 | |||
| 243 | add_custom_command(OUTPUT ${LIBUNICORN_LIBRARY} | ||
| 244 | COMMAND ${CMAKE_COMMAND} -E env UNICORN_ARCHS="aarch64" /bin/sh make.sh | ||
| 245 | WORKING_DIRECTORY ${UNICORN_PREFIX} | ||
| 246 | ) | ||
| 247 | # ALL makes this custom target build every time | ||
| 248 | # but it won't actually build if LIBUNICORN_LIBRARY is up to date | ||
| 249 | add_custom_target(unicorn-build ALL | ||
| 250 | DEPENDS ${LIBUNICORN_LIBRARY} | ||
| 251 | ) | ||
| 252 | unset(UNICORN_LIB_NAME) | ||
| 253 | endif() | ||
| 229 | endif() | 254 | endif() |
| 230 | 255 | ||
| 231 | if (UNICORN_FOUND) | 256 | if (UNICORN_FOUND) |
| 232 | add_library(unicorn INTERFACE) | 257 | add_library(unicorn INTERFACE) |
| 233 | target_link_libraries(unicorn INTERFACE "${LIBUNICORN_LIBRARY}") | 258 | target_link_libraries(unicorn INTERFACE "${LIBUNICORN_LIBRARY}") |
| 234 | target_include_directories(unicorn INTERFACE "${LIBUNICORN_INCLUDE_DIR}") | 259 | target_include_directories(unicorn INTERFACE "${LIBUNICORN_INCLUDE_DIR}") |
| 260 | else() | ||
| 261 | message(FATAL_ERROR "Could not find or build unicorn which is required.") | ||
| 235 | endif() | 262 | endif() |
| 236 | 263 | ||
| 237 | if (ENABLE_QT) | 264 | if (ENABLE_QT) |
diff --git a/appveyor.yml b/appveyor.yml index f491e5f0b..954be4e8f 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -28,7 +28,6 @@ install: | |||
| 28 | if ($env:BUILD_TYPE -eq 'mingw') { | 28 | if ($env:BUILD_TYPE -eq 'mingw') { |
| 29 | $dependencies = "mingw64/mingw-w64-x86_64-cmake", | 29 | $dependencies = "mingw64/mingw-w64-x86_64-cmake", |
| 30 | "mingw64/mingw-w64-x86_64-qt5", | 30 | "mingw64/mingw-w64-x86_64-qt5", |
| 31 | "mingw64/mingw-w64-x86_64-curl", | ||
| 32 | "mingw64/mingw-w64-x86_64-SDL2" | 31 | "mingw64/mingw-w64-x86_64-SDL2" |
| 33 | # redirect err to null to prevent warnings from becoming errors | 32 | # redirect err to null to prevent warnings from becoming errors |
| 34 | # workaround to prevent pacman from failing due to cyclical dependencies | 33 | # workaround to prevent pacman from failing due to cyclical dependencies |
| @@ -42,9 +41,9 @@ before_build: | |||
| 42 | - ps: | | 41 | - ps: | |
| 43 | if ($env:BUILD_TYPE -eq 'msvc') { | 42 | if ($env:BUILD_TYPE -eq 'msvc') { |
| 44 | # redirect stderr and change the exit code to prevent powershell from cancelling the build if cmake prints a warning | 43 | # redirect stderr and change the exit code to prevent powershell from cancelling the build if cmake prints a warning |
| 45 | cmd /C 'cmake -G "Visual Studio 15 2017 Win64" -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_BUNDLED_UNICORN=1 -DCMAKE_USE_OPENSSL=0 .. 2>&1 && exit 0' | 44 | cmd /C 'cmake -G "Visual Studio 15 2017 Win64" -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_BUNDLED_UNICORN=1 .. 2>&1 && exit 0' |
| 46 | } else { | 45 | } else { |
| 47 | C:\msys64\usr\bin\bash.exe -lc "cmake -G 'MSYS Makefiles' -DUSE_SYSTEM_CURL=1 -DYUZU_USE_BUNDLED_CURL=1 -DCMAKE_BUILD_TYPE=Release .. 2>&1" | 46 | C:\msys64\usr\bin\bash.exe -lc "cmake -G 'MSYS Makefiles' -DYUZU_BUILD_UNICORN=1 -DCMAKE_BUILD_TYPE=Release .. 2>&1" |
| 48 | } | 47 | } |
| 49 | - cd .. | 48 | - cd .. |
| 50 | 49 | ||
| @@ -81,11 +80,12 @@ after_build: | |||
| 81 | $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB | 80 | $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB |
| 82 | $env:BUILD_UPDATE = $MSVC_SEVENZIP | 81 | $env:BUILD_UPDATE = $MSVC_SEVENZIP |
| 83 | 82 | ||
| 84 | 7z a -tzip $MSVC_BUILD_PDB .\msvc_build\bin\release\*.pdb | 83 | mkdir pdb |
| 85 | rm .\msvc_build\bin\release\*.pdb | 84 | Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb |
| 85 | 7z a -tzip $MSVC_BUILD_PDB .\pdb\*.pdb | ||
| 86 | 86 | ||
| 87 | mkdir $RELEASE_DIST | 87 | mkdir $RELEASE_DIST |
| 88 | Copy-Item .\msvc_build\bin\release\* -Destination $RELEASE_DIST -Recurse | 88 | Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST |
| 89 | Copy-Item .\license.txt -Destination $RELEASE_DIST | 89 | Copy-Item .\license.txt -Destination $RELEASE_DIST |
| 90 | Copy-Item .\README.md -Destination $RELEASE_DIST | 90 | Copy-Item .\README.md -Destination $RELEASE_DIST |
| 91 | 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* | 91 | 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* |
| @@ -104,16 +104,14 @@ after_build: | |||
| 104 | $env:BUILD_UPDATE = $MINGW_SEVENZIP | 104 | $env:BUILD_UPDATE = $MINGW_SEVENZIP |
| 105 | 105 | ||
| 106 | $CMAKE_SOURCE_DIR = "$env:APPVEYOR_BUILD_FOLDER" | 106 | $CMAKE_SOURCE_DIR = "$env:APPVEYOR_BUILD_FOLDER" |
| 107 | $CMAKE_BINARY_DIR = "$CMAKE_SOURCE_DIR/mingw_build" | 107 | $CMAKE_BINARY_DIR = "$CMAKE_SOURCE_DIR/mingw_build/bin" |
| 108 | $RELEASE_DIST = $RELEASE_DIST + "-mingw" | 108 | $RELEASE_DIST = $RELEASE_DIST + "-mingw" |
| 109 | 109 | ||
| 110 | mkdir $RELEASE_DIST | 110 | mkdir $RELEASE_DIST |
| 111 | mkdir $RELEASE_DIST/platforms | 111 | mkdir $RELEASE_DIST/platforms |
| 112 | 112 | ||
| 113 | # copy the compiled binaries and other release files to the release folder | 113 | # copy the compiled binaries and other release files to the release folder |
| 114 | Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST | 114 | Get-ChildItem "$CMAKE_BINARY_DIR" -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST |
| 115 | # copy the libcurl dll | ||
| 116 | Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "libcurl.dll" | Copy-Item -destination $RELEASE_DIST | ||
| 117 | Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST | 115 | Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST |
| 118 | Copy-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST | 116 | Copy-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST |
| 119 | # copy all the dll dependencies to the release folder | 117 | # copy all the dll dependencies to the release folder |
| @@ -122,7 +120,7 @@ after_build: | |||
| 122 | # QT dll dependencies | 120 | # QT dll dependencies |
| 123 | "libbz2-*.dll","libicudt*.dll","libicuin*.dll","libicuuc*.dll","libffi-*.dll", | 121 | "libbz2-*.dll","libicudt*.dll","libicuin*.dll","libicuuc*.dll","libffi-*.dll", |
| 124 | "libfreetype-*.dll","libglib-*.dll","libgobject-*.dll","libgraphite2.dll","libiconv-*.dll", | 122 | "libfreetype-*.dll","libglib-*.dll","libgobject-*.dll","libgraphite2.dll","libiconv-*.dll", |
| 125 | "libharfbuzz-*.dll","libintl-*.dll","libpcre-*.dll","libpcre16-*.dll","libpng16-*.dll", | 123 | "libharfbuzz-*.dll","libintl-*.dll","libpcre-*.dll","libpcre2-16-*.dll","libpcre16-*.dll","libpng16-*.dll", |
| 126 | # Runtime/Other dependencies | 124 | # Runtime/Other dependencies |
| 127 | "libgcc_s_seh-*.dll","libstdc++-*.dll","libwinpthread-*.dll","SDL2.dll","zlib1.dll" | 125 | "libgcc_s_seh-*.dll","libstdc++-*.dll","libwinpthread-*.dll","SDL2.dll","zlib1.dll" |
| 128 | foreach ($file in $MingwDLLs) { | 126 | foreach ($file in $MingwDLLs) { |
| @@ -165,7 +163,7 @@ deploy: | |||
| 165 | provider: GitHub | 163 | provider: GitHub |
| 166 | release: $(appveyor_repo_tag_name) | 164 | release: $(appveyor_repo_tag_name) |
| 167 | auth_token: | 165 | auth_token: |
| 168 | secure: "dbpsMC/MgPKWFNJCXpQl4cR8FYhepkPLjgNp/pRMktZ8oLKTqPYErfreaIxb/4P1" | 166 | secure: "argb6oi2TYLB4wDy+HoCC8PuGAmsnocSk12CQ5614XAPO+NVPndlkLv1utnDFfg2" |
| 169 | artifact: update,build | 167 | artifact: update,build |
| 170 | draft: false | 168 | draft: false |
| 171 | prerelease: false | 169 | prerelease: false |
diff --git a/externals/unicorn b/externals/unicorn new file mode 160000 | |||
| Subproject 73f45735354396766a4bfb26d0b96b06e5cf31b | |||
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp index 13f6c658c..fd64eab39 100644 --- a/src/core/arm/unicorn/arm_unicorn.cpp +++ b/src/core/arm/unicorn/arm_unicorn.cpp | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include "core/hle/kernel/svc.h" | 11 | #include "core/hle/kernel/svc.h" |
| 12 | 12 | ||
| 13 | // Load Unicorn DLL once on Windows using RAII | 13 | // Load Unicorn DLL once on Windows using RAII |
| 14 | #ifdef _WIN32 | 14 | #ifdef _MSC_VER |
| 15 | #include <unicorn_dynload.h> | 15 | #include <unicorn_dynload.h> |
| 16 | struct LoadDll { | 16 | struct LoadDll { |
| 17 | private: | 17 | private: |