Commit Graph

1312 Commits

Author SHA1 Message Date
Sven Fischer
8e344a9537 Added functionality to ease the use of X image
Functionality borrowed from the Raspberry Pi cross compile docker build
file from https://github.com/sdt/docker-raspberry-pi-cross-compiler
2016-05-30 22:50:22 +02:00
Matt McCormick
91f635d0af Merge pull request #8 from jcfr/fix-toolchains
linux-ppc64le: Specify system processor and fix library finding.
2016-04-19 16:24:39 -04:00
Jean-Christophe Fillion-Robin
4248ac2766 linux-x86: Update README
This commit updates the README to mention linux-x86 is a cross-compiler
associated with a Toolchain file. See f57b97b (linux-x86: Add toolchain
file and install libc6 and stdc++6 32-bit libraries)
2016-04-19 01:12:35 -04:00
Jean-Christophe Fillion-Robin
2c81b4957f linux-ppc64le: Specify system processor and fix library finding.
This commit updates the toolchain to ensure libraries associated with
ppc64le can be found.

Since the libraries are all installed on the system and not in dedicated
root, FIND_ROOT_PATH should *not* be specified.
2016-04-18 23:37:20 -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
Matt McCormick
344b514327 windows-x86: Update to master 2016-04-09. 2016-04-16 21:34:30 -04:00
Matt McCormick
8fca54adb4 Merge pull request #6 from jcfr/fix-toolchains
Fix toolchains
2016-04-16 20:40:45 -04:00
Jean-Christophe Fillion-Robin
f07fe2e3b9 linux-armv7: Install "common" additional packages
These packages also mirror the one already available in the base images
for x86_64.
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
bf42ff14c8 linux-x86: Install "common" additional packages
These packages also mirror the one already available in the base images
for x86_64.
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
dc871beb50 linux-x86: Set emulator path using a "noop" script without argument.
This will fix issue where emulator is used doing:

  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} /path/to/prog arg1 arg2

Prior to this commit, it wasn't working because the following command
was used:

  /bin/sh -c /path/to/prog arg1 arg2
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
4ccd459994 linux-x86: Avoid CMake issue by not setting CMAKE_AR. It is automatically set.
It is automatically set in CMakeFindBinUtils.cmake using the value
of _CMAKE_TOOLCHAIN_PREFIX extracted from the compiler name within
CMakeDetermineCCompiler.cmake.

The CMake issue is #15448 - https://cmake.org/Bug/view.php?id=15448
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
44dd51cbe8 linux-armv7: Specify system processor and fix library finding.
This commit updates the toolchain to ensure libraries associated with arm
can be found. While a new root path needed to be set for armv6, the
most recent armv7 toolchain doesn't require to explicitly set a new
root.
2016-04-15 03:40:58 -04:00
Jean-Christophe Fillion-Robin
aec085ce9b linux-armv6: Specify system processor and add missing find root path.
The additional find root path will ensure libraries like libm and libutils
are found.
2016-04-15 03:30:59 -04:00
Jean-Christophe Fillion-Robin
7527b8e6e3 linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH 2016-04-15 03:29:07 -04:00
Matt McCormick
a679af020f Merge pull request #5 from jcfr/add-linux-x86-toolchain-file
Add linux x86 toolchain file
2016-04-13 21:12:03 -04:00
Jean-Christophe Fillion-Robin
db0ed0a625 test_driver: Add --debug option to avoid deleting the build directory
This is particularly useful when debugging Toolchain
2016-04-13 19:54:28 -04:00
Jean-Christophe Fillion-Robin
f57b97b06b linux-x86: Add toolchain file and install libc6 and stdc++6 32-bit libraries 2016-04-13 19:54:28 -04:00
Matt McCormick
d47a208afa windows-x64: Add description to README. 2016-04-12 23:31:15 -04:00
Matt McCormick
5035a9a8e7 windows-x64: Add CircleCI testing. 2016-04-12 23:31:09 -04:00
Matt McCormick
ffddb75231 windows-x64: Add environmental variables. 2016-04-12 21:23:08 -04:00
Matt McCormick
a27a0098b4 windows-x64: Update to master 2016-04-09.
Add new required dependencies.
2016-04-11 23:59:12 -04:00
Matt McCormick
4bef0be73a linux-x86: Document in the README. 2016-04-06 17:09:03 -04:00
Matt McCormick
af5c3fecec linux-x86: Update and add testing. 2016-04-06 16:48:12 -04:00
Matt McCormick
5031a312a6 linux-x64: Add documentation. 2016-03-28 13:09:10 -04:00
Matt McCormick
9606baa5a1 linux-x64: Add CircleCI testing. 2016-03-28 12:47:01 -04:00
Matt McCormick
d290428a42 linux-x64: Update to thewtex/cross-compiler-base as base. 2016-03-28 12:45:57 -04:00
Matt McCormick
cdc74c8d33 linux-ppc64le: Add description to README. 2016-03-20 21:31:41 -04:00
Matt McCormick
279f41ba56 linux-ppc64le: Add CircleCI testing. 2016-03-20 18:24:32 -04:00
Matt McCormick
ad0e9e9aa4 linux-ppc64le: Update QEMU user version to 2.5.0.
Also, the build needs to come before environmental variables are set for the
cross-compiler.
2016-03-20 18:23:31 -04:00
Matt McCormick
58e30d987d linux-ppc64le: Add toolchain environmental variables. 2016-03-19 14:53:43 -04:00
Matt McCormick
5c7abec2c4 doc: Add linux-armv7 description. 2016-03-18 18:21:43 -04:00
Matt McCormick
8a21e98e63 linux-armv7: Add CircleCI testing and environmental vars. 2016-03-18 18:20:04 -04:00
Matt McCormick
f158989ea4 base: Fix CMake build directory. 2016-03-17 00:13:58 -04:00
Matt McCormick
0ec99f4dd4 linux-armv6: Add description to the README. 2016-03-14 17:58:05 -04:00
Matt McCormick
c59293437d linux-armv6: Add CircleCI testing. 2016-03-14 17:54:40 -04:00
Matt McCormick
c517cd35c5 linux-armv6: Set environmental variables. 2016-03-14 17:53:33 -04:00
Matt McCormick
c6eb4fe9e1 browser-asmjs: Add description to the README. 2016-03-12 21:50:54 -05:00
Matt McCormick
5420fc0543 browser-asmjs: Add CircleCI testing. 2016-03-12 21:26:41 -05:00
Matt McCormick
f647f8991b browser-asmjs: Update Emscripten to 1.36.1.
Only a 32-bit sdk tag is available from emsdk.
2016-03-12 21:25:44 -05:00
Matt McCormick
7225ca1c70 browser-asmjs: --no-install-recommends dependent packages. 2016-03-09 18:28:54 -05:00
Matt McCormick
3d391e1f8c doc: Document android-arm. 2016-03-07 11:37:18 -05:00
Matt McCormick
f9f7f1b387 android-arm: Add standard toolchain environmental variables. 2016-03-07 11:37:18 -05:00
Matt McCormick
609605b1c5 android-arm: Test and deploy with CircleCI.
Although adding

  --emulator /usr/bin/qemu-arm -b CMake --linker-flags="-static"

To the test command works locally, the CMake tests fail on CircleCI. May this
is due to a kernel difference? Will investigate adding again later after
CircleCI updates in kernel (it is currently Ubuntu 12.04).

The "-static" linker flag used during testing is explained here:

  https://www.kitware.com/blog/home/post/893
2016-03-07 11:25:49 -05:00
Matt McCormick
0e8478d1db test: Run ctest.
Run ctest if an emulator is available and make sure it uses it.

Add more status information to the test output and make sure that the order is
correct with flush() calls.
2016-03-06 14:16:49 -05:00
Matt McCormick
25e9333bf9 Merge pull request #4 from thewtex/test
Add toolchain tests.
2016-03-03 21:24:43 -05:00
Matt McCormick
412f5ebb11 base: Test the toolchain. 2016-03-03 21:20:30 -05:00
Matt McCormick
a856edc56c test: Add a script to test the toolchain. 2016-03-03 21:18:00 -05:00
Matt McCormick
19dc7051ea Merge pull request #3 from thewtex/ci
Ci
2016-03-02 14:32:44 -05:00