Revert "scripts: gha: use 64-bit compiler for 32-bit target for faster compilation on Win32"
This reverts commit 3de370f3d5
.
This commit is contained in:
parent
3de370f3d5
commit
79e94bf766
1 changed files with 3 additions and 9 deletions
|
@ -5,19 +5,13 @@
|
||||||
# Build engine
|
# Build engine
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
||||||
if [ "$ARCH" = "i386" ]; then
|
if [ "$ARCH" = "amd64" ]; then # we need enabling 64-bit target only on Intel-compatible CPUs
|
||||||
# use 64-bit compiler crosscompiling for 32-bit for faster compilation
|
AMD64="-8"
|
||||||
CONFIGURE_FLAGS="--msvc_targets=amd64_x86"
|
|
||||||
elif [ "$ARCH" = "amd64" ]; then
|
|
||||||
# we need enabling 64-bit target only on Intel-compatible CPUs
|
|
||||||
CONFIGURE_FLAGS="-8"
|
|
||||||
else
|
|
||||||
die
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# NOTE: to build with other version use --msvc_version during configuration
|
# NOTE: to build with other version use --msvc_version during configuration
|
||||||
# NOTE: sometimes you may need to add WinSDK to %PATH%
|
# NOTE: sometimes you may need to add WinSDK to %PATH%
|
||||||
./waf.bat configure -s "SDL2_VC" -T release --enable-utils --enable-tests --enable-lto $CONFIGURE_FLAGS || die_configure
|
./waf.bat configure -s "SDL2_VC" -T release --enable-utils --enable-tests --enable-lto $AMD64 || die_configure
|
||||||
./waf.bat build || die
|
./waf.bat build || die
|
||||||
./waf.bat install --destdir=. || die
|
./waf.bat install --destdir=. || die
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue