Skip to content

Commit f2c4bcd

Browse files
authored
Support negative lookahead for tokenizer in ios llama app (#10592)
1 parent 4524838 commit f2c4bcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@
818818
"DEBUG=1",
819819
"ET_USE_TIKTOKEN=1",
820820
);
821+
GCC_PREPROCESSOR_DEFINITIONS = "SUPPORT_REGEX_LOOKAHEAD=ON";
821822
GENERATE_INFOPLIST_FILE = YES;
822823
INFOPLIST_KEY_NSHumanReadableCopyright = "";
823824
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -854,6 +855,7 @@
854855
ENABLE_MODULE_VERIFIER = YES;
855856
GCC_C_LANGUAGE_STANDARD = gnu17;
856857
GCC_PREPROCESSOR_DEFINITIONS = "ET_USE_TIKTOKEN=1";
858+
GCC_PREPROCESSOR_DEFINITIONS = "SUPPORT_REGEX_LOOKAHEAD=ON";
857859
GENERATE_INFOPLIST_FILE = YES;
858860
INFOPLIST_KEY_NSHumanReadableCopyright = "";
859861
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";

0 commit comments

Comments
 (0)