-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake flatcc build issue #4541
cmake flatcc build issue #4541
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4541
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 38608a4 with merge base de300e0 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Looks like the coreml delegate test failure is legit, see log
|
Do you have a mac machine to repro? |
I wonder if this job is making debug build? Since coreml explicitly requires release library. |
[Update] CoreML seems to build with
Need to find a Mac to try.... BTW, another way to resolve the race-condition between the target and the host environment: #4559, which might have smaller changes in CMakeList. |
0bb749b
to
82afc9a
Compare
Catching up....which part makes you feel like release build is the issue here? |
Hi, I add I think why the workflow could work before because the deletion of add_custom_command doesn't really happen (VERBATIM flag introduces quote mark which makes |
Just trying to clarify. |
For debug-build library name will be |
cc: @Olivia-liu @tarun292 @dbort it really should be our job to make sure flatcc can be built correctly, and thanks folks from Qualcomm helping this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, will wait a bit for the response.
@@ -29,6 +29,7 @@ rm -rf "$CMAKE_BUILD_DIR_PATH" | |||
# Build executorch | |||
echo "ExecuTorch: Building executorch" | |||
cmake "$EXECUTORCH_ROOT_PATH" -B"$CMAKE_BUILD_DIR_PATH" \ | |||
-DCMAKE_BUILD_TYPE=Release \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cymbalrush for the change in the coreml script
Agreed. I will make sure to allocate time to improve the build process for flatcc. |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Identical change to #4312.