Skip to content
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

skia: new recipe #24744

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

skia: new recipe #24744

wants to merge 1 commit into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 28, 2024

Summary

Changes to recipe: skia/cci.20240727

Motivation

Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms. It serves as the graphics engine for Google Chrome and ChromeOS, Android, Flutter, Mozilla Firefox and Firefox OS, and many other products.

Packaging status

Details

  • he project provides two build systems - an older one based on gn and a newer one based on Bazel that the project is being migrated to. I opted for the latter because it has much better compatibility with Cona.
  • The project builds and links against two Rust libraries internally: icu4x and vello.
  • The build system also always downloads and uses a Clang toolchain for compilation. Will have to look into replacing it with the C++ toolchain from the Conan profile.
  • I opted to build and export only a single bundled library instead of the numerous components it is composed of. The individual components could be added later, if there's interest.
  • I'm quite happy with how much simpler the recipe is compared to the equivalent Vcpkg port (currently at least): https://github.com/microsoft/vcpkg/tree/master/ports/skia
  • Requires dawn: new recipe #24735

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (ae513f6672c373ae2efea581726397cc738789a8):

  • skia/cci.20240727:
    Error running command conan info skia/cci.20240727@#75766693ce3d4b609fc6f322257a75d1 --json {jsonName} --dry-build -pr {profileName}:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    ...
    skia/cci.20240727: WARN: In bazel_layout() call, generators folder defaulting to './'. In Conan 2.x, the default value will be './conan/'. To change it, enter: self.folders.generators = 'myfolder', before the bazel_layout() call.
    ERROR: Failed requirement 'dawn/cci.20240726' from 'skia/cci.20240727'
    ERROR: Unable to find 'dawn/cci.20240726' in remotes
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 1 (ae513f6672c373ae2efea581726397cc738789a8):

  • skia/cci.20240727:
    Error running command conan graph info --requires skia/cci.20240727@#75766693ce3d4b609fc6f322257a75d1 --build skia/cci.20240727@#75766693ce3d4b609fc6f322257a75d1 -f json -pr:h /home/conan/workspace/prod-v2/bsr/67074/abfde/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/67074/abfde/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:
    ======== Computing dependency graph ========
    dawn/cci.20240726: Not found in local cache, looking in remotes...
    dawn/cci.20240726: Checking remote: conan-center
    dawn/cci.20240726: Checking remote: c3i_PR-v2-24744
    Graph root
        cli
    Requirements
        skia/cci.20240727#75766693ce3d4b609fc6f322257a75d1 - Cache
    ERROR: Package 'dawn/cci.20240726' not resolved: Unable to find 'dawn/cci.20240726' in remotes.
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[request] skia/latest
2 participants