Commit Graph
100 Commits
Author SHA1 Message Date
Matt McCormick 26e90b4590 browser-asmjs: Use emscripten-slim to save image space 2018-01-29 01:15:20 -05:00
Matt McCormick 373402afbd browser-asmjs: Bump Emscripten to 1.37.29 2018-01-28 17:23:26 -05:00
Matt McCormick 135f1f5f73 readme: Note that only 64-bit images are provided 2018-01-21 21:18:41 -05:00
Matt McCormick c5fd5dc574 browser-asmjs: Bump Emscripten version and address cache permissions
Addresses:

  WARNING:root:emcc: cannot find library "rt"
  INFO:root:generating system library: dlmalloc_debug.bc... (this will be cached in "/emsdk_portable/.cache/asmjs/dlmalloc_debug.bc" for subsequent builds)
  Traceback (most recent call last):
    File "/emsdk_portable/sdk/em++", line 16, in <module>
      emcc.run()
    File "/emsdk_portable/sdk/emcc.py", line 1411, in run
      extra_files_to_link += system_libs.calculate([f for _, f in sorted(temp_files)] + extra_files_to_link, in_temp, stdout_=None, stderr_=None, forced=forced_stdlibs)
    File "/emsdk_portable/sdk/tools/system_libs.py", line 485, in calculate
      libfile = shared.Cache.get(name, do_create, extension=suffix)
    File "/emsdk_portable/sdk/tools/cache.py", line 102, in get
      shutil.copyfile(temp, cachename)
    File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
      with open(dst, 'wb') as fdst:
  IOError: [Errno 13] Permission denied: '/emsdk_portable/.cache/asmjs/dlmalloc_debug.bc'

when performing a Debug build.
2018-01-18 11:27:08 -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 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 7451c09bcf browser-asmjs: Bump Emscripten to 1.37.21 2017-09-14 11:44:44 -04:00
Matt McCormick 2d0e17f48a linux-mips: add to README 2017-09-05 00:17:04 -04:00
Matt McCormick 499f8f5510 ci: Use CircleCI 2.0
Addresses #156
2017-08-28 13:24:53 -04: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
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 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 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 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 245259f9a8 linux-armv5: Fix cpp path
Addresses #123
2017-04-10 00:20:40 -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 b1d45ae99d common: Fix conan install in manylinux 2017-04-09 17:29:50 -04:00
Matt McCormick c25807acda dockcross: Do not leave dangling container on update-script
Addesses #103
2017-01-25 11:01:48 -05:00
Matt McCormick 2254494748 doc: Add Articles section 2016-11-17 01:12:10 -05:00
Matt McCormick 8dffb1d6d8 base: Use Debian package repository CDN
For improved reliability and performance
2016-11-17 00:59:31 -05:00
Matt McCormick 6b71b08cbd doc: We support Docker for Mac and Docker for Windows
No longer support boot2docker on these platforms
2016-11-16 19:08:04 -08:00
Matt McCormick d9d65ffcc9 dockcross: Add support for Windows
Tested on Git Bash and Bash on Ubuntu for Windows.

There are some issue with building the Docker image itself, but using the
images works great.
2016-11-16 19:02:55 -08:00
Matt McCormick a138f60ab6 android-arm: Update NDK to 13b and API to 16
API level 16 still covers the majority of systems:

  https://developer.android.com/about/dashboards/index.html

  https://developer.android.com/ndk/guides/stable_apis.html
2016-11-16 16:23:33 -05:00
Matt McCormick 0d3333a3e1 android-arm: Add CMake 3.7 toolchain file support
See:

  https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-a-standalone-toolchain
2016-11-16 15:14:17 -05:00
Matt McCormick b54dbfd9cf base: Improve openssl build for i686
Avoid bash-isms.

Also return true from the sub-shell.
2016-11-06 10:13:08 -05:00
Matt McCormick f3654d8dce manylinux: Run visudo -c
Verify /etc/sudoers validity

Tested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
2016-11-03 21:50:42 -04:00
Matt McCormick 53cf0849fe manylinux: Do not require a tty for sudo
This enabling installation of Python packages with on CI services.

Issue #57
2016-11-03 21:50:41 -04:00
Matt McCormick 26c5447d29 manylinux: Consolidate common content into common.manylinux 2016-11-03 21:50:41 -04:00
Matt McCormick b3feda218b base: Bump CMake for improved add_custom_command
Improves cross-compilation support in add_custom_command by integrating

  https://gitlab.kitware.com/cmake/cmake/merge_requests/217

CMake Git master from 2016-11-03 (3.8-master).

Addresses #54
2016-11-03 12:38:25 -04:00
Matt McCormick a7c894ab50 doc: Use MicroBadger badges 2016-11-01 10:00:15 -04:00
Matt McCormick fdb3a52a01 doc: variable -> variables 2016-11-01 09:51:20 -04:00
Matt McCormick 623148e6e5 manylinux-x{64,86}: Bump scikit-build to 0.4.0 2016-10-31 18:40:36 -04:00
Matt McCormick 80993ad985 windows-x{64,86}: Bump MXE to 2016-10-25 2016-10-26 17:12:50 -04:00
Matt McCormick 1354fe2586 manylinux-x86: Initial addition 2016-09-24 23:14:33 -04:00
Matt McCormick fd2b8efe51 linux-x86: Use linux32 as entrypoint for uname -m output 2016-09-24 22:37:00 -04:00
Matt McCormick b1037c9f5f manylinux-x64,base: Download cmake binary for SSL support
Download the CMake binary from CMake.org for SSL support. #39
2016-09-21 20:25:02 -04:00
Matt McCormick 0bc1f257a6 makefile: Add manylinux-x64 to top level targets 2016-09-21 10:22:31 -04:00
Matt McCormick daafa314f6 circleci: Cache Docker images 2016-09-21 09:49:05 -04:00
Matt McCormick b596ca6cd8 base,manylinux-x64: Use sed for Dockerfile composition
Suggested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
2016-09-20 18:08:43 -04:00
Matt McCormick ed2ae68b7b manylinux-x64: Document in README 2016-09-20 18:08:43 -04:00
Matt McCormick 60374aa006 manylinux-x64: Install skbuild 2016-09-20 18:08:40 -04:00
Matt McCormick 5d90a72dfc manylinux-x64: Initial addition 2016-09-20 18:07:58 -04:00
Matt McCormick 755f45b412 base: Split into Dockerfile.in and common.docker
So common.docker can be re-used in other images that are not built FROM base.
2016-09-20 08:58:41 -04:00
Matt McCormick 2b18bb7013 doc: Note that --args needs quotes for spaces 2016-09-01 10:11:32 -04:00
Matt McCormick f07ca0043c base: Do not add -i -t flags to run command by default
Allow the dockcross script to be used in scripts where a tty is not available.
2016-08-31 22:31:58 -04:00
Matt McCormick b72060d9a2 browser-asmjs: Remove CMakeForceCompiler
CMakeForceCompiler was marked deprecated in CMake 3.6.0. It emits many
warnings when using Emscripten. These changes can be removed in a future
version of Emscripten when it is disabled or removed per:
https://github.com/kripken/emscripten/pull/4477
2016-08-11 11:51:42 -04:00
Matt McCormick 70da314cf0 browser-asmjs: Bump Emscripten to 1.36.7 2016-08-11 11:45:23 -04:00
Matt McCormick b24ab3ba11 base: Bump CMake to 3.6.1 2016-08-11 11:44:04 -04:00
Matt McCormick a7041e155d doc: Fix the examples markup 2016-08-02 12:03:18 -04:00
Matt McCormick 440f13b087 doc: Note that emulators are usually available. 2016-08-02 11:53:44 -04:00
Matt McCormick c818f24198 doc: Add a link to the Docker Toolbox 2016-08-02 11:50:53 -04:00
Matt McCormick 8a01c4d26d doc: Fixes and tweaks to the README 2016-08-02 11:47:30 -04:00
Matt McCormick e3ecfeb1a6 test: Use 'make test' as the Makefile target
This is a more common name for this target and it helps with tab completion.
2016-07-22 08:49:49 -04:00
Matt McCormick 60cd0e4678 windows-x64: Bump MXE to 2016-07-21 2016-07-22 08:49:41 -04:00
Matt McCormick 1620453675 windows-x86: Bump MXE to 2016-07-21 2016-07-22 08:49:41 -04:00
Matt McCormick b148e1ce23 linux-x64: Add CMAKE_TOOLCHAIN_FILE 2016-07-22 08:49:41 -04:00
Matt McCormick 1ed3548655 base: Add cmake wrapper scripts for CMAKE_TOOLCHAIN_FILE
All images should define this variables.

Disable build tests on the base image because it is not configured for cross
compiling.
2016-07-22 08:48:59 -04:00
Matt McCormick 041eb8702b doc: Move status badge location 2016-07-16 21:31:37 -04:00
Matt McCormick a5de661ce8 doc: Correct CircleCI badge URL location 2016-07-16 17:44:12 -04:00
Matt McCormick 9cf3d4acbf doc: Identify how to start up a shell in the build environment 2016-07-16 17:12:52 -04:00
Matt McCormick 24c0141bea ci: Fix make *.test invocation 2016-07-16 13:55:04 -04:00
Matt McCormick e1ef4f6194 Makefile: replace default target by all target 2016-07-16 01:27:13 -04:00
Matt McCormick be7fbe3c0c doc: Demostrate that the dockcross script should be exectuted from the source
dir
2016-07-16 01:19:53 -04:00
Matt McCormick e76eb019d8 qemu: Bump built version to 2.6.0 2016-07-16 01:16:39 -04:00
Matt McCormick 9d4f4dce73 darwin-x64: Remove
This is not maintained, and it cannot be effectively used because of legal
reasons. Apple does not allow software to be built for Mac's from non-Apple
hardware.
2016-07-16 01:09:53 -04:00
Matt McCormick 414812088c doc: README improvements 2016-07-16 01:07:41 -04:00
Matt McCormick 04963abea8 linux-arm64: Fix description 2016-07-16 00:01:49 -04:00
Matt McCormick 04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick a5c84b842f arm64: Initial addition 2016-07-15 17:39:33 -04:00
Matt McCormick fac0bbe9ed base: Add a root password 2016-07-15 15:54:39 -04:00
Matt McCormick d5c20e773a Extend httpredir workaround to all images
Difficulty was also experienced with the base image
2016-07-15 15:54:32 -04:00
Matt McCormick 197350dbb6 base: Bump CMake to 3.6.0 2016-07-10 19:09:10 -04:00
Matt McCormick 962a1ecb11 windows-x86: Replace Debian sources URL's
"Error reading from server", "connection lost" error occur. Use workaround of
using a specific debian mirror as suggested here:

  https://stackoverflow.com/questions/32304631/docker-debian-apt-error-reading-from-server
2016-07-10 01:19:09 -04:00
Matt McCormick 30e29f3bbb browser-asmjs: cp ~/.emscripten, etc to the user home in the entrypoint 2016-07-06 15:33:35 -04:00
Matt McCormick b84b303f13 browser-asmjs: Use updated Node Debian package sources 2016-07-05 22:24:59 -04:00
Matt McCormick 2c01672248 browser-asmjs: Bump Emscripten to 1.36.5 2016-07-05 22:12:33 -04:00
Matt McCormick b4ceb8c514 linux-ppc64le: Fix WORKDIR for dockcross script 2016-07-05 21:52:25 -04:00
Matt McCormick 42ff489565 dockcross: Improve end of script help formatting 2016-07-05 21:50:20 -04:00
Matt McCormick a5d5307a97 dockcross: Remove duplicate option parsing 2016-07-05 21:49:07 -04:00
Matt McCormick aab9632ab6 windows-x86: Add --force-yes
For

E: There are problems and -y was used without --force-yes

on CircleCI.
2016-07-05 21:45:56 -04:00
Matt McCormick 8b07afd442 android-arm: Fix file permissions on toolchain files 2016-07-05 21:45:44 -04:00
Matt McCormick 1ab26b12e5 linux-armv5: Document in the README 2016-07-05 21:45:44 -04:00
Matt McCormick dbe90cdac2 doc: Improve usage documentation of dockcross in README 2016-07-05 21:45:44 -04:00
Matt McCormick e8830e9641 circleci: Use the dockcross script 2016-07-05 21:45:35 -04:00
Matt McCormick 8cd9083ae6 dockcross: Improve command help 2016-07-04 22:27:04 -04:00
Matt McCormick 5aa3cd3867 dockcross: Add short flags 2016-07-04 22:17:22 -04:00
Matt McCormick caa56f50a4 base: update CMake and ninja to latest versions 2016-07-04 22:03:10 -04:00
Matt McCormick 3a96030b23 base: support BUILDER_USER, BUILDER_GROUP, and liquidprompt bash 2016-07-04 22:03:10 -04:00
Matt McCormick 4c8658f652 Merge branch 'dockcross-default-image' 2016-07-04 21:32:19 -04:00
Matt McCormick d459ab687f Merge branch 'test-armv5' 2016-07-04 21:31:10 -04:00
Matt McCormick 887717f375 linux-armv5: Define CMAKE_TOOLCHAIN_FILE 2016-07-04 00:13:50 -04:00
Matt McCormick fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick aa06b9af2c doc: dockcross generation should be run with --rm 2016-07-03 22:51:10 -04:00
Matt McCormick 6f987f4013 doc: README formatting 2016-07-03 22:20:01 -04:00
Matt McCormick 98e5758770 linux-armv5: Add CircleCI testing 2016-06-12 20:10:57 -04:00
Matt McCormick 137831c028 windows-x86: Document in README. 2016-04-16 22:35:19 -04:00
Matt McCormick b2d25e9a57 windows-x86: Add CircleCI testing. 2016-04-16 21:37:33 -04:00
Matt McCormick f3be2be983 windows-x86: Add environmental variables. 2016-04-16 21:36:04 -04:00