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
Uwe Hermann
fd1dc823ed
Makefile: Add MXE_DISABLE_{PROGRAMS,DOCS,CRUFT}.
10 years ago
Timothy Gu
754f485bd2
Support .tbz2 and .txz
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
8b2e5e1bac
Fix GitHub update routine
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
b075a5ca1e
Fix autoconf version test since b9c230dd
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
77238e0175
Remove the usr/ directory in addition to its contents
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
128adcdac8
Makefile: reduce wget timeouts and retries
10 years ago
Timothy Gu
f341eb3780
Makefile: fix whitespace
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
3a506a2c61
Merge branch 'native'
10 years ago
Tony Theodore
7e59569dcd
Makefile: style cleanups
10 years ago
Timothy Gu
1eadfb66ec
Makefile: style cleanup
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
14375a38ff
show-*deps-%: check if package exists before attempting to show deps
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
d632bcd7cb
Use set_is_member from GMSL for $(PKGS)
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
20969b9645
Fix per-target dep calculation
...
For example `make show-downstream-deps-winpthreads` didn't show any deps
even though i686-w64-mingw32.static target is set.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
d68838f924
Check all requirements before exiting on error
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
1bf5679e1a
Separate out native-only packages in build matrix (& cosmetics)
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
cc00a4b039
Count "virtual" packages seperately in total in build-matrix.html
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
0f30d73e37
Add package count per target
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
2b02ee7a90
Add build matrix generation target
...
Based on a patch by Tobias Gruetzmacher <tobias-git@23.gs> (@TobiX).
Fixes #346 .
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
681921c815
Increase $(BUILD_PKG) accuracy by checking build rules
...
This eliminates false-positive with packages with explicit empty build rules
like binutils. gcc is another false-positive, but it is another matter and is
harder to fix.
Also use set_create function from GMSL to make the list sorted and uniq'd.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
b7ef1855fc
Move up LOOKUP_PKG_RULE
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
5eccb2f4db
Move whitespace variables up to where all the other variables are
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
a90a7252e2
silence deprecated target name warning for build-requirements
10 years ago
Tony Theodore
89a6f46b21
add requirements for gperf python ruby
10 years ago
Tony Theodore
6d6e255dbf
Merge pull request #359 from TimothyGu/temp-rem
...
Add convenience target clean-junk
10 years ago
Timothy Gu
130116224d
Squalch deprecated target name warning for build-requirements
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
c155dd7c8d
Merge commit 'd3adb06a1383a1454e95d58400c520454a61a716'
10 years ago
Timothy Gu
b89c4d4703
Add documentation for default settings.mk
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
d3adb06a13
Sort $(MXE_TARGET_LIST) by triplets instead of lib types
...
Nothing in the Makefile is affected else than the generation of default
settings.mk.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
6a099a0403
Add convenience target clean-junk
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
8d877bdc75
Always symlink to log/PKG_TARGET
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
99aea29c01
Use tmp-PKG-TARGET as temporary dir
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
97402e08de
Make download-* targets display "[download] *" instead of log
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Tony Theodore
0ff238e882
Makefile: add support for make-shared-from-static tool with default args
10 years ago
Tony Theodore
801cda3b53
Makefile: add MXE_VERBOSE variable to echo full logs
...
closes #309 and resolves #299
11 years ago
Tony Theodore
723241e085
Makefile: speedup LOOKUP_PKG_RULE function
...
Use gmsl `memoize` function and associative arrays to cache results
11 years ago
Tony Theodore
c950f3635c
various packages: enable shared builds
11 years ago
Tony Theodore
837ecd6648
Makefile and pkgconf: move external tools separate directory
11 years ago
Tony Theodore
47361fa750
Makefile docs and pkgconf: add support for shared|static variants
11 years ago
Tony Theodore
5a18b2786b
Merge pull request #320 from tonytheodore/lookup-pkg-rule
...
Makefile: refactor lookup of pkg build rules and deps
11 years ago
Tony Theodore
4bba59627e
Makefile: refactor lookup of pkg build rules and deps
...
Introduces a LOOKUP_PKG_RULE function that matches generic rules
from targets specified along the lines of:
triplet.lib-type.debug.treading.exceptions.my.experimental.version
Current build rules will be matched according to the current logic
(pkg-target --> pkg) and future variants can use "targets" as both
functionality determinants and a directory separator for multiple
side-by-side variants.
11 years ago
Tony Theodore
1a9ad29fe6
mxe configury: build native pkgconf and centralise various conf files
...
Since we need pkgconf for Cflags.private support, it seems like a
logical place for these types of config files instead of being
spread over Makefile, binutils, and gcc.
11 years ago
Tony Theodore
5fd5e9bbec
Makefile and docs: add GNU Make Standard Library
11 years ago
Tuukka Pasanen
9fafc0b3fc
Add MXE-wide dependency for autopoint to full fill package xine-lib requirements
11 years ago
Tony Theodore
e17929f62d
Revert "Add MXE_VERBOSE variable"
...
This reverts commit 56a8b1c202
.
11 years ago
Timothy Gu
56a8b1c202
Add MXE_VERBOSE variable
...
Define to view full and not `tail`'d log if building fails at build time.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Niels Kristian Bech Jensen
e80e2aae74
Makefile and docs: update automake version requirement
...
Conflicts:
Makefile
11 years ago
Niels Kristian Bech Jensen
b6bde6e9d3
update automake version requirement
11 years ago
Tony Theodore
acacfb4e1c
Merge branch 'stable'
...
Conflicts:
Makefile
11 years ago
Tony Theodore
37c6bfca7a
Makefile and docs: require automake 1.12 or later
11 years ago
Timothy Gu
d915ffa01f
Add update-package-% target
11 years ago
Tony Theodore
6051122254
Makefile: allow bypassing check-requirements
11 years ago
Tony Theodore
f488a011f1
Makefile: fix config.guess install
11 years ago
Tony Theodore
bc6104ccca
Makefile: move config.guess install from binutils
11 years ago
Tony Theodore
283449db45
Makefile: don't exit on failed download (failed checksum will exit)
11 years ago
Tony Theodore
cd9425517b
Makefile: add explicit failed download message
11 years ago
Tony Theodore
368150f334
Makefile: use cut instead of sed for env var list
11 years ago
Tony Theodore
35b8cdb8ad
Makefile: add proxies to env whitelist
11 years ago
Tony Theodore
e42592bb78
Makefile: remove extraneous backslash
11 years ago
Tony Theodore
82edf6dda8
Makefile: add build-requirements goal for optional native builds
11 years ago
Tony Theodore
6ab49b639e
Merge pull request #228 from tonytheodore/deps
...
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
11 years ago
Tony Theodore
58351a7b23
Makefile: remove TARGET dependencies on BUILD - keep optional for time being
11 years ago
Tony Theodore
08647cc045
Makefile: add BUILD variable and add to target loop and PATH
11 years ago
Tony Theodore
143ae3c63f
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
11 years ago
Tony Theodore
87cf91e5e1
Makefile: use a minimal whitelist of env vars
11 years ago
Tony Theodore
14cf095b76
Makefile: create marker directories so --touch works on clean tree
11 years ago
Tony Theodore
16a27abaf0
Makefile: add missing separator to find command
11 years ago
Tony Theodore
8982ac6b9e
Makefile: add settings.mk to failed log output
11 years ago
Tony Theodore
d6a0b0a47b
Makefile: unexport various *TARGET* variables
11 years ago
Tony Theodore
641c765f31
Makefile: add target-specific dependencies to download-foo rules also
11 years ago
Tony Theodore
5fa97e7eed
Makefile: add target-specific dependencies
11 years ago
Tony Theodore
4bc0f0f924
remove optional native builds for autoconf automake cmake libtool
...
these need more testing and proper multi-target support
11 years ago
Volker Grabsch
e412eb642d
Move package versions from index.html back into the src/*.mk files
...
Most of the automatic conversion was done using the following Python script:
import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
version = versions[pkg]
with open('src/' + pkg + '.mk', 'rb') as f:
mk = f.read()
checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
versionline = '\n$(PKG)_VERSION := %(version)s' % {'version': version}
newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
with open('src/' + pkg + '.mk', 'wb') as f:
f.write(newmk)
11 years ago
Volker Grabsch
4419187a68
Replace unneeded "*-package" IDs in the docs
11 years ago
Tony Theodore
2b8d7eaf67
add optional native automake and autoconf
11 years ago
Tony Theodore
b009e1f19f
Makefile: log OSX software version
11 years ago
Tony Theodore
cc718d702a
Makefile and docs: remove yasm requirement
11 years ago