Install gcc-6.2.1 abi toolchain (#4524)
author대인기/On-Device Lab(SR)/Staff Engineer/삼성전자 <inki.dae@samsung.com>
Thu, 28 Feb 2019 04:35:32 +0000 (13:35 +0900)
committer이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Thu, 28 Feb 2019 04:35:32 +0000 (13:35 +0900)
* Install gcc-6.2.1 abi toolchain

This toolchain will be used to build NNFW for Tizen.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
* Fix typo

Signed-off-by: Inki Dae <inki.dae@samsung.com>
scripts/docker/Dockerfile

index 37e4e1e..5177cd9 100644 (file)
@@ -13,7 +13,9 @@ RUN apt-get update && apt-get --yes --force-yes install clang-format-3.9 python-
 RUN pip install yapf==0.22.0
 RUN apt-get update && apt-get --yes --force-yes install doxygen graphviz
 RUN apt-get update && apt-get --yes --force-yes install wget
-RUN wget https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz -O gcc.tar.xz -nv
-RUN tar -xf gcc.tar.xz -C /opt/ && rm -rf gcc.tar.xz
-ENV PATH "/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:$PATH"
+RUN wget https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz -O gcc-hardfp.tar.xz -nv
+RUN wget https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabi/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabi.tar.xz -O gcc-softfp.tar.xz -nv
+RUN tar -xf gcc-hardfp.tar.xz -C /opt/ && rm -rf gcc-hardfp.tar.xz
+RUN tar -xf gcc-softfp.tar.xz -C /opt/ && rm -rf gcc-softfp.tar.xz
+ENV PATH "/opt/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabi/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:$PATH"
 RUN apt-get update && apt-get --yes --force-yes install python3