Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 5d3f7b0

Browse files
author
Sven Verdoolaege
committed
drop unused HALIDE_PREFIX cmake variable
The include and library directories used to be derived from this variable, but they have since been replaced in prehistory by calls to find_path and find_library, with the first one not using any path at all and the second one using CMAKE_INSTALL_PREFIX, which has the same value as HALIDE_PREFIX.
1 parent 6f51af4 commit 5d3f7b0

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@ endif()
155155
################################################################################
156156

157157
# Halide
158-
if(NOT HALIDE_PREFIX)
159-
message(FATAL_ERROR "-DHALIDE_PREFIX=... required")
160-
endif()
161-
message(STATUS "HALIDE_PREFIX: ${HALIDE_PREFIX}")
162158
message(STATUS "Finding Halide")
163159
find_path(HALIDE_INCLUDE_DIR NAMES Halide.h)
164160
message(STATUS "HALIDE_INCLUDE_DIRS: ${HALIDE_INCLUDE_DIR}")

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ function install_tc() {
404404
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
405405
-DWITH_TAPIR=${WITH_TAPIR} \
406406
-DPYTHON_EXECUTABLE=${PYTHON} \
407-
-DHALIDE_PREFIX=${INSTALL_PREFIX} \
408407
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
409408
-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX}/lib/cmake \
410409
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \

0 commit comments

Comments
 (0)