Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

zanderso
Copy link
Member

@zanderso zanderso commented Apr 13, 2023

To fit in better with the engine_v2 context, this PR shifts the cmake step for the impeller-cmake-example to run within the flutter/tools/gn script. That way, the recipe will ensure that GOMA_DIR is defined, goma is running, etc.. Since we use cmake to generate a ninja build for impeller-cmake-example, the engine_v2 ninja step can build it, and that feature of the python script is no longer needed.

Successful run is here https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20impeller-cmake-example/12/overview

@zanderso zanderso force-pushed the fix-impeller-cmake branch 10 times, most recently from d9e2f2a to a716662 Compare April 13, 2023 20:22
.ci.yaml Outdated
@@ -445,17 +445,16 @@ targets:
]

- name: Mac impeller-cmake-example
bringup: true
#bringup: true
Copy link
Member Author

@zanderso zanderso Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will uncomment this before landing. It's commented out to force it to run in the presubmit checks.

$flutter/osx_sdk : >-
{ "sdk_version": "14a5294e" }
dependencies: >-
[
{"dependency": "cmake", "version": "build_id:8784715802296535313"},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulling this in via the DEPS file instead since it's just a CIPD package.

@chinmaygarde chinmaygarde changed the title Fix the Impeller cmake example build [Impeller] Fix the cmake example build. Apr 13, 2023
Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zanderso zanderso force-pushed the fix-impeller-cmake branch from a716662 to d5466aa Compare April 14, 2023 02:34
@zanderso zanderso added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 14, 2023
@auto-submit auto-submit bot merged commit 4f86a05 into flutter:main Apr 14, 2023
zhongwuzw pushed a commit to zhongwuzw/engine that referenced this pull request Apr 14, 2023
[Impeller] Fix the cmake example build.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants