Commit Graph

1546 Commits

Author SHA1 Message Date
8ad158c976 Revert "manylinux: Update scikit-build from 0.8.1 to 0.9.0"
This reverts commit 8eecfcacb2.

scikit-build still has an important regression as described in

  https://github.com/scikit-build/scikit-build/issues/415
2019-10-24 10:25:13 -04:00
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
8388e2be3a Change cmake_find_root_path_mode to BOTH for remaining
linux cross-compiling images.
2019-10-11 18:37:07 +02:00
9658ba30af Merge pull request #343 from leograba/master
Set environment variables for Linux kernel cross compilation
2019-07-24 09:25:49 -04:00
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
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
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
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
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
668da9eb04 Merge pull request #341 from thewtex/mxe-link
doc: Add link to MXE website
2019-07-17 16:06:50 -05:00
30faced713 doc: Add link to MXE website 2019-07-16 18:21:19 -04:00
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
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
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
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
7a7b5a3204 Merge pull request #314 from alvarolb/master
Add support for arm5-musl
2019-06-18 19:50:19 -04:00
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
72336efbf4 Update git from 2.20.1 to 2.22.0 2019-06-09 12:28:30 -04:00
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
b671432c6f add support for armv5 using musl as libc version 2019-06-08 18:06:12 -04:00
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
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
2c9401a8be bump openssl version to openssl-1.0.2s 2019-06-01 04:53:17 -04:00
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
181d5464df manylinux: Update scikit-build from 0.9.0 to 0.10.0 2019-05-23 19:48:56 -04:00
8bb5d2887b Merge pull request #322 from jcfr/add-manylinux2010
Add manylinux2010, rename manylinux to manylinux1
2019-05-22 14:44:37 -04:00
2b892204e2 install-gosu-binary: Run gpgconf --kill only if option is available 2019-05-22 13:17:53 -04:00
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
1e0e89814b Rename manylinux images to manylinux1 2019-05-22 03:11:45 -04:00
8eecfcacb2 manylinux: Update scikit-build from 0.8.1 to 0.9.0 2019-05-22 00:48:25 -04:00
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
638e8f6e8e updated armv7a to enable libtool and automake 2019-04-23 18:27:39 +00:00
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
94abe583e3 Fixed gpgconf variable typo in install-gosu-binary.sh 2019-04-22 15:31:22 -04:00
c1acefed25 Updated gpgconf check to handle gpg versions where gpgconf doesn't exist 2019-04-22 18:29:35 +00:00
68d84d6f06 update to fix race condition on GPG temporary file deletion 2019-04-22 16:18:16 +00:00
3ba2053167 Updated circleci config to pull stretch-slim 2019-04-22 10:30:33 -04:00
60d04e28d2 Removed unintentionally checked in Dockerfile 2019-04-22 10:20:18 -04:00
aae501313e Updated debian distro from jessie to stretch 2019-04-22 14:09:10 +00:00
7ff84badf9 Merge pull request #312 from er1c/script-fix
Add missing space in shell if [ ... ]
2019-03-10 14:21:52 -04:00
4095538707 Add missing space in shell if [ ... ] 2019-03-07 08:57:23 -08:00
05059cff57 Merge pull request #308 from thewtex/argv7a-readme
Armv7a readme
2019-03-06 08:34:08 -05:00
d32aba1ba7 Merge pull request #309 from thewtex/msys
Msys
2019-03-06 00:03:38 -05:00
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
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
63f53daab8 ci: Add linux-armv7 to CircleCI configuration 2019-03-05 17:18:09 -05:00
f04297f4d1 readme: Add linux-armv7a description 2019-03-05 17:16:42 -05:00
043e993fd9 Merge pull request #307 from mixaz/master
added image for ARMv7-A
2019-03-05 11:44:39 -05:00
2a29197b3b added image for ARMv7-A 2019-03-03 18:54:14 +03:00
b5a13fa4d2 Merge pull request #305 from sfo/linking_option
Windows-Images with dynamic linking
2019-03-02 15:58:36 -05:00