Commit Graph

463 Commits

Author SHA1 Message Date
Matt McCormick
80ccc26e32 Merge pull request #172 from thewtex/mxe-bump
windows-{x64,x86}: Bump MXE to 2017-10-25 master
2017-10-25 12:14:58 -05:00
Matt McCormick
07e5aecff3 windows-{x64,x86}: Bump MXE to 2017-10-25 master
MXE now ships its own version of CMake that sources the toolchain file,
etc. As suggested by their warning when sourcing the toolchain file, use
it.

This also results in updating GCC from 4.9 to 5.4.
2017-10-25 12:14:50 -04:00
Matt McCormick
6a15a7aa24 Merge pull request #168 from thewtex/linux-arm64-cpp
linux-arm64: Fix CPP path
2017-10-10 14:14:27 -04:00
Matt McCormick
1f953ac197 Merge pull request #167 from thewtex/anchors-aliases
circleci: Use anchors and aliases for build settings
2017-10-10 14:14:13 -04:00
Matt McCormick
7414eacff0 linux-arm64: Fix CPP path
Addresses #166
2017-10-09 23:28:23 -04:00
Matt McCormick
3ed3a821b7 circleci: Use anchors and aliases for build settings
Addresses #164
2017-10-09 23:24:43 -04:00
Matt McCormick
3eed5ad215 Merge pull request #162 from john-yan/master
Add linux-s390x support
2017-09-16 11:05:50 -04:00
Junliang Yan
adbedc79d6 Address comments in linux-s390/Dockerfile.in 2017-09-15 14:03:08 -04:00
Junliang Yan
ceacbcc1a1 Add s390x to README.rst 2017-09-15 13:58:07 -04:00
Junliang Yan
6135a6b8ac Add linux-s390x to config.yml 2017-09-15 13:54:22 -04:00
Matt McCormick
a7fe377eac Merge pull request #161 from thewtex/emscripten-bump
browser-asmjs: Bump Emscripten to 1.37.21
2017-09-14 18:20:40 -04:00
Junliang Yan
8b78b8d2d7 Add linux-s390x support 2017-09-14 16:59:57 -04:00
Matt McCormick
7451c09bcf browser-asmjs: Bump Emscripten to 1.37.21 2017-09-14 11:44:44 -04:00
Matt McCormick
ef5f9b1c68 Merge pull request #155 from danjacques/linux-mips
Implement "ct-ng" building, add "linux-mips".
2017-09-05 00:31:34 -04:00
Matt McCormick
2d0e17f48a linux-mips: add to README 2017-09-05 00:17:04 -04:00
Dan Jacques
7dd46fa045 Implement "ct-ng" building, add "linux-mips".
Add a mechanism to construct a full cross-compiler environment using the
"crosstool-ng" cross-compiler building utility. This is implemented in
the new "common.crosstool" include, and augments the "dockcross/base"
base image.

Update Makefile to consolidate Dockerfile generation, notably the
"sed"-based inclusion directives.

Finally, employ all of this to generate a "linux-mips" 32-bit hard-float
MIPS cross-compiler Dockcross image.
2017-09-01 10:09:31 -04:00
Matt McCormick
fd4115953d Merge pull request #157 from thewtex/circleci-2
ci: Use CircleCI 2.0
2017-08-28 15:15:01 -04:00
Matt McCormick
499f8f5510 ci: Use CircleCI 2.0
Addresses #156
2017-08-28 13:24:53 -04:00
Matt McCormick
da5aebb14f Merge pull request #153 from conz27/fix_home_dir_ownership
Fix $HOME directory ownership permissions
2017-06-29 11:20:37 -07:00
Constantine Grantcharov
b1cef063a1 Fix $HOME directory ownership permissions
BUG:

Creating a new directory under /home/<user>/ from the /work folder does
not work. In fact, going into the home directory and trying to run mkdir
fails as well.

SOLUTION:

Turns out chown -R <user>:<user> was run on $HOME/* instead of on $HOME.
This means that /home/<user> was still under the ownership of root:root,
hence preventing any writes to non-root users.
2017-06-29 08:31:33 -04:00
Matt McCormick
2b28515daf Merge pull request #151 from jam7/fix-pip
linux-*: Change common.docker to fix pip installation.
2017-06-10 18:07:17 -07:00
Matt McCormick
7dd41cdc4b common: work around overlay storage backend pip uninstall
Addresses:

  Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
Collecting wheel
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
Installing collected packages: pip, wheel
  Found existing installation: pip 1.5.6
    Uninstalling pip-1.5.6:
Exception:
Traceback (most recent call last):
  File "/tmp/tmpqu31Wp/pip.zip/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/tmp/tmpqu31Wp/pip.zip/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/tmp/tmpqu31Wp/pip.zip/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/usr/lib/python2.7/shutil.py", line 300, in move
    rmtree(src)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
    os.rmdir(path)
  OSError: [Errno 39] Directory not empty: '/usr/lib/python2.7/dist-packages/pip/backwardcompat'

when Docker is using the overlay fs backend. See:

  https://github.com/moby/moby/issues/12327
2017-06-10 17:40:36 -04:00
Kazushi (Jam) Marukawa
e6b6ef9d68 Change common.docker to fix pip installation for linux-*.
This won't nothing for manylinux-* since pip is installed correctly by manylinux-common/install-python-packages.sh.
2017-06-09 23:21:26 +09:00
Matt McCormick
4dbca9eb85 Merge pull request #149 from dockcross/manylinux-update-scikit-build
manylinux: Update scikit-build from 0.5.1 to 0.6.1
2017-06-08 12:32:20 -07:00
Jean-Christophe Fillion-Robin
0fbfa064b3
manylinux: Update scikit-build from 0.5.1 to 0.6.1
See http://scikit-build.readthedocs.io/en/latest/changes.html#scikit-build-0-6-1
2017-06-08 14:06:14 -04:00
Matt McCormick
f689116b3f Merge pull request #143 from thewtex/manylinux-sudo
manylinux: Remove rh devtoolset sudo
2017-05-20 23:29:21 -04:00
Matt McCormick
e513a262e1 manylinux: Remove rh devtoolset sudo
This requires that sudo supports '-E', which gosu does not.
2017-05-20 23:27:44 -04:00
Matt McCormick
68962e0e84 Merge pull request #138 from conz27/ssh_support
SSH Support for Git Clone / Checkout
2017-05-13 11:04:25 -04:00
Constantine Grantcharov
bf0f74cfd3 SSH Support for Git Clone / Checkout
Added SSH support to enable Git checkouts that use SSH instead of
HTTP(S).

The SSH directory is assumed to be in $HOME/.ssh; however:

export SSH_DIR=/my/custom/dir

will override the setting and allow for configurable settings.

$SSH_DIR is then mounted as host-volume in the Docker container and
placed in /home/<user>/.ssh
2017-05-12 23:52:20 -04:00
Matt McCormick
8feb70b748 Merge pull request #142 from thewtex/manylinux-repo-sources
manylinux: Do not over ride repositories
2017-05-12 23:30:50 -04:00
Matt McCormick
5e83a6945d manylinux: Do not over ride repositories
The upstream manylinux images have switched to the CentOS Vault
repositories.

This addresses the manylinux-x86 image build.
2017-05-12 22:28:38 -04:00
Matt McCormick
d878d0fbf7 Merge pull request #140 from dockcross/add-missing-repo-files
manylinux: Add missing repo files
2017-05-11 09:12:10 -04:00
Jean-Christophe Fillion-Robin
065448460f
manylinux: Add missing repo files
This commit includes files omitted in commit 6e59959 (manylinux: Use
CentOS Vault repositories)

Reported-by: Constantine Grantcharov <cgrantcharov@trustpointinnovation.com>
2017-05-11 00:01:54 -04:00
Jean-Christophe Fillion-Robin
72b0dfb86d Merge pull request #137 from dockcross/update-manylinux-repo-and-fix-text-file-busy-error
Update manylinux repo and fix text file busy error
2017-05-01 22:35:27 -04:00
Jean-Christophe Fillion-Robin
dd9d902538
Fix "text file busy" error reported when using AUFS storage driver
This commit fixes the following error specific to AUFS:

/dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Text file busy
/dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Success

Thanks @sobolevn
See https://github.com/moby/moby/issues/13594#issuecomment-262441366
2017-05-01 16:35:28 -04:00
Jean-Christophe Fillion-Robin
6e59959a6a
manylinux: Use CentOS Vault repositories
Backported from thewtex/docker-centos-build@26f7fd3

CentOS 5 is no longer supported and requests to obtain information from
the mirrors fails. However, the packages are still available on the
"Vault" mirrors.

Comment out the `mirrorlist` entries and set `enabled=0` in
CentOS-Base.repo, add entries for 5.11 in CentOS-Vault.repo and mark
them `enabled=1`.
2017-05-01 16:35:28 -04:00
Matt McCormick
8fc9bd5a1d Merge pull request #136 from thewtex/gosu
common: Use gosu to replace chpst and add sudo abilities
2017-04-24 11:06:38 -04:00
Matt McCormick
4c3612da2b common: Use gosu to replace chpst and add sudo abilities
From:

  https://github.com/tianon/gosu
2017-04-22 23:35:12 -04:00
Matt McCormick
6c77167ad6 Merge pull request #135 from danjacques/patch-2
Update .circleci-matrix.yml to include "linux-mipsel"
2017-04-19 14:43:02 -04:00
Daniel Jacques
d53ac677b4 Update .circleci-matrix.yml to include "linux-mipsel"
Fixes #134.
2017-04-19 08:02:41 -07:00
Matt McCormick
e8125c4c81 Merge pull request #133 from danjacques/patch-1
linux-armv7: Fix cpp path
2017-04-17 15:00:42 -04:00
Daniel Jacques
acc6d3bb3b linux-armv7: Fix cpp path
Addresses #132.
2017-04-17 11:30:15 -07:00
Matt McCormick
af65aafb7e Merge pull request #131 from thewtex/cmake-bump
Cmake bump
2017-04-16 21:29:32 -04:00
Matt McCormick
89ef580768 common: Bump Ninja to 1.7.2 2017-04-15 11:45:18 -04:00
Matt McCormick
be603d62cf common: Bump CMake to v3.8.0 2017-04-15 11:44:57 -04:00
Matt McCormick
30c14955c5 Merge pull request #129 from thewtex/linux-armv5-cpp
linux-armv5: Fix cpp path
2017-04-10 07:27:40 -04:00
Matt McCormick
245259f9a8 linux-armv5: Fix cpp path
Addresses #123
2017-04-10 00:20:40 -04:00
Matt McCormick
8ec77d7a07 Merge pull request #128 from thewtex/mipsel-paths
linux-mipsel: Fix toolchain environmental variable paths
2017-04-09 23:35:38 -04:00
Matt McCormick
d791f2a5cb linux-mipsel: Fix toolchain environmental variable paths
To address #121
2017-04-09 20:51:49 -04:00
Matt McCormick
3ffc304c0b Merge pull request #127 from thewtex/manylinux-conan
common: Fix conan install in manylinux
2017-04-09 20:49:36 -04:00