Skip to content

Commit

Permalink
Merge pull request #11 from koide3/deb
Browse files Browse the repository at this point in the history
add cuda_multiarch
  • Loading branch information
koide3 authored Jul 23, 2024
2 parents 745ed7e + da4e3f3 commit d706a41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions docker/deb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ WORKDIR /root/gtsam_points/build
RUN cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_WITH_CUDA=ON \
-DBUILD_WITH_CUDA_MULTIARCH=ON \
-DCPACK_DEBIAN_PACKAGE_DEPENDS="libgtsam-dev" \
-DCPACK_DEBIAN_PACKAGE_NAME="libgtsam-points-cuda${CUDA_LABEL}-dev"
RUN make -j$(nproc)
Expand Down
12 changes: 10 additions & 2 deletions docker/deb/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ RUN apt install -y /root/gtsam/build/*.deb

COPY . /root/gtsam_points
WORKDIR /root/gtsam_points/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCPACK_DEBIAN_PACKAGE_DEPENDS="libgtsam-dev" -DCPACK_DEBIAN_PACKAGE_NAME="libgtsam-points-dev"
RUN cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCPACK_DEBIAN_PACKAGE_DEPENDS="libgtsam-dev" \
-DCPACK_DEBIAN_PACKAGE_NAME="libgtsam-points-dev"
RUN make -j$(nproc)
RUN cpack

Expand Down Expand Up @@ -90,7 +93,12 @@ RUN apt install -y /root/gtsam/build/*.deb

COPY . /root/gtsam_points
WORKDIR /root/gtsam_points/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCPACK_DEBIAN_PACKAGE_DEPENDS="libgtsam-dev" -DCPACK_DEBIAN_PACKAGE_NAME="libgtsam-points-cuda${CUDA_LABEL}-dev"
RUN cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_WITH_CUDA=ON \
-DBUILD_WITH_CUDA_MULTIARCH=ON \
-DCPACK_DEBIAN_PACKAGE_DEPENDS="libgtsam-dev" \
-DCPACK_DEBIAN_PACKAGE_NAME="libgtsam-points-cuda${CUDA_LABEL}-dev"
RUN make -j$(nproc)
RUN cpack

Expand Down

0 comments on commit d706a41

Please sign in to comment.