make test using onnxruntime internals optional
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+if(EXISTS /opt/vespa-deps/include/onnxruntime/core/framework/endian.h)
vespa_add_executable(vespalib_bfloat16_test_app TEST
SOURCES
bfloat16_test.cpp
@@ -7,3 +8,4 @@ vespa_add_executable(vespalib_bfloat16_test_app TEST
GTest::GTest
)
vespa_add_test(NAME vespalib_bfloat16_test_app COMMAND vespalib_bfloat16_test_app)
+endif()
