From: Pierre Gruet Date: Thu, 7 Aug 2025 16:31:33 +0200 Subject: skipping the build of synthetictest as it requires SSE symbols, Forwarded: https://github.com/beagle-dev/beagle-lib/issues/226 Last-Update: 2024-12-16 at least on armel. --- examples/CMakeLists.txt | 24 ++++++++++++------------ tests/test_resource.sh | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 981ccaf..6c31f66 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -19,11 +19,11 @@ add_executable(hmctest # genomictest/linalg.h # ) -add_executable(synthetictest - synthetictest/synthetictest.cpp - synthetictest/linalg.cpp - synthetictest/linalg.h - ) +#add_executable(synthetictest +# synthetictest/synthetictest.cpp +# synthetictest/linalg.cpp +# synthetictest/linalg.h +# ) #add_executable(complextest # complextest/complextest.cpp) @@ -34,18 +34,18 @@ target_link_libraries(hmctest hmsbeagle-cpu ${CMAKE_DL_LIBS}) -target_link_libraries(synthetictest - hmsbeagle +#target_link_libraries(synthetictest +# hmsbeagle # hmsbeagle-cpu-sse - hmsbeagle-cpu - ${CMAKE_DL_LIBS}) +# hmsbeagle-cpu +# ${CMAKE_DL_LIBS}) if(BUILD_SSE) target_link_libraries(hmctest hmsbeagle-cpu-sse) - - target_link_libraries(synthetictest - hmsbeagle-cpu-sse) +# +# target_link_libraries(synthetictest +# hmsbeagle-cpu-sse) endif(BUILD_SSE) add_test(hmctest hmctest) diff --git a/tests/test_resource.sh b/tests/test_resource.sh index 4c32093..c6f9e0c 100755 --- a/tests/test_resource.sh +++ b/tests/test_resource.sh @@ -4,11 +4,11 @@ if [ -z "${1}" ]; then echo "Usage: test_resource.sh resource_number" echo - ../examples/synthetictest/synthetictest --resourcelist + ../examples/synthetictest/synthetictest.cpp --resourcelist else TEST_RESOURCE=${1} echo "Testing resource..." - ../examples/synthetictest/synthetictest --resourcelist | grep "Resource $TEST_RESOURCE" -A 1 | grep -o --color=never ': .*' + ../examples/synthetictest/synthetictest.cpp --resourcelist | grep "Resource $TEST_RESOURCE" -A 1 | grep -o --color=never ': .*' ./run_tests.sh $TEST_RESOURCE 2>&1 | grep "\*\*\*[^:]*:" -B 2 echo "All tests completed." fi