Align the RIOT target with the clang build of RIOT OS (#2477)

This means cross building with clang and using short enums. Also
bump RIOT OS version to latest 2018.07.

Note: On Travis CI, clang-3.9 is used for testing. That version is
widely available, from Ubuntu 14.04 to 18.04.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-08-21 10:46:45 +02:00
committed by GitHub
parent f6ccdbdddd
commit 6e94414f9c
4 changed files with 30 additions and 17 deletions
+2 -2
View File
@@ -23,11 +23,11 @@ all:
# Install cross-compiler via apt.
install-apt-get-deps:
sudo apt-get install -q -y gcc-arm-none-eabi
sudo apt-get install -q -y clang-3.9 gcc-arm-embedded gcc-multilib
# Fetch RIOT OS repository.
install-clone-riot:
git clone git://github.com/RIOT-OS/RIOT.git ../RIOT -b 2017.10
git clone git://github.com/RIOT-OS/RIOT.git ../RIOT -b 2018.07
# Perform all the necessary (JerryScript-independent) installation steps.
install-noapt: install-clone-riot