@@ -12,43 +12,43 @@ RUN cd /home && \
1212 git checkout tags/1.0.7 && \
1313 mkdir build && cd build && \
1414 cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
15- make && make install
15+ make -j$(nproc) && make install
1616
1717RUN cd /home && \
1818 git clone https://github.com/LASzip/LASzip.git && \
1919 cd LASzip && \
2020 git checkout tags/2.0.1 && \
2121 mkdir build && cd build && \
2222 cmake .. && \
23- make && make install
23+ make -j$(nproc) && make install
2424
2525RUN cd /home && \
2626 git clone https://github.com/libLAS/libLAS.git && \
2727 cd libLAS && \
2828 mkdir build && cd build && \
29- cmake .. -DWITH_LASZIP=ON -DWITH_GEOTIFF=OFF && \
30- make && make install
29+ cmake .. -DWITH_LASZIP=ON -DWITH_GEOTIFF=OFF -DCMAKE_CXX_STANDARD=11 && \
30+ make -j$(nproc) && make install
3131
3232RUN cd /home && \
3333 git clone http://github.com/qhull/qhull.git && \
3434 cd qhull && \
3535 git checkout tags/v7.3.2 && \
3636 mkdir -p build && cd build && \
3737 cmake .. -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true && \
38- make && make install
38+ make -j$(nproc) && make install
3939
4040RUN cd /home && \
41- git clone https://github.com/csiro-robotics/raycloudtools.git && \
41+ git clone --branch docker https://github.com/csiro-robotics/raycloudtools.git && \
4242 cd raycloudtools && \
4343 mkdir build && cd build && \
44- cmake .. -DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff - DGEOTIFF_LIBRARIES=/usr/lib/libgeotiff.so -DWITH_QHULL=ON -DWITH_LAS=ON -DWITH_TIFF=ON -DRAYCLOUD_BUILD_TESTS=ON && \
45- make && make install
46-
44+ cmake .. -DGEOTIFF_LIBRARIES=/usr/lib/libgeotiff.so -DWITH_QHULL=ON -DWITH_LAS=ON -DWITH_TIFF=ON -DRAYCLOUD_BUILD_TESTS=ON && \
45+ make -j$(nproc) && make install
46+
4747RUN cd /home && \
4848 git clone https://github.com/csiro-robotics/treetools.git && \
4949 cd treetools && \
5050 mkdir build && cd build && \
5151 cmake .. && \
52- make && make install
52+ make -j$(nproc) && make install
5353
5454WORKDIR /data
0 commit comments