Skip to content

Commit 5c4ac6a

Browse files
authored
Update README.md (#10636)
Add -DSUPPORT_REGEX_LOOKAHEAD to readme.
1 parent e912c65 commit 5c4ac6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/models/llama/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ Note for Mac users: There's a known linking issue with Xcode 15.1. Refer to the
308308
309309
To build for CoreML backend and validate on Mac, replace `-DEXECUTORCH_BUILD_XNNPACK=ON` with `-DEXECUTORCH_BUILD_COREML=ON`
310310
311+
If you an error about "RE2 failed to compile pattern with lookahead:...SUPPORT_REGEX_LOOKAHEAD=ON", add "-DSUPPORT_REGEX_LOOKAHEAD=ON" when building the runner.
312+
311313
## Step 4: Run benchmark on Android phone
312314
313315
**1. Build llama runner binary for Android**

0 commit comments

Comments
 (0)