Skip to content

Commit

Permalink
Merge pull request #5028 from halide/srj-appv
Browse files Browse the repository at this point in the history
Enable verbosity in apps builds
  • Loading branch information
steven-johnson authored Jun 11, 2020
2 parents 5c52122 + 53e8ab6 commit 3721fcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ function(add_app_test NAME)
endif ()

set(cmakeDefinitionOpts
# TODO: enable verbose here temporarily, to try to track down flaky Windows failures
"-DCMAKE_VERBOSE_MAKEFILE=ON"
"-DCMAKE_PREFIX_PATH=${HALIDE_DIR}"
"-DCMAKE_BUILD_TYPE=$<CONFIG>"
"-DLLVM_DIR=${LLVM_DIR}")
Expand All @@ -61,6 +63,7 @@ function(add_app_test NAME)

add_test(NAME ${NAME}
COMMAND ${CMAKE_CTEST_COMMAND}
--output-on-failure
--build-and-test "${CMAKE_CURRENT_SOURCE_DIR}/${NAME}" "${CMAKE_CURRENT_BINARY_DIR}/app_test_${NAME}"
--build-generator "${CMAKE_GENERATOR}"
${cmakeGenOpts}
Expand Down

0 comments on commit 3721fcb

Please sign in to comment.