xref: /aosp_15_r20/external/clpeak/snap/snapcraft.yaml (revision 1cd03ba3888297bc945f2c84574e105e3ced3e34)
1name: clpeak
2base: core20
3adopt-info: clpeak
4summary: Benchmarking tool to measure peak capabilities of opencl devices
5description: |
6  A synthetic benchmarking tool to measure peak capabilities of opencl devices.
7  It only measures the peak metrics that can be achieved using vector operations and does not represent a real-world use case
8
9grade: stable
10confinement: classic
11
12apps:
13  clpeak:
14    command: usr/local/bin/clpeak
15
16parts:
17  clpeak:
18    source: .
19    plugin: cmake
20    build-packages:
21      - build-essential
22      - git
23    override-pull: |
24      snapcraftctl pull
25      snapcraftctl set-version "`grep 'VERSION_MAJOR ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`.`grep 'VERSION_MINOR ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`.`grep 'VERSION_PATCH ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`"
26