Commit Graph

37 Commits

Author SHA1 Message Date
ec96e82d03 Change ISL mirror with new official source: cfb7d07ae1
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-12 10:05:21 +02:00
77000763ba
Merge branch 'dockcross:master' into update_label 2021-10-06 18:08:57 +02:00
3e3fee97dc Update mirror for isl packages
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-05 19:40:56 +02:00
f888b7de0b Replace deprecated label 'MAINTAINER' by 'LABEL maintainer'
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-04 12:51:28 +02:00
45a6e52b8b Fix GDB error 2021-09-20 16:47:34 +02:00
4d45a217ed Update linux-arm64
Update linux-arm64
2021-09-20 11:06:24 +02:00
d5bdd85049 Enable build ID
Enable build ID
2021-09-09 20:25:22 +02:00
d68c8073fe Update crosstool-ng
Update crosstool-ng

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-20 15:37:11 +02:00
1f28ea98a5 Update crosstool and fix
- Update to GCC 11.2.0
- Update crosstool-ng
- Fix FATAL: kernel too old with static build and QEMU (Down minimal kernel to 5.4.0, works on Ubuntu 20.04, debian 11 and Raspberry Pi OS after 2020-08-20)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-06 22:39:33 +02:00
f22865db7f Update crosstool-ng, mxe and wasm
Update crosstool-ng, mxe and wasm

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-04 15:12:10 +02:00
5c67699710 Update commit to latest version
Update crosstool-ng and mxe

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 08:23:29 +02:00
ae3ed7e025 Update linux-arm64 to latest crosstool-ng version
GCC 11
Linux 5.12.12
GLIBC 2.33
Binutils 2.36

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-28 11:08:47 +02:00
2082f62c76 Improve install-crosstool-ng-toolchain.sh scripts
It is now possible to choose the version of crosstool-ng per image, To make it easier to upgrade crosstool-ng to newer versions without having to update all images at the same time

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-23 14:53:33 +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
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
Sungmann Cho
37c54a3694 [linux-arm64] bump up the version of gcc to 8
linux-arm64 is currently using gcc 4, so it's difficult to take
advantage of modern C++. This PR bump up the version of gcc to
allow us to enjoy all the benefits of modern C++. (This PR is based
on #310)
2020-04-17 00:32:12 +09: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
Andre Richter
87d8255f03
Sync arm64 wtih other crosstool-ng targets 2018-06-14 20:27:20 +02: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
Nadav Ruskin
8508d3bcc4 Fixes to backward compatibility. 2018-05-08 08:35:37 -04:00
Nadav Ruskin
6191491ba5 Fixed linux-arm64 compilation I hope. 2018-05-03 06:49:46 -04:00
Nadav Ruskin
143c79e5cd Fixed toolchain paths 2018-04-30 06:09:35 -04:00
Nadav Ruskin
ffa14f8c9a Added missing arm64 architecture apt support 2018-04-29 09:37:53 -04:00
Nadav Ruskin
47b473054a Added forgotten PKG_CONFIG_PATH 2018-04-25 05:56:18 -04:00
Nadav Ruskin
88c828b855 Trying to integrate my linux-arm64 solution to dockcross 2018-04-25 05:50:45 -04:00
Matt McCormick
7414eacff0 linux-arm64: Fix CPP path
Addresses #166
2017-10-09 23:28:23 -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
b6f09a22bf Merge pull request #13 from thewtex/qemu-bump
qemu: Bump built version to 2.6.0
2016-07-16 01:17:29 -04:00
Matt McCormick
e76eb019d8 qemu: Bump built version to 2.6.0 2016-07-16 01:16:39 -04:00
Jean-Christophe Fillion-Robin
96f3514bf2 Dockerfiles: Rename working directory from "/build" to "/work"
Since the directory will contain both sources and build, this commit
generalizes its name.
2016-07-16 01:12:58 -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