-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport to C++<11 to support ctc-naoqi 2.1.4
- Loading branch information
Showing
11 changed files
with
173 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update -qq && apt-get install -qq cmake cmake-data wget lsb-release git sudo python3 python3-pip unzip vim | ||
RUN python3 -m pip install qibuild | ||
RUN mkdir /Workspace && cd /Workspace \ | ||
&& wget -c https://seafile.lirmm.fr/f/ba804ce9277544f2b6ec/?dl=1 -O ctc-naoqi.zip \ | ||
&& unzip ctc-naoqi.zip -d ctc-naoqi-tmp \ | ||
&& mv ctc-naoqi-tmp/ctc-linux64-atom-2.1.4.13 ctc-naoqi \ | ||
&& qitoolchain create ctc-naoqi ctc-naoqi/toolchain.xml \ | ||
&& mkdir qibuild_ws && cd qibuild_ws \ | ||
&& qibuild init \ | ||
&& qibuild add-config ctc-naoqi-config -t ctc-naoqi --default | ||
|
||
COPY . /Workspace/qibuild_ws/mc_naoqi_dcm | ||
RUN cd /Workspace/qibuild_ws/mc_naoqi_dcm \ | ||
&& qibuild configure --release -DROBOT_NAME=nao \ | ||
&& qibuild make \ | ||
&& mv /Workspace/qibuild_ws/mc_naoqi_dcm/build-ctc-naoqi-config/sdk/lib/naoqi/libmc_naoqi_dcm.so /libmc_naoqi_dcm.so | ||
RUN ls / | ||
RUN echo "Created library: /mc_naoqi_dcm.so" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update -qq && apt-get install -qq cmake cmake-data wget lsb-release git sudo python3 python3-pip | ||
RUN python3 -m pip install qibuild | ||
RUN mkdir /Workspace && cd /Workspace \ | ||
&& wget -c https://seafile.lirmm.fr/f/5389d0a64d79481ab49e/?dl=1 -O ctc-naoqi.tar.xz \ | ||
&& tar -xf ctc-naoqi.tar.xz \ | ||
&& mv ctc-naoqi-2.5.0 ctc-naoqi \ | ||
&& qitoolchain create ctc-naoqi ctc-naoqi/toolchain.xml \ | ||
&& mkdir qibuild_ws && cd qibuild_ws \ | ||
&& qibuild init \ | ||
&& qibuild add-config ctc-naoqi-config -t ctc-naoqi --default | ||
|
||
COPY . /Workspace/qibuild_ws/mc_naoqi_dcm | ||
RUN cd /Workspace/qibuild_ws/mc_naoqi_dcm \ | ||
&& qibuild configure --release -DROBOT_NAME=pepper \ | ||
&& qibuild make \ | ||
&& mv /Workspace/qibuild_ws/mc_naoqi_dcm/build-ctc-naoqi-config/sdk/lib/naoqi/libmc_naoqi_dcm.so /libmc_naoqi_dcm.so | ||
RUN ls / | ||
RUN echo "Created library: /mc_naoqi_dcm.so" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters