Srikrishna Iyer | 86f6bce | 2020-02-27 19:02:04 -0800 | [diff] [blame] | 1 | // Copyright lowRISC contributors. |
| 2 | // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 3 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | { |
| 5 | project: opentitan |
Srikrishna Iyer | dddf93b | 2020-12-04 18:24:46 -0800 | [diff] [blame] | 6 | repo_server: "github.com/lowrisc/opentitan" |
Srikrishna Iyer | 86f6bce | 2020-02-27 19:02:04 -0800 | [diff] [blame] | 7 | doc_server: docs.opentitan.org |
| 8 | results_server: reports.opentitan.org |
| 9 | |
| 10 | // Default directory structure for the output |
Srikrishna Iyer | 981c36b | 2020-12-12 12:20:35 -0800 | [diff] [blame] | 11 | scratch_base_path: "{scratch_root}/{branch}" |
| 12 | scratch_path: "{scratch_base_path}/{dut}-{flow}-{tool}" |
| 13 | |
Eli Kim | 0bda971 | 2022-11-30 10:41:32 -0800 | [diff] [blame] | 14 | // Common data structure |
| 15 | build_pass_patterns: [] |
| 16 | // TODO: Add back FuseSoC fail pattern after |
| 17 | // https://github.com/lowRISC/opentitan/issues/7348 is resolved. |
| 18 | build_fail_patterns: [] |
| 19 | |
Srikrishna Iyer | 981c36b | 2020-12-12 12:20:35 -0800 | [diff] [blame] | 20 | exports: [ |
| 21 | { SCRATCH_PATH: "{scratch_path}" }, |
| 22 | { proj_root: "{proj_root}" } |
| 23 | ] |
Srikrishna Iyer | 86f6bce | 2020-02-27 19:02:04 -0800 | [diff] [blame] | 24 | |
| 25 | // Results server stuff - indicate what command to use to copy over the results. |
| 26 | // Workaround for gsutil to fall back to using python2.7. |
| 27 | results_server_prefix: "gs://" |
Srikrishna Iyer | 158a22b | 2021-10-13 00:37:52 -0700 | [diff] [blame] | 28 | results_server_cmd: "/usr/bin/gsutil" |
Michael Schaffner | 400a546 | 2022-08-16 18:20:11 -0700 | [diff] [blame] | 29 | results_html_name: "report.html" |
Michael Schaffner | cb61dc4 | 2020-07-10 16:36:39 -0700 | [diff] [blame] | 30 | |
| 31 | // If defined, this is printed into the results md files |
Srikrishna Iyer | dddf93b | 2020-12-04 18:24:46 -0800 | [diff] [blame] | 32 | revision: '''{eval_cmd} |
| 33 | COMMIT_L=`git rev-parse HEAD`; \ |
| 34 | COMMIT_S=`git rev-parse --short HEAD`; \ |
Michael Schaffner | 400a546 | 2022-08-16 18:20:11 -0700 | [diff] [blame] | 35 | REV_STR="GitHub Revision: [\`$COMMIT_S\`](https://{repo_server}/tree/$COMMIT_L)"; \ |
Michael Schaffner | 4486faa | 2021-02-10 19:07:22 -0800 | [diff] [blame] | 36 | printf "$REV_STR"; \ |
| 37 | if [ -d "{proj_root}/hw/foundry" ]; then \ |
| 38 | COMMIT_FOUNDRY_S=`git -C {proj_root}/hw/foundry rev-parse --short HEAD`; \ |
| 39 | REV_STR_FOUNDRY="Foundry Revision: \`$COMMIT_FOUNDRY_S\`"; \ |
| 40 | printf "<br>$REV_STR_FOUNDRY"; \ |
| 41 | fi |
Srikrishna Iyer | dddf93b | 2020-12-04 18:24:46 -0800 | [diff] [blame] | 42 | ''' |
Timothy Chen | be47dd7 | 2020-07-27 14:57:07 -0700 | [diff] [blame] | 43 | |
| 44 | // The current design level |
| 45 | design_level: "ip" |
Srikrishna Iyer | 86f6bce | 2020-02-27 19:02:04 -0800 | [diff] [blame] | 46 | } |