Skip to content

Commit 759bcfc

Browse files
authored
Disable XGrammar on Android (openvinotoolkit#2389)
Disable android build because of OV CI issues: https://github.com/openvinotoolkit/openvino/actions/runs/15904034593/job/44857058265?pr=31125
1 parent c76d8d3 commit 759bcfc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/cpp/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug" AND WIN32)
7272
set(ENABLE_XGRAMMAR OFF CACHE BOOL "Enable XGrammar" FORCE)
7373
endif()
7474

75+
# Disable XGrammar for Android platform, causes issues in CI
76+
if(ANDROID)
77+
set(ENABLE_XGRAMMAR OFF CACHE BOOL "Enable XGrammar" FORCE)
78+
endif()
79+
7580
if(ENABLE_XGRAMMAR)
7681
set(XGRAMMAR_VERSION v0.1.18)
7782
set(XGRAMMAR_DIR ${CMAKE_BINARY_DIR}/xgrammar)

0 commit comments

Comments
 (0)