Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gepetto Utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
Gepetto Utils
Commits
00b271c1
Commit
00b271c1
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
update nolts
parent
87af358c
No related branches found
Branches containing commit
No related tags found
1 merge request
!4
Update robotpkg-test-rc.py for pinocchio v2.0.0 tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/pinocchio/Dockerfile.nolts
+35
-30
35 additions, 30 deletions
docker/pinocchio/Dockerfile.nolts
with
35 additions
and
30 deletions
docker/pinocchio/Dockerfile.nolts
+
35
−
30
View file @
00b271c1
ARG UBUNTU=
disco
ARG UBUNTU=
xenial
FROM ubuntu:$UBUNTU
SHELL ["/bin/bash", "-c"]
ARG UBUNTU=disco
ARG PYTHON=python3
ARG HPP_FCL=1.1.3
ARG EIGENPY=1.6.0
ARG MAKE_JOBS=1
ARG MAKE_JOBS=6
ENV CTEST_PARALLEL_LEVEL=$MAKE_JOBS CTEST_OUTPUT_ON_FAILURE=true PYTHON=$PYTHON
...
...
@@ -30,35 +27,43 @@ RUN apt-get update -y \
${PYTHON/2/}-numpy \
&& rm -rf /var/lib/apt/lists/*
# hpp-fcl
ADD https://github.com/humanoid-path-planner/hpp-fcl/releases/download/v${HPP_FCL}/hpp-fcl-${HPP_FCL}.tar.gz /
RUN tar xvf /hpp-fcl-${HPP_FCL}.tar.gz \
&& mkdir /hpp-fcl-${HPP_FCL}/build \
&& cd /hpp-fcl-${HPP_FCL}/build \
&& cmake .. \
&& make -j$MAKE_JOBS \
&& make install
ARG HPP_FCL=1.2.2
ARG EIGENPY=1.6.13
ARG PINOCCHIO=2.2.3
ARG BUILD_TYPE=Debug
ENV CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/${PYTHON} \
-DBUILD_PYTHON_INTERFACE=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
# eigenpy
ADD https://github.com/stack-of-tasks/eigenpy/releases/download/v${EIGENPY}/eigenpy-${EIGENPY}.tar.gz /
RUN tar x
v
f /eigenpy-${EIGENPY}.tar.gz \
RUN tar xf /eigenpy-${EIGENPY}.tar.gz \
&& mkdir /eigenpy-${EIGENPY}/build \
&& cd /eigenpy-${EIGENPY}/build \
&& cmake -DPYTHON_EXECUTABLE=$(which $PYTHON) .. \
&& make -j$MAKE_JOBS \
&& make install
# (in)validate docker build cache with the HTTP "Last-Modified" header from github
ARG NAMESPACE=stack-of-tasks
ARG BRANCH=devel
ADD https://github.com/$NAMESPACE/pinocchio/archive/$BRANCH.zip .
&& cmake ${CMAKE_OPTS} .. \
&& make -s -j$MAKE_JOBS \
&& make -s test \
&& make -s install
# but this zip doesn't come with .git nor submodules
RUN git clone --recursive --branch $BRANCH https://github.com/$NAMESPACE/pinocchio.git \
&& mkdir pinocchio/build
WORKDIR /pinocchio/build
# hpp-fcl
ADD https://github.com/humanoid-path-planner/hpp-fcl/releases/download/v${HPP_FCL}/hpp-fcl-${HPP_FCL}.tar.gz /
RUN tar xf /hpp-fcl-${HPP_FCL}.tar.gz \
&& mkdir /hpp-fcl-${HPP_FCL}/build \
&& cd /hpp-fcl-${HPP_FCL}/build \
&& cmake ${CMAKE_OPTS} .. \
&& make -s -j$MAKE_JOBS \
&& make -s test \
&& make -s install
RUN cmake -DPYTHON_EXECUTABLE=$(which $PYTHON) .. \
&& make -j${MAKE_JOBS} \
|| true
# pinocchio
ADD https://github.com/stack-of-tasks/pinocchio/releases/download/v${PINOCCHIO}/pinocchio-${PINOCCHIO}.tar.gz /
RUN tar xf /pinocchio-${PINOCCHIO}.tar.gz \
&& mkdir /pinocchio-${PINOCCHIO}/build \
&& cd /pinocchio-${PINOCCHIO}/build \
&& cmake ${CMAKE_OPTS} -DBUILD_WITH_COLLISION_SUPPORT=ON -DBUILD_TESTING=ON .. \
&& make -s -j$MAKE_JOBS \
&& make -s test \
&& make -s install
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment