Tony Theodore
5c62f03175
Makefile: allow script-only packages
...
* Create PREPARE_PKG_SOURCE function to simplify conditional unpacking and patching (possibly future git init)
* Only attempt download if there is a pkg url
* Only prepare source if there is a pkg file - useful for target specific overrides (say gcc on $(BUILD))
9 years ago
Tony Theodore
c97cc62e1a
Makefile: log autoconf and automake versions
9 years ago
Tony Theodore
d1e18ad8cb
Makefile: print package messages during build
9 years ago
Tony Theodore
307efd50da
Makefile: don't remove versions.json on clean
9 years ago
Timothy Gu
34d2cb0286
Fix occasion [done] message weirdness
9 years ago
Timothy Gu
18fafbeb98
Merge pull request #568 from tonytheodore/parallel
...
Makefile: build targets in parallel
9 years ago
Timothy Gu
1c38e8aea5
Mark versions.json as phony
9 years ago
Timothy Gu
8cf0795e34
Merge pull request #638 from TobiX/index-versions-cache
...
index.html versions cache
9 years ago
Volker Grabsch
34f6fac9a5
Use command "7za" instead of "7z"
...
The "7za" command is available on more Unix systems.
9 years ago
Martin Gerhardy
3559d54844
new package box2d
...
this introduces a new dependency for unpacking the 7z archive from Box2D
9 years ago
Timothy Gu
465131a2b6
Add LD_LIBRARY_PATH & ACLOCAL_PATH to safe envvars
...
Fixes #697 .
9 years ago
Timothy Gu
1bd25fc0ec
MXE_GET_GITHUB_SHA: simplify regex and make the hash longer
9 years ago
Tobias Gruetzmacher
06747eaca2
Add a new makefile target to cache versions.
...
All package versions are written int one JSON file.
9 years ago
Volker Grabsch
eaac1a873f
Merge branch 'stable'
10 years ago
Volker Grabsch
0c6cc9c91c
Split cleanup-style into even smaller commands
10 years ago
Volker Grabsch
dacd2ba109
Do not execute too many shell commands at once in "cleanup-style"
...
Otherwise, the argument to "bash -c ..." is very large, resulting in
the following error message on systems with small ARG_MAX:
make: execvp: bash: Argument list too long
10 years ago
Volker Grabsch
40fd96e236
Remove empty line at EOF
10 years ago
Volker Grabsch
8fb5da24f5
Merge branch 'stable'
10 years ago
Volker Grabsch
27d37c27e7
Add missing .PHONY entry for cleanup-style
10 years ago
Timothy Gu
47c3d0c170
Remove extraneous comma
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
73898524ea
Print config.log when build succeeded as well
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
fde591f2c4
Makefile: build targets in parallel
...
I was never really happy with the way targets are serialized, it's fighting against `make` (causing issues like #234 and #219 ), and the target header isn't particularly informative. This fixes #234 and should also provide a speedup when building all targets simultaneously.
Download rules are now pre-requisites of build rules to stop multiple download attempts, and all build logs have a target suffix.
More work is needed on #219 , since download rules are always outdated unless a marker file is used. I'll look at this separately as I also want to allow script only packages.
10 years ago
Timothy Gu
b06795b831
Add a $(BITS) convenience variable
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
a063f823e8
Makefile: remove check for pkg-config since we build pkgconf
10 years ago
Timothy Gu
bcdc828e1c
Fix display of "autodetected jobs" when $(JOBS) is set in settings.mk
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
df1b36c387
Show autodetected cores when no $(JOBS) is specified
...
If there is a more readable way of doing this, please point out.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
9ebd3cedf7
update: Add "UPDATE_DRYRUN" mode
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
981b2c1d9b
Add message when i686-pc-mingw32 is used
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
978fed72ed
Fix target name check
...
This makes it error out when
make MXE_TARGETS=i686-w64-mingw32.stati
etc.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
0d612118bc
build-matrix: Speed up with unary notation
...
4.6s -> 3.9s.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
d87240eb7b
Remove i686-pc-mingw32
...
Fixes #400 and #492 .
See #453 .
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
30d33ef5db
Fix counting of build-only packages
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
2bf824b5a7
build-matrix: use $(words $(BUILD_PKGS)) instead of counting
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
1f24f22085
build-matrix: Add missing </html>
...
Odd the W3C HTML5 validator didn't catch that (although the XHTML
1.1 one did).
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
1ea2349833
build-matrix: make each tag a new line
...
Dunno how to fix the indentation, but this already looks way better
than before.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tobias Gruetzmacher
67cd70bebb
Add package versions to build-matrix.
...
This is a bit ugly at the moment, since there are some pretty long
version numbers in MXE...
10 years ago
Tobias Gruetzmacher
c9bdb7adf6
build-matrix: Split huge command into smaller ones
...
Just outputting each line on its own doesn't impact performance that
much (7s to 7.5s on my system).
On my system: 3.5s -> 4.5s, which is not to bad. --TG
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
e8b457a582
Revert "build-matrix: use $(newline) instead of ; to enter command"
...
This reverts commits e21b7281
and f3a7e0f2d0
.
The performance penalty is not worth it. On a relatively slow box
the time spent went from 4.6s to 15s.
10 years ago
TimothyGu
e21b728194
build-matrix: use $(newline) instead of ; to enter command
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
f3a7e0f2d0
Partially revert "Make build matrix output a bit nicer."
...
I have found a better solution.
The change to check/cross sign is not reverted.
This partially reverts commit 3797d4eb03
.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tobias Gruetzmacher
3797d4eb03
Make build matrix output a bit nicer.
...
This swithes the "Y" and "N" in the cells with nice symbols (✓ and ✗).
This also tries to shorten the cammand line a bit since this still runs
into "Argument list too long" errors on some systems...
10 years ago
Tony Theodore
4835619559
Makefile: add $(BUILD) to allowed targets
10 years ago
Timothy Gu
8dbc665ea1
Check if specified target is valid
...
See #518 .
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
500f27d10b
Makefile: update default target to i686-w64-mingw32.static (see #492 )
10 years ago
Timothy Gu
c693d0496d
Silent the echoing of comment in build-matrix.html
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
93f5573c6f
Explicitly disallow paths with whitespace
...
It didn't work anyway even before this commit.
Workarounds #490 .
10 years ago
Timothy Gu
9279bedac0
Change default sf mirror to auto-select
10 years ago
Timothy Gu
3209c45566
Add MXE_NO_BACKUP_DL mode for regression testing
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
30d2e78632
Add target download-only-* to ease developing
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Conflicts:
Makefile
10 years ago
Timothy Gu
55558ecdd3
Add target download-only-* to ease developing
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago