Skip to content

Commit

Permalink
Revert CMakeLists ... disabling targets prematurely fails the buildbo…
Browse files Browse the repository at this point in the history
…t job
  • Loading branch information
Derek Gerstmann committed Dec 4, 2024
1 parent 33dc2ff commit d1b4b7c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,19 +242,6 @@ Halide_feature(WITH_TESTS "Halide's unit test suite" TOP_LEVEL)
Halide_feature(WITH_TUTORIALS "Halide's tutorial code" TOP_LEVEL)
Halide_feature(WITH_UTILS "Optional utility programs for Halide, including HalideTraceViz" TOP_LEVEL)

##
# FIXME: Disable other GPU backends
if (Halide_TARGET MATCHES "vulkan")
message(WARNING "Building Vulkan runtime support!")
endif()

if (Halide_TARGET MATCHES "cuda")
message(FATAL_ERROR "Target disabled for testing ...")
endif()

if (Halide_TARGET MATCHES "opencl")
message(FATAL_ERROR "Target disabled for testing ...")
endif()

##
# Add source directories
Expand Down

0 comments on commit d1b4b7c

Please sign in to comment.