2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

CI: lint scripts

This commit is contained in:
liushuyu 2022-07-04 21:18:17 -06:00
parent 161d696013
commit 312e5eda66
2 changed files with 2 additions and 3 deletions

View file

@ -4,7 +4,7 @@
cp license.txt "$DIR_NAME" cp license.txt "$DIR_NAME"
cp README.md "$DIR_NAME" cp README.md "$DIR_NAME"
if [[ "x${NO_SOURCE_PACK}" == "x" ]]; then if [[ -z "${NO_SOURCE_PACK}" ]]; then
tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME"
fi fi

View file

@ -14,8 +14,7 @@ mkdir -p build && cd build
export LDFLAGS="-fuse-ld=lld" export LDFLAGS="-fuse-ld=lld"
# -femulated-tls required due to an incompatibility between GCC and Clang # -femulated-tls required due to an incompatibility between GCC and Clang
# TODO(lat9nq): If this is widespread, we probably need to add this to CMakeLists where appropriate # TODO(lat9nq): If this is widespread, we probably need to add this to CMakeLists where appropriate
export CFLAGS="-femulated-tls" export CXXFLAGS="-femulated-tls"
export CXXFLAGS="${CFLAGS}"
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWClangCross.cmake" \ -DCMAKE_TOOLCHAIN_FILE="${PWD}/../CMakeModules/MinGWClangCross.cmake" \