Skip to content

Commit

Permalink
solve problem
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed Dec 26, 2022
1 parent b630b91 commit d6dcc63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ jobs:
PY: '3.8'
PROJECT_NAME: taichi
TAICHI_CMAKE_ARGS: >-
-DTI_WITH_CUDA:BOOL=OFF
-DTI_WITH_VULKAN:BOOL=OFF
-DTI_WITH_OPENGL:BOOL=OFF
-DTI_BUILD_TESTS:BOOL=ON
Expand Down
4 changes: 4 additions & 0 deletions cmake/TaichiCore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ if(ANDROID)
set(TI_WITH_DX12 OFF)
endif()

if (TI_WITH_AMDGPU AND TI_WITH_CUDA)
message(WARNING "Compiling CUDA and AMDGPU backends simultaneously")
endif()

if(UNIX AND NOT APPLE)
# Handy helper for Linux
# https://stackoverflow.com/a/32259072/12003165
Expand Down
1 change: 0 additions & 1 deletion taichi/rhi/amdgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ target_include_directories(${AMDGPU_RHI}
${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/external/eigen
${PROJECT_SOURCE_DIR}/external/spdlog/include
${PROJECT_SOURCE_DIR}/external/glfw/include
${LLVM_INCLUDE_DIRS}
)

Expand Down

0 comments on commit d6dcc63

Please sign in to comment.