summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* cleanup styleTony Theodore2015-11-211-1/+1
|
* suppress git commit error in TravisBoris Nagaev2015-11-191-1/+1
| | | | | See #924 See https://travis-ci.org/mxe/mxe/builds/91781012#L99
* Merge pull request #924 from LuaAndC/travis-build-pullsTony Theodore2015-11-181-0/+13
|\ | | | | fix travis builds for pull requests
| * travis-push: make sure "git commit" succeededBoris Nagaev2015-10-131-1/+1
| |
| * travis: commit and push only if GH_TOKEN is setBoris Nagaev2015-10-131-0/+13
| | | | | | | | | | This allows to enable travis build for a pull request without failing it. This is useful to check at leat that Makefile syntax is correct.
* | build-pkg: round argument of os.dateTony Theodore2015-11-161-1/+1
| | | | | | | | fixes #1001
* | Merge branch 'build-pkg-dlls-and-empty' of https://github.com/LuaAndC/mxe ↵Tony Theodore2015-11-161-2/+46
|\ \ | | | | | | | | | into LuaAndC-build-pkg-dlls-and-empty
| * | build-pkg: report non-empty depending on emptyBoris Nagaev2015-11-091-0/+7
| | | | | | | | | | | | fix #968
| * | build-pkg: do not pack empty packagesBoris Nagaev2015-11-091-1/+7
| | | | | | | | | | | | see #968
| * | build-pkg: report shared items installing no .dllBoris Nagaev2015-11-091-0/+31
| | | | | | | | | | | | | | | | | | Report only if the item installs .a See https://github.com/mxe/mxe/pull/966#issuecomment-153712570
| * | build-pkg: typoBoris Nagaev2015-11-091-1/+1
| | |
* | | Merge pull request #977 from LuaAndC/nonetworkTony Theodore2015-11-142-0/+37
|\ \ \ | | | | | | | | disable networking with LD_PRELOAD when build
| * | | build-pkg: blacklist nonetwork.soBoris Nagaev2015-11-101-0/+1
| | | |
| * | | disable networking with LD_PRELOAD when buildBoris Nagaev2015-11-101-0/+36
| | | | | | | | | | | | | | | | see #969
* | | | build-pkg: add EOL after last line in *.list fileBoris Nagaev2015-11-111-1/+1
|/ / / | | | | | | | | | fix #979
* | | build-pkg: improve the progress printer accuracyBoris Nagaev2015-11-091-5/+34
| | | | | | | | | | | | | | | | | | | | | There are 20 huge packages like gcc that are compiled for a half of the build time. The time left expected by the progess printer changes dramatically after building a huge package. Information about huge packages smoothes the changes.
* | | build-pkg: separate progress printing codeBoris Nagaev2015-11-091-12/+28
| | |
* | | build-pkg: print progressBoris Nagaev2015-11-091-1/+13
| | | | | | | | | | | | | | | | | | Example: [ 4/100] The build is expected to complete in 0.3 hours, on Thu Oct 29 23:03:27 2015
* | | build-pkg: add logging function echoBoris Nagaev2015-11-091-1/+5
|/ / | | | | | | | | echo is format + print log is echo('[build-pkg]', ...)
* | build-pkg: exclude usr and settings.mk from sourceBoris Nagaev2015-10-281-2/+0
| |
* | build-pkg: use current date as Debian patch versionBoris Nagaev2015-10-271-1/+4
| | | | | | | | | | | | | | Example: "4_1_3" -> "4.1.3-20151028". Adding build-unique (making two builds in one day is unlikely) Debian patch version tells APT that the package was updated.
* | build-pkg: replace _ with . in versionsBoris Nagaev2015-10-271-1/+1
| | | | | | | | | | | | Underscores in versions were previously replaced with dashes. Example: 4_1_3 -> 4-1-3 (package winpcap). "-3" is interpreted as Debian patch version, which is wrong.
* | build-pkg: add package mxe-sourceBoris Nagaev2015-10-271-1/+31
| | | | | | | | close #946
* | build-pkg: rename makeMxeRequirementsDebBoris Nagaev2015-10-271-3/+3
| | | | | | | | rename makeMxeRequirementsDeb to makeMxeRequirementsPackage
* | build-pkg: refactor package building functionBoris Nagaev2015-10-271-74/+58
| | | | | | | | | | | | Move common code (making a directory, control file, running tar, dpkg-deb, etc) to function makePackage(). This function is used by functions makeDeb() and makeMxeRequirementsDeb().
* | build-pkg: find build arch with dpkg-architectureBoris Nagaev2015-10-271-2/+3
| |
* | build-pkg: refactor Debian control generatingBoris Nagaev2015-10-271-24/+36
| | | | | | | | | | Function debianControl() takes parameters of the Debian package and returns the contents of the Debian control file.
* | build-pkg: don't pre-download if MXE_MAX_ITEMSBoris Nagaev2015-10-271-1/+3
| | | | | | | | | | MXE_MAX_ITEMS is used mostly for debugging purposes. Waiting all packages to download (2Gb) is boring.
* | build-pkg: keep deb-control filesTony Theodore2015-10-251-0/+3
| |
* | build-pkg: use config.guess to get native targetBoris Nagaev2015-10-251-1/+2
| |
* | build-pkg: don't blacklist usr/share/cmakeBoris Nagaev2015-10-251-1/+5
| |
* | build-pkg: log cross-target dependenciesBoris Nagaev2015-10-251-0/+8
| | | | | | | | Don't log dependencies on native target.
* | build-pkg: pass MXE_TARGETS to "make pkg"Boris Nagaev2015-10-251-2/+3
| | | | | | | | | | | | | | "make target~pkg" doesn't work if target is not in MXE_TARGETS. I believe such behaviout to be a feature not a bug, because it seems to work faster with lesser MXE_TARGETS.
* | build-pkg: fix test for library formatBoris Nagaev2015-10-251-1/+6
| | | | | | | | | | | | | | Fix warnings like: [build-pkg] File usr/x86_64-unknown-linux-gnu/lib/libyasm.a (x86_64-unknown-linux-gnu~yasm): not recognized library
* | build-pkg: add function searching for a substringBoris Nagaev2015-10-251-2/+6
| | | | | | | | | | | | str:match(pattern) treats pattern as a regular expression. str:find(substring, 1, true) searches for a substring. The latter is needed to check if a filename contains a target.
* | update build-pkg.lua for toolchain re-orgBoris Nagaev2015-10-251-178/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Remove common packages. Common packages served a replacement for native target. Now we have native target and don't need common packages. Existing common files (ncurses) have to be fixed. 2. Package -> Item. Item means a string "target~package". All functions which used packages now use items. 3. One build list instead of 4 build lists. All items are sorted and built together without separation by target. 4. No module-global variable "target". All functions using target now get "item" and target is extracted from item. All remaining module-global variables don't change (are constants) or are created in the bottom of the module. 5. MXE_MAX_PACKAGES -> MXE_MAX_ITEMS see #925 see #919
* | build-pkg: rename local var "item" to "member"Boris Nagaev2015-10-251-2/+2
| | | | | | | | I want to use name "item" for something else.
* | build-pkg: remove most of the COMMON_FILESTony Theodore2015-10-251-28/+0
| | | | | | | | | | | | Source: https://github.com/mxe/mxe/pull/925#issuecomment-147992049 see #925
* | tools: note source of make-shared-from-staticTony Theodore2015-10-221-0/+3
| |
* | build-pkg: don't use numeric owner, group in tarBoris Nagaev2015-10-161-1/+1
| | | | | | | | | | | | | | | | File ownership is set as string "root/root" in Debian files. So numeric owners are converted to strings anyway. On FreeBSD numeric group "0" is converted to "wheel" instead of "root". see #901
* | build-pkg: check-requirements before downloadingBoris Nagaev2015-10-161-0/+1
| | | | | | | | | | | | | | Don't wait for downloading completed if something is wrong with dependencies. see #908
* | build-pkg: use gmake or gnumake if availableBoris Nagaev2015-10-161-22/+23
| | | | | | | | | | see #901 see 4743e7939d10d9983e01f085c94b24e4c317811d
* | build-pkg: use gtar or gnutar if availableBoris Nagaev2015-10-161-4/+19
|/ | | | close #901
* build-pkg: add MXE_CONF_PKGS to deps of packagesBoris Nagaev2015-09-291-1/+3
| | | | close #890
* build-pkg: add a note about fakeroot ipc problemBoris Nagaev2015-09-271-0/+7
| | | | | | I faced with the problem after running build-pkg on this machine many-many times. Finally I found this method how to fix it without restarting the machine.
* build-pkg: use --[[ ... ]] syntax for long commentBoris Nagaev2015-09-271-17/+19
|
* build-pkg: rename testCommand to executeBoris Nagaev2015-09-211-3/+3
| | | | see #874
* build-pkg: pre-download all packagesBoris Nagaev2015-09-201-0/+2
| | | | | | | Run `make download -j 6 -k` until it downloads all packages successfully before running further steps. close #855
* build-pkg: check *.a files with nmBoris Nagaev2015-09-201-0/+13
| | | | | close #858 see #854
* build-pkg: add function testCommandBoris Nagaev2015-09-201-0/+9
| | | | | This function runs a command and return whether it finished successfully.