| # Copyright lowRISC contributors. | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| load("@rules_pkg//pkg:tar.bzl", "pkg_tar") | |
| load("//third_party/github:rules.bzl", "release") | |
| package(default_visibility = ["//visibility:public"]) | |
| pkg_tar( | |
| name = "opentitan", | |
| testonly = True, | |
| srcs = [ | |
| "//hw:package", | |
| "//hw/bitstream/vivado:package", | |
| "//hw/ip/otp_ctrl/data:package", | |
| "//sw/device/examples/hello_world:package", | |
| "//sw/device/lib/testing/test_rom:package", | |
| "//sw/device/silicon_creator/rom:package", | |
| "//sw/host/opentitantool:package", | |
| ], | |
| extension = "tar.xz", | |
| tags = ["manual"], | |
| ) | |
| release( | |
| name = "release", | |
| testonly = True, | |
| artifacts = { | |
| ":opentitan": "Opentitan software and FPGA artifacts", | |
| }, | |
| tags = ["manual"], | |
| ) |