Use LDC for cross-compilation Win{32,64} binaries (#743)

* Build win64 binaries

* Allow adding DFLAGS

* bump ldc to 1.13

* Download & install the same LDC version

* Build win64 binaries in a separate job

* Fix release-windows for ARCH=64

* Re-enable ldc-beta

* Add more comments

* Use the LDC release build

* Remove note about requiring wine

* Split-up LDC setup in a separate file
This commit is contained in:
Sebastian Wilzbach 2019-04-18 02:36:21 +02:00 committed by Basile-z
parent 4ad4b52c93
commit e8180d64a6
5 changed files with 104 additions and 19 deletions

View file

@ -26,6 +26,9 @@ INCLUDE_PATHS = \
VERSIONS =
DEBUG_VERSIONS = -version=dparse_verbose
DMD_FLAGS = -w -release -O -Jbin -od${OBJ_DIR} -version=StdLoggerDisableWarning
override DMD_FLAGS += $(DFLAGS)
override LDC_FLAGS += $(DFLAGS)
override GDC_FLAGS += $(DFLAGS)
DMD_TEST_FLAGS = -w -g -Jbin -version=StdLoggerDisableWarning
override LDC_FLAGS += -O5 -release -oq -d-version=StdLoggerDisableWarning
override GDC_FLAGS += -O3 -frelease -d-version=StdLoggerDisableWarning