Tony Theodore
4ccfdfc560
Makefile: enable target-specific, order-only deps lookup
...
Turns out there are cases when we don't want the default
AUTOTOOLS|CMAKE native builds to run - essentially `make gcc`
which can use `zstd` on v10+
4 years ago
Tony Theodore
0ef3951c03
qttools: standardise cmake test
5 years ago
Jonas Kvinge
486f72bd9a
Set tries and timeout for wget
5 years ago
Tony Theodore
16e80eabe5
Makefile: don't create target for overrides.mk
5 years ago
Martin Müllenhaupt
aae03b205f
add tar file to archive format
5 years ago
Viktor Szakats
20ceee7529
Switch to virtual-hosted style URLs for S3
...
Ref: https://forums.aws.amazon.com/ann.jspa?annID=6776
5 years ago
Tony Theodore
32edbb48cc
remove gitlab mirror
...
suffixed tarballs are available in three places, no need for extra redundancy
closes #1681
5 years ago
Tony Theodore
ea56b37696
add ccache and enable by default
5 years ago
Tony Theodore
8f23f23d6b
Makefile: fix native build when it's the only target specified
...
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.
5 years ago
Tony Theodore
3ea682b14e
build-pkg changes
5 years ago
Tony Theodore
b6313a950d
Makefile: avoid implied native builds
...
fixes #2285
5 years ago
Tony Theodore
1bce1181d7
Makefile: ignore git failure when building from snapshot
...
fixes #2270
5 years ago
Mark Brand
efbd2b52e5
add support for lzip archives
5 years ago
Boris Pek
0a69881e90
Switch to GCC with posix threads by default
...
(Closes : #2258 )
5 years ago
Tony Theodore
916ee5ddc0
add LC_* variables to whitelist
...
see:
https://github.com/mxe/mxe/issues/2259#issuecomment-450499167
5 years ago
Tony Theodore
a063f9b352
darwin: don't build i386 nonet lib
...
see: #2217
6 years ago
Tony Theodore
29fc99a6cc
Makefile: add PKG_CONFIGURE_OPTS variable for new-style rules
6 years ago
Tony Theodore
822c7e4099
add standalone scons-local pkg and remove scons from reqs
6 years ago
Tony Theodore
6f3bd170de
Makefile: check for python2 requirement
6 years ago
Tony Theodore
ec05c2c542
Makefile: fix autotools circular dep
6 years ago
Tony Theodore
473f697ba3
Makefile and cmake-conf: set CMAKE_SYSTEM_PROCESSOR
6 years ago
Tony Theodore
31d99c63bd
Makefile: filter out .cmake from TEST_FILE
6 years ago
Tony Theodore
affb44a245
build-matrix: replace unsupported char for "X"
...
replaces and closes #1231
6 years ago
Tony Theodore
e96df609c0
Makefile: remove MXE_GET_GITHUB functions
6 years ago
Tony Theodore
4f21088b48
build-pkg: build nonet and check-reqs early, ignore .waf* artefacts
6 years ago
Tony Theodore
38c43b5017
sub makefiles: standardize names and add to build-pkg
6 years ago
Tony Theodore
02e11b8dc1
build-pkg: add usage notes for pkg list and dry run
6 years ago
Tony Theodore
068d3c0d7b
Makefile: unify handling of required pkgs
6 years ago
Tony Theodore
6f5456cbb0
Makefile: add show-direct-downstream-deps and improve messages
6 years ago
Tony Theodore
f217236aff
Makefile: add AUTOTOOLS_* template variables
6 years ago
Tony Theodore
56ca9cf8f5
Makefile: define OPENSSL as a variable
...
used to test if preinstalled version works i.e:
make download OPENSSL=/usr/bin/openssl
6 years ago
Tony Theodore
a68a0d9342
Makefile: avoid circular deps for autotools pkgs
6 years ago
Tony Theodore
9a48a19e87
Makefile: ensure downloads of source-only pkgs
...
missed in #1990
6 years ago
Tony Theodore
52c8fa8e96
Makefile: add note about gcc --> cc switch
6 years ago
Tony Theodore
9d39a40a2b
Makefile and build-pkg: use {pkg}~{target} directly
...
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)
6 years ago
Tony Theodore
5fe1c5043b
Makefile: fixups for dry-run
6 years ago
Tony Theodore
7c7e3d5f34
rename archive pkg-type to source-only for clarity
...
archive could imply a deprecated package
6 years ago
Tony Theodore
45e66ce85f
Makefile: print download filename instead of pkg
6 years ago
Tony Theodore
6851997a29
Makefile: always touch install markers for empty builds
6 years ago
Tony Theodore
800377564b
Makefile: add script package type avoid unpacking archive
6 years ago
Tony Theodore
8954654349
Makefile: separate build and virtual pkg types
...
we don't actually want to package download-only pkgs
6 years ago
Tony Theodore
3a26dafbd1
add virtual toolchain package cc
6 years ago
Tony Theodore
c0c8d47d6a
Makefile: add support for cross-target and order-only deps
6 years ago
Tony Theodore
0e1b95fc24
Improve handling of virtual packages and build messages
...
- 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
6 years ago
Tony Theodore
51217e01d2
updates: move to separate file and add generic updater function
7 years ago
Tony Theodore
a3624b48b1
Makefile: speedup LOOKUP_PKG_RULE
...
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
$
```
7 years ago
Tony Theodore
9f8fb60f8a
print-deps-for-build-pkg: sort and strip output for repeatable comparison
7 years ago
Tony Theodore
75417437a2
Makefile and s3: add mxe mirror and tidy output
7 years ago
Tony Theodore
b82080ec4d
Makefile: switch GitLab to https and reorder backup servers
...
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
7 years ago
Tony Theodore
ba358185fa
Makefile: also create suffixed archives for backup downloads
...
See:
https://github.com/mxe/mxe/pull/1681#issuecomment-280887497
7 years ago