summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: fix native build when it's the only target specifiedTony Theodore2019-03-091-0/+1
| | | | | | | See: https://github.com/mxe/mxe/pull/2286#issuecomment-470952262 When MXE_TARGETS=`mxe/ext/config.guess` is specified, $(BUILD) is also added and it looks like two targets. Use sort to get unique list.
* build-pkg changesTony Theodore2019-02-261-2/+2
|
* Makefile: avoid implied native buildsTony Theodore2019-02-241-1/+4
| | | | fixes #2285
* Makefile: ignore git failure when building from snapshotTony Theodore2019-01-231-1/+1
| | | | fixes #2270
* add support for lzip archivesMark Brand2019-01-101-2/+3
|
* Switch to GCC with posix threads by defaultBoris Pek2019-01-091-4/+4
| | | | (Closes: #2258)
* add LC_* variables to whitelistTony Theodore2018-12-291-1/+1
| | | | | see: https://github.com/mxe/mxe/issues/2259#issuecomment-450499167
* darwin: don't build i386 nonet libTony Theodore2018-09-301-1/+1
| | | | see: #2217
* Makefile: add PKG_CONFIGURE_OPTS variable for new-style rulesTony Theodore2018-09-191-0/+4
|
* add standalone scons-local pkg and remove scons from reqsTony Theodore2018-08-311-1/+1
|
* Makefile: check for python2 requirementTony Theodore2018-08-311-0/+5
|
* Makefile: fix autotools circular depTony Theodore2018-04-061-1/+1
|
* Makefile and cmake-conf: set CMAKE_SYSTEM_PROCESSORTony Theodore2018-03-201-0/+1
|
* Makefile: filter out .cmake from TEST_FILETony Theodore2018-03-201-1/+1
|
* build-matrix: replace unsupported char for "X"Tony Theodore2018-03-171-2/+2
| | | | replaces and closes #1231
* Makefile: remove MXE_GET_GITHUB functionsTony Theodore2018-03-151-19/+0
|
* build-pkg: build nonet and check-reqs early, ignore .waf* artefactsTony Theodore2018-03-121-0/+3
|
* sub makefiles: standardize names and add to build-pkgTony Theodore2018-03-121-3/+3
|
* build-pkg: add usage notes for pkg list and dry runTony Theodore2018-03-121-1/+1
|
* Makefile: unify handling of required pkgsTony Theodore2018-03-121-13/+27
|
* Makefile: add show-direct-downstream-deps and improve messagesTony Theodore2018-03-061-4/+21
|
* Makefile: add AUTOTOOLS_* template variablesTony Theodore2018-03-011-0/+15
|
* Makefile: define OPENSSL as a variableTony Theodore2018-03-011-2/+3
| | | | | | used to test if preinstalled version works i.e: make download OPENSSL=/usr/bin/openssl
* Makefile: avoid circular deps for autotools pkgsTony Theodore2018-02-171-1/+1
|
* Makefile: ensure downloads of source-only pkgsTony Theodore2018-02-171-1/+2
| | | | missed in #1990
* Makefile: add note about gcc --> cc switchTony Theodore2017-12-221-0/+8
|
* Makefile and build-pkg: use {pkg}~{target} directlyTony Theodore2017-12-221-2/+2
| | | | | | | | | | | Required for the case where a cross package is independent of it's native package (e.g. libiconv) and the native pkg may not have been built in the dep chain. Calling: ``` make pkg MXE_TARGETS=... ``` will then cause `make` to build the native pkg as well. (MXE_TARGETS is still required otherwise it will be picked up from settings.mk)
* Makefile: fixups for dry-runTony Theodore2017-12-221-2/+4
|
* rename archive pkg-type to source-only for clarityTony Theodore2017-12-221-2/+2
| | | | archive could imply a deprecated package
* Makefile: print download filename instead of pkgTony Theodore2017-12-221-1/+4
|
* Makefile: always touch install markers for empty buildsTony Theodore2017-12-221-1/+1
|
* Makefile: add script package type avoid unpacking archiveTony Theodore2017-12-221-1/+4
|
* Makefile: separate build and virtual pkg typesTony Theodore2017-12-221-6/+9
| | | | we don't actually want to package download-only pkgs
* add virtual toolchain package ccTony Theodore2017-12-221-2/+5
|
* Makefile: add support for cross-target and order-only depsTony Theodore2017-12-221-22/+86
|
* Improve handling of virtual packages and build messagesTony Theodore2017-12-221-49/+74
| | | | | | | | - add metadata to distinguish virtual package types - improve build order and status messages for empty packages print pkg type or `disabled` instead of `no-build` - add BUILD_DRY_RUN option and fixup make -t - update build-matrix rule to identify virtual pkgs
* updates: move to separate file and add generic updater functionTony Theodore2017-11-181-46/+2
|
* Makefile: speedup LOOKUP_PKG_RULETony Theodore2017-11-131-27/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LOOKUP_PKG_RULE is called many times and spends a lot of time searching for rules when the default rule is the most common. This simply avoids exhaustive searching since we can determine beforehand if there are multiple rules. Also drops some of the gmsl functions if favour of normal make variables. First commit adds sort/strip so print-deps-for-build-pkg output can be easily compared. ``` $ git checkout HEAD~1 $ time make print-deps-for-build-pkg \ MXE_TARGETS="`echo {i686-w64-mingw32,x86_64-w64-mingw32}.{static,shared}`"> orig real 0m17.564s user 0m16.410s sys 0m0.783s $ git checkout speedup $ time make print-deps-for-build-pkg \ MXE_TARGETS="`echo {i686-w64-mingw32,x86_64-w64-mingw32}.{static,shared}`"> new real 0m4.036s user 0m3.624s sys 0m0.326s $ diff -u orig new $ ```
* print-deps-for-build-pkg: sort and strip output for repeatable comparisonTony Theodore2017-11-131-3/+3
|
* Makefile and s3: add mxe mirror and tidy outputTony Theodore2017-11-131-4/+6
|
* Makefile: switch GitLab to https and reorder backup serversTony Theodore2017-11-121-4/+4
| | | | | | | See: https://github.com/mxe/mxe/pull/1899#issuecomment-343731128 - GitLab redirects to https anyway - final fallthrough to Cloudfront will be http - GitLab is (currently) the most complete so try it first
* Makefile: also create suffixed archives for backup downloadsTony Theodore2017-11-121-3/+4
| | | | | See: https://github.com/mxe/mxe/pull/1681#issuecomment-280887497
* Makefile: try next download url on failed checksumTony Theodore2017-11-121-13/+17
| | | | | | | | | | | | | | | | There are various cases where a download succeeds but the checksum is wrong: - upstream re-releases tarball without new version - sourceforge returns 200 with a text message about outage - other strange glitches In these cases, we currently fail and stop the build. This PR allows for falling through the next URLs until it will eventually get to the checksum-suffixed version. This ensures builds are always (potentially) repeatable as the checksum associated with the version is reachable. Next step would be to change all the backups to use suffixed tarballs.
* Makefile: add more disable doc optionsTony Theodore2017-10-191-0/+4
| | | | fixes #1936
* Makefile: strip dot from $PATHTony Theodore2017-10-131-1/+1
| | | | fixes #1893
* Makefile: always eval $(PKG)_PATCHES as a variableTony Theodore2017-10-091-2/+3
| | | | | Allows plugin packages to re-use the variable (eg. gcc7 and gcc-host) and keep this metadata in sync (same as *_VERSION, *_FILE, etc.)
* bump primary package mirror to HTTPSViktor Szakats2017-09-241-1/+1
|
* secure/update URLsViktor Szakats2017-09-241-3/+3
| | | | | | | | * change libssh2/apache/xiph URLs to canonical ones * resubmit patch to remove unnecessary --no-check-certificate option. The URLs are non-HTTPS anyway * blas: restore URL and point to versioned archive
* Makefile: add more MXE_DISABLE_DOC_OPTSTony Theodore2017-07-201-0/+1
|
* Merge pull request #1743 from tonytheodore/build-matrixBoris Nagaev2017-05-201-1/+2
|\ | | | | build-matrix: fix detection of native virtual packages