diff --git a/docker/focal/Dockerfile b/docker/focal/Dockerfile index 7c166514..8171e943 100644 --- a/docker/focal/Dockerfile +++ b/docker/focal/Dockerfile @@ -2,7 +2,7 @@ FROM koide3/gtsam_docker:focal_cuda11.2 RUN apt-get update \ && apt-get install --no-install-recommends -y \ - libfmt-dev libspdlog-dev libopencv-dev \ + libfmt-dev libspdlog-dev libopencv-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -29,6 +29,7 @@ RUN make -j$(nproc) WORKDIR /root/glim/build RUN cmake .. \ -DBUILD_WITH_CUDA=ON \ + -DBUILD_WITH_CUDA_MULTIARCH=ON \ -DBUILD_WITH_VIEWER=ON \ -DBUILD_WITH_MARCH_NATIVE=OFF \ -DCMAKE_BUILD_TYPE=Release diff --git a/docker/focal_llvm/Dockerfile b/docker/focal_llvm/Dockerfile index b998dada..28bb4f97 100644 --- a/docker/focal_llvm/Dockerfile +++ b/docker/focal_llvm/Dockerfile @@ -2,7 +2,7 @@ FROM koide3/gtsam_docker:focal_cuda11.2 RUN apt-get update \ && apt-get install --no-install-recommends -y \ - libfmt-dev libspdlog-dev libopencv-dev \ + libfmt-dev libspdlog-dev libopencv-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -31,6 +31,7 @@ RUN make -j$(nproc) WORKDIR /root/glim/build RUN CC=clang CXX=clang++ cmake .. \ -DBUILD_WITH_CUDA=ON \ + -DBUILD_WITH_CUDA_MULTIARCH=ON \ -DBUILD_WITH_VIEWER=ON \ -DBUILD_WITH_MARCH_NATIVE=OFF \ -DCMAKE_BUILD_TYPE=Release diff --git a/docker/jammy/Dockerfile b/docker/jammy/Dockerfile index 4e87b34a..dadbd944 100644 --- a/docker/jammy/Dockerfile +++ b/docker/jammy/Dockerfile @@ -2,7 +2,7 @@ FROM koide3/gtsam_docker:jammy_cuda11.8 RUN apt-get update \ && apt-get install --no-install-recommends -y \ - libfmt-dev libspdlog-dev libopencv-dev \ + libfmt-dev libspdlog-dev libopencv-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -29,6 +29,7 @@ RUN make -j$(nproc) WORKDIR /root/glim/build RUN cmake .. \ -DBUILD_WITH_CUDA=ON \ + -DBUILD_WITH_CUDA_MULTIARCH=ON \ -DBUILD_WITH_VIEWER=ON \ -DBUILD_WITH_MARCH_NATIVE=OFF \ -DCMAKE_BUILD_TYPE=Release diff --git a/docker/jammy_llvm/Dockerfile b/docker/jammy_llvm/Dockerfile index 338b1ba3..65af3eba 100644 --- a/docker/jammy_llvm/Dockerfile +++ b/docker/jammy_llvm/Dockerfile @@ -2,7 +2,7 @@ FROM koide3/gtsam_docker:jammy_cuda11.8 RUN apt-get update \ && apt-get install --no-install-recommends -y \ - libfmt-dev libspdlog-dev libopencv-dev \ + libfmt-dev libspdlog-dev libopencv-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -34,6 +34,7 @@ RUN sed -i '496{s/^/\/\//}' /usr/lib/llvm-14/lib/clang/14.0.0/include/omp.h WORKDIR /root/glim/build RUN CC=clang CXX=clang++ cmake .. \ -DBUILD_WITH_CUDA=ON \ + -DBUILD_WITH_CUDA_MULTIARCH=ON \ -DBUILD_WITH_VIEWER=ON \ -DBUILD_WITH_MARCH_NATIVE=OFF \ -DCMAKE_BUILD_TYPE=Release