Commit Graph

645 Commits

Author SHA1 Message Date
Matt McCormick
9a789a5397
Merge pull request #345 from JonasVautherin/cross-compilation-BOTH
Change cmake_find_root_path_mode to BOTH
2019-10-14 17:07:35 -04: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
Matt McCormick
9658ba30af
Merge pull request #343 from leograba/master
Set environment variables for Linux kernel cross compilation
2019-07-24 09:25:49 -04: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
dfd61226a7
Merge pull request #342 from JonasVautherin/334-android-and-linux-armv6
Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
2019-07-18 09:59:25 -05:00
Matt McCormick
40555d6f32
Merge pull request #337 from JonasVautherin/334-cmake-find-root-path-mode
Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
2019-07-18 09:56:39 -05:00
Jonas Vautherin
02dcaef714 Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
For android-arm, android-arm64 and linux-armv6
2019-07-18 12:03:07 +02:00
Jonas Vautherin
a35ef4410b Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
This is necessary if one wants to be able to use libraries or
includes or programs installed locally (and not on the system
of the build machine, or in CMAKE_SYSROOT, or in CMAKE_FIND_ROOT_PATH).

According to cmake order for find_* functions, CMAKE_FIND_ROOT_PATH
will be searched before the system of the build machine anyway,
which doesn't dramatically change the current behavior.
2019-07-18 00:29:15 +02:00
Matt McCormick
668da9eb04
Merge pull request #341 from thewtex/mxe-link
doc: Add link to MXE website
2019-07-17 16:06:50 -05:00
Matt McCormick
30faced713
doc: Add link to MXE website 2019-07-16 18:21:19 -04:00
Jean-Christophe Fillion-Robin
865e0490ab
Merge pull request #329 from JonasVautherin/326-set-cmake-crosscompiling-manylinux
Manylinux toolchains: restore CMAKE_CROSSCOMPILING
2019-07-10 22:57:42 -04:00
Jonas Vautherin
a15af05753 Manylinux toolchains: restore CMAKE_CROSSCOMPILING to FALSE after setting CMAKE_SYSTEM_NAME
Then CMAKE_CROSSCOMPILING_EMULATOR (and therefore cross_triple) are not
needed anymore.
2019-07-10 17:14:09 +02:00
Jean-Christophe Fillion-Robin
81f20ad2b8
Merge pull request #330 from JonasVautherin/327-set-manylinux-in-toolchain
Manylinux toolchain: set MANYLINUX1/MANYLINUX2010 to TRUE
2019-07-10 05:05:15 -04:00
Jonas Vautherin
d0d16e0a8b Manylinux toolchain: set MANYLINUX1/MANYLINUX2010 to TRUE
So that one can do `if (MANYLINUX1)` in CMake, just like it
is commonly done with e.g. `if (IOS)` or `if (MSVC)`.
2019-07-09 18:38:53 +02:00
Matt McCormick
7a7b5a3204
Merge pull request #314 from alvarolb/master
Add support for arm5-musl
2019-06-18 19:50:19 -04:00
Jean-Christophe Fillion-Robin
6beb8209a7
Merge pull request #328 from jcfr/update-git
Update git from 2.20.1 to 2.22.0
2019-06-10 10:50:47 -04:00
Jean-Christophe Fillion-Robin
72336efbf4
Update git from 2.20.1 to 2.22.0 2019-06-09 12:28:30 -04:00
Jean-Christophe Fillion-Robin
76aad84b89
Merge pull request #325 from jcfr/add-install-gosu-binary-wrapper-script
Backport install-gosu-binary-wrapper from dockbuid
2019-06-09 12:09:53 -04:00
alvarolb
b671432c6f
add support for armv5 using musl as libc version 2019-06-08 18:06:12 -04:00
Jean-Christophe Fillion-Robin
edf132509b
Backport install-gosu-binary-wrapper from dockbuid
To ensure that our custom sudo wrapper is not
overwritten by a future re-install of sudo, it
is created in /usr/loca/bin

See https://github.com/dockbuild/dockbuild/issues/52
2019-06-08 17:47:03 -04:00
Jean-Christophe Fillion-Robin
f5c380f467
Merge pull request #324 from ibtaylor/update_openssl_version
bump openssl version to openssl-1.0.2s
2019-06-02 01:11:25 -04:00
Ian Taylor
2c9401a8be bump openssl version to openssl-1.0.2s 2019-06-01 04:53:17 -04:00
Jean-Christophe Fillion-Robin
6bfbae3b3f
Merge pull request #323 from jcfr/manylinux-update-to-scikit-build-0.10.0
manylinux: Update scikit-build from 0.9.0 to 0.10.0
2019-05-25 11:54:59 -04:00
Jean-Christophe Fillion-Robin
181d5464df
manylinux: Update scikit-build from 0.9.0 to 0.10.0 2019-05-23 19:48:56 -04:00
Jean-Christophe Fillion-Robin
8bb5d2887b
Merge pull request #322 from jcfr/add-manylinux2010
Add manylinux2010, rename manylinux to manylinux1
2019-05-22 14:44:37 -04:00
Jean-Christophe Fillion-Robin
2b892204e2
install-gosu-binary: Run gpgconf --kill only if option is available 2019-05-22 13:17:53 -04:00
Jean-Christophe Fillion-Robin
4793ea7c06
Add manylinux2010-x64 image
Since i686 image is not yet available in upstream project, this commit
only add the x64 version.
2019-05-22 03:21:10 -04:00
Jean-Christophe Fillion-Robin
1e0e89814b
Rename manylinux images to manylinux1 2019-05-22 03:11:45 -04:00
Jean-Christophe Fillion-Robin
8eecfcacb2
manylinux: Update scikit-build from 0.8.1 to 0.9.0 2019-05-22 00:48:25 -04:00
Matt McCormick
b3be15533e
Merge pull request #321 from HubertJFarnsworth/feature/add-automake-and-libtool-to-armv7a
updated armv7a to enable libtool and automake
2019-04-24 13:13:16 -04:00
Hubert Farnsworth
638e8f6e8e updated armv7a to enable libtool and automake 2019-04-23 18:27:39 +00:00
Matt McCormick
bda0c3d7ff
Merge pull request #320 from HubertJFarnsworth/move-debian-distro-from-jessie-to-stretch
Updated debian distro from jessie to stretch
2019-04-22 21:39:23 -04:00
HubertJFarnsworth
94abe583e3
Fixed gpgconf variable typo in install-gosu-binary.sh 2019-04-22 15:31:22 -04:00
Hubert Farnsworth
c1acefed25 Updated gpgconf check to handle gpg versions where gpgconf doesn't exist 2019-04-22 18:29:35 +00:00
Hubert Farnsworth
68d84d6f06 update to fix race condition on GPG temporary file deletion 2019-04-22 16:18:16 +00:00
HubertJFarnsworth
3ba2053167
Updated circleci config to pull stretch-slim 2019-04-22 10:30:33 -04:00
HubertJFarnsworth
60d04e28d2
Removed unintentionally checked in Dockerfile 2019-04-22 10:20:18 -04:00
Hubert Farnsworth
aae501313e Updated debian distro from jessie to stretch 2019-04-22 14:09:10 +00:00
Matt McCormick
7ff84badf9
Merge pull request #312 from er1c/script-fix
Add missing space in shell if [ ... ]
2019-03-10 14:21:52 -04:00
Eric Peters
4095538707 Add missing space in shell if [ ... ] 2019-03-07 08:57:23 -08:00
Matt McCormick
05059cff57
Merge pull request #308 from thewtex/argv7a-readme
Armv7a readme
2019-03-06 08:34:08 -05:00
Matt McCormick
d32aba1ba7
Merge pull request #309 from thewtex/msys
Msys
2019-03-06 00:03:38 -05:00
Matt McCormick
49f7fc05fe
dockcross: Do not try to use -ti under MSYS
Avoid errors, complaints, and suggestions to use winpty.
2019-03-05 17:45:09 -05:00
Matt McCormick
17ecb746ec
dockcross: Do not mount SSH_DIR with MSYS
The mount directory is not correct in this environment.
2019-03-05 17:43:03 -05:00
Matt McCormick
63f53daab8
ci: Add linux-armv7 to CircleCI configuration 2019-03-05 17:18:09 -05:00
Matt McCormick
f04297f4d1
readme: Add linux-armv7a description 2019-03-05 17:16:42 -05:00
Matt McCormick
043e993fd9
Merge pull request #307 from mixaz/master
added image for ARMv7-A
2019-03-05 11:44:39 -05:00
Mikhail Zemlyanukha
2a29197b3b added image for ARMv7-A 2019-03-03 18:54:14 +03:00
Matt McCormick
b5a13fa4d2
Merge pull request #305 from sfo/linking_option
Windows-Images with dynamic linking
2019-03-02 15:58:36 -05:00
Matt McCormick
227d07ffde
Merge pull request #306 from dockcross/update-manylinux-images-with-python3.8
manylinux: Trigger rebuild using updated manylinux images having Python 3.8
2019-03-02 15:58:07 -05:00