Skip to content

Commit

Permalink
[CMAKE] pass enable print and fla tests as make variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-KunhiPurayil committed Dec 5, 2024
1 parent 053e7e7 commit 49ce6b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hw/system/spatz_cluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ sw: clean.sw
sw.vsim: clean.sw bin/spatz_cluster.vsim
mkdir -p sw/build
cd sw/build && ${CMAKE} \
-DPRINT_CHECK=OFF -DENABLE_FLAMINGO_TESTS=OFF -DFLA_ROOT=${FLA_ROOT} \
-DPRINT_CHECK=${ENABLE_PRINT} -DENABLE_FLAMINGO_TESTS=${ENABLE_FLA_TESTS} -DFLA_ROOT=${FLA_ROOT} \
-DLLVM_PATH=${LLVM_INSTALL_DIR} -DGCC_PATH=${GCC_INSTALL_DIR} -DPYTHON=${PYTHON} -DSNITCH_SIMULATOR=../../../../../hw/system/spatz_cluster/bin/spatz_cluster.vsim -DBUILD_TESTS=ON .. && make -j8

## Build SW and run all tests with Questasim simulator
Expand Down
2 changes: 1 addition & 1 deletion hw/system/spatz_cluster/sw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ add_subdirectory(${SNITCH_SOFTWARE_DIR}/spatzBenchmarks spatzBenchmarks)
option(ENABLE_FLAMINGO_TESTS "Enable flamingo tests for spatz" OFF)
if (ENABLE_FLAMINGO_TESTS)
message(STATUS "Adding flamingo tests")
add_subdirectory(${FLA_ROOT}/sw/spatz/tests tests)
add_subdirectory(${FLA_ROOT}/sw/spatz flamingoTests)
endif()

0 comments on commit 49ce6b7

Please sign in to comment.