Commit Graph

33 Commits

Author SHA1 Message Date
60c9ba0b79 fix merge
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-05 17:33:52 +02:00
40545c5f78 Disable python with GDB
Disable python with GDB: GDB 8.1 and lower have issues with python 3.7 and upper :
https://bugzilla.redhat.com/show_bug.cgi?id=1577396

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-05-26 20:06:05 +02:00
9159152331 Update docker file with ARG FROM image 2021-05-14 18:51:41 +02:00
b4e1b0e87d Fix wrong docker image from dockcross/base:latest to bensuperpc/base:latest 2021-05-14 18:38:41 +02:00
c7fcae512e Update image 2021-05-14 17:04:48 +02:00
a42f28be4c Add new fixes 2021-05-13 22:11:43 +02:00
695ecfc899 Disable python for GDB, fix wrong config and add riscv64 2021-05-13 15:13:12 +02:00
5ed643c05c Update crosstool-ng to lastest version 2021-05-13 12:08:38 +02:00
08f480baa9 Add OpenCV and boost lib 2021-05-12 11:18:20 +02:00
5906aae649 Update automake to 16.3 and ncurse to 6.1 2021-05-08 18:28:33 +02:00
4119679f1c Fix build faild : update mpc to 1.1.0 2021-05-08 18:21:30 +02:00
27a24d2be3 Re-add linux-ppc64le image, update MPFR to 4.0 from 3.1, BINUTILS to 2.32 2021-05-08 17:29:43 +02:00
fd0f89884f Re-add linux-ppc64le image, update MPFR to 4.0 from 3.1, BINUTILS to 2.32 2021-05-08 17:25:13 +02:00
a9dac6fe6a Fix GCC version 2021-05-08 02:43:37 +02:00
71af7f0127 Update GCC to 8.5.0 2021-05-07 19:10:56 +02:00
61b97c22c6 Fix armv5 and armv7a 2021-05-07 11:53:15 +02:00
Jean-Christophe Fillion-Robin
68b4549a50 Introduce "common.label-and-env"
This will simply the removal of deprecated "org.label-schema" annotation [1]
and the introduction of open containers ones [2]

[1] http://label-schema.org/rc1/
[2] https://github.com/opencontainers/image-spec/blob/master/annotations.md
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
369d828efd Dockerfile: Remove unused default value associated IMAGE build argument 2021-04-18 19:15:26 +02:00
Jonas Vautherin
8388e2be3a Change cmake_find_root_path_mode to BOTH for remaining
linux cross-compiling images.
2019-10-11 18:37:07 +02:00
Leonardo Graboski Veiga
0848dfc264 Set environment variables for Linux kernel cross compilation
Set the ARCH, CROSS_COMPILE and PATH variables to support Linux kernel
cross compilation.

ARCH is set according to:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch?h=v5.2.2

PATH is set to include the cross toolchain path, which is used by the
kernel Makefile.

CROSS_COMPILE is the CROSS_TRIPLE with a dash appended, as the kernel
Makefile uses it to invoke the toolchain utils.

To build the kernel, depending on the config, libssl-dev and libelf-dev
are required. Those are not dealt in this commit as they are not
correlated to the environment variables.

Validated by build the kernel using default kernel config when possible,
otherwise randomly select a defconfig.

<arch> - <defconfig>
arm64 - defconfig
armv5 and armv5-musl - colibri_pxa270_defconfig
armv6 - bcm2835_defconfig
armv7 and armv7a- tegra_defconfig
*x86 - i386_defconfig
mips and mipsel - ath79_defconfig
ppc64le - wii_defconfig
s390x - defconfig
x64 - x86_64_defconfig

* x86 dockcross toolchain does not provide "ld" and compilation fails.

fix #160
2019-07-23 22:54:25 -03:00
Matt McCormick
c96cbdc956
versioning: Set DEFAULT_DOCKCROSS_IMAGE based on the image tag
This ensures that the dockcross script will continue to use the specific
tagged version of the image that generates it.
2019-01-16 23:25:52 -05:00
Anton Chernov
78b49e90cb Enabled OpenMP for linux-arm64, linux-armv5, linux-armv7, linux-mips, linux-s390x 2018-08-27 13:53:31 +02:00
Nadav Ruskin
bbf6d6d45e Crosstool-ng'd armv5 2018-07-15 13:43:55 +03:00
Anton Chernov
eb65a8970a Added fortran compiler
* Added FC to all Dockerfiles
* Changed cmake toolchains to use environment variables for compilers
2018-05-25 18:34:23 +02:00
Matt McCormick
245259f9a8 linux-armv5: Fix cpp path
Addresses #123
2017-04-10 00:20:40 -04:00
Jean-Christophe Fillion-Robin
286e6b5c95
Dockerfile: Explicitly depend on "dockcross/base:latest"
As recommended in by CircleCI, explicitly specify the "latest"
tag. This will be important when we will start versioning our images.

Copied from CircleCI documentation [1]:

"Make sure you tag the image you use in the FROM command in your
Dockerfile, even if it is the default “latest” tag. Otherwise, Docker
will pull down all tags for the image you specify. This will create
significant performance problems because the save/load strategy described
above only caches the image layers (and thus tags) that you specify in
the docker save command, so other tags will be re-pulled on every build
if a tag is not specified in the FROM command."

[1] https://circleci.com/docs/docker/#caching-docker-layers
2016-11-26 18:25:08 -05:00
Jean-Christophe Fillion-Robin
cfcc7d6700
dockerfile: Keep track of buildtime metadata
This commit build each images with the following arguments:

* IMAGE: Name of the image (e.g dockcross/base, dockcross/manylinux-x64, ...)
* VCS_REF: dockcross/dockcross commit from which this image is built
* VCS_URL: this repository obtained reading remote.origin.url
* BUILD_DATE: Date and time when the build was initiated

Then, within the Dockerfile, the metadata are associated with the image
using the "LABEL" instruction.
See https://docs.docker.com/engine/reference/builder/#/label

The corresponding labels can be found here:
http://label-schema.org/rc1/#build-time-labels

See #28
2016-10-30 23:57:04 -04:00
Matt McCormick
04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick
4c8658f652 Merge branch 'dockcross-default-image' 2016-07-04 21:32:19 -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
Roman Valls Guimera
3f0fc180cd Fixed armel (armv5) jessie docker build. Thanks @thewtex for the heads up. 2016-06-12 19:44:48 +02:00
Roman Valls Guimera
7e6150cf29 Tidy up and consolidate both README.rst/README.md into one. Introduce linux-armv5. 2016-05-30 22:50:22 +02:00