diff options
-rw-r--r-- | vespalib/src/tests/util/bfloat16/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/tests/util/bfloat16/CMakeLists.txt b/vespalib/src/tests/util/bfloat16/CMakeLists.txt index fe40bf72a14..fa5a8ae4fe2 100644 --- a/vespalib/src/tests/util/bfloat16/CMakeLists.txt +++ b/vespalib/src/tests/util/bfloat16/CMakeLists.txt @@ -1,4 +1,5 @@ # 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() |