MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / get_template_header

Function get_template_header

scripts/generate_build_files.py:97–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 return resolved_operators
96
97def get_template_header():
98 return """# Copyright (c) 2023-2026 Arm Limited.
99#
100# SPDX-License-Identifier: MIT
101#
102# Permission is hereby granted, free of charge, to any person obtaining a copy
103# of this software and associated documentation files (the "Software"), to
104# deal in the Software without restriction, including without limitation the
105# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
106# sell copies of the Software, and to permit persons to whom the Software is
107# furnished to do so, subject to the following conditions:
108#
109# The above copyright notice and this permission notice shall be included in all
110# copies or substantial portions of the Software.
111#
112# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
113# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
114# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
115# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
116# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
117# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
118# SOFTWARE."""
119
120def build_from_template_bazel(srcs_graph, srcs_sve, srcs_sve2, _srcs_core):
121 # Bazel does not support targets referencing upper-levels.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected