Skip to content

Commit

Permalink
fix(docker): build CPU dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
Bycob committed Sep 5, 2023
1 parent e1118b1 commit 9e56aba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,11 @@ if (CUDA_FOUND)
message(STATUS "CUDA_ARCH=${CUDA_ARCH}")
else()
set(CUDA_LIB_DEPS "")

if (NOT APPLE)
# XXX: On Apple platforms MPS can be used, so we'd need a different condition
add_definitions(-DCPU_ONLY)
endif()
endif()

if (USE_DLIB)
Expand Down

0 comments on commit 9e56aba

Please sign in to comment.