Skip to content

Commit

Permalink
tril project should require OMR_COMPILER_TEST to be enabled
Browse files Browse the repository at this point in the history
Some nondeterminism here if tril is built first then some
needed header files needed aren't present and the build will
fail. This commit ensures that OMR_COMPILER_TEST has been
set if the fvtest/tril project is to be enabled.

Signed-off-by: Mark Stoodley <[email protected]>
  • Loading branch information
mstoodle committed Aug 23, 2023
1 parent ce63696 commit 52e4b6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fvtest/tril/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
project(tril_project)

set(OMR_WARNINGS_AS_ERRORS OFF)
if(NOT OMR_TEST_COMPILER)
message(FATAL_ERROR "tril requries -DOMR_TEST_COMPILER=1")
endif(NOT OMR_TEST_COMPILER)

add_subdirectory(tril)
add_subdirectory(test)
Expand Down

0 comments on commit 52e4b6a

Please sign in to comment.