File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# ln -sf requirements/Dockerfile .
77# docker build . -t pythonfcl
88
9- FROM quay.io/pypa/manylinux1_x86_64:latest
10-
11-
12- RUN yum install -y gcc
13-
14- # install cmake 2.8.12
15- COPY requirements/install_cmake.bash .
16- RUN bash install_cmake.bash
9+ FROM quay.io/pypa/manylinux_2_24_x86_64:latest
1710
1811# clone FCL and libccd
1912# the exact checkouts are in clone.bash
@@ -27,12 +20,15 @@ RUN bash build.bash
2720# manylinux includes a bunch of pythons
2821# to test with others change this env variable
2922# ENV PATH=/opt/python/cp27-cp27m/bin:$PATH
30- ENV PATH=/opt/python/cp36-cp36m /bin:$PATH
23+ ENV PATH=/opt/python/cp39-cp39 /bin:$PATH
3124
3225# we need numpy to build python-fcl
3326# since we set our path we'll be using the right pip
3427RUN pip install numpy cython
3528
3629# build the python-fcl module
3730COPY . /python_fcl
38- RUN cd /python_fcl && python setup.py build_ext
31+ RUN pip wheel /python_fcl --no-deps -w wheelhouse/
32+ RUN pip install /python_fcl --no-index -f /wheelhouse
33+ RUN ls /wheelhouse
34+ RUN auditwheel repair wheelhouse/python_fcl-0.6.1-cp39-cp39-linux_x86_64.whl --plat manylinux_2_24_x86_64 -w /wheelhouse
Original file line number Diff line number Diff line change 1+ echo " Install eigen"
2+ cmake -B build -S eigen-3.3.9
3+ cmake --install build
4+
5+ echo " Build and install libccd"
16cd libccd
27cmake .
38make -j4
49make install
510cd ..
611
12+ echo " Build and install octomap"
713cd octomap
814cmake .
915make -j4
1016make install
1117cd ..
1218
19+ echo " Build and install fcl"
1320cd fcl
1421cmake .
1522make -j4
Original file line number Diff line number Diff line change 11rm -rf libccd
2- git clone https://github.com/danfis/libccd.git
3- cd libccd
4- git pull
5- git checkout 64f02f741ac94fccd0fb660a5bffcbe6d01d9939
6- cd ..
2+ git clone --depth 1 --branch v2.1 https://github.com/danfis/libccd.git
73
84rm -rf octomap
9- git clone https://github.com/OctoMap/octomap.git
10- cd octomap
11- git pull
12- git checkout b8c1d62a7a64ce0a5df278503f31d73acafa97e4
13- cd ..
5+ git clone --depth 1 --branch v1.8.0 https://github.com/OctoMap/octomap.git
146
157rm -rf fcl
16- git clone https://github.com/flexible-collision-library/fcl.git
17- cd fcl
18- git pull
19- git checkout 22f375f333beccc10c527974cef96784f0841649
20- cd ..
8+ git clone --depth 1 --branch v0.6.1 https://github.com/flexible-collision-library/fcl.git
219
2210# get eigen
23- # curl -OL https://github .com/RLovelett /eigen/archive/3.3.4 .tar.gz
24- # tar -zxvf 3.3.4 .tar.gz
11+ curl -OL https://gitlab .com/libeigen /eigen/-/ archive/3.3.9/eigen-3.3.9 .tar.gz
12+ tar -zxf eigen- 3.3.9 .tar.gz
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919 if prefix in sys .platform :
2020 platform_supported = True
2121 include_dirs = ['/usr/include' ,
22- '/usr/include' ,
23- '/usr/include/eigen3' ]
22+ '/usr/local/include' ,
23+ '/usr/include/eigen3' ,
24+ '/usr/local/include/eigen3' ]
2425 lib_dirs = ['/usr/lib' ,
2526 '/usr/local/lib' ]
2627
You can’t perform that action at this time.
0 commit comments