mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-01 00:48:15 -05:00
macOS: Build x86_64h slice
This commit produces a fat-binary with two slices. The x86_64 slice is for all x64 systems, and the x86_64h slice targets x64 systems starting with Haswell. The latter allows the compiler to use newer instructions that are not available on older microarchitectures.
This commit is contained in:
@ -52,8 +52,8 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
export Qt5_DIR=$(brew --prefix)/opt/qt5
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -DUSE_SYSTEM_CURL=ON -GXcode
|
||||
xcodebuild -configuration Release
|
||||
cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release
|
||||
make -j4
|
||||
|
||||
ctest -VV -C Release
|
||||
fi
|
||||
|
Reference in New Issue
Block a user