mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2026-10-06 06:59:08 +08:00
Applied the standard MIT license header to all project-owned C, header, assembly, shell, and Python files that were missing a copyright notice. Third-party, toolchain startup, and auto-generated files were excluded. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
27 lines
811 B
Bash
Executable File
27 lines
811 B
Bash
Executable File
#!/bin/bash
|
|
##############################################################################
|
|
# Copyright (c) 2024 Microsoft Corporation
|
|
# Copyright (c) 2026 Eclipse ThreadX contributors
|
|
#
|
|
# This program and the accompanying materials are made available under the
|
|
# terms of the MIT License which is available at
|
|
# https://opensource.org/licenses/MIT.
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
##############################################################################
|
|
|
|
# Build RISC-V regression tests for both RV32 and RV64.
|
|
# Usage: build_tx_riscv.sh [all|<config>]
|
|
|
|
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
RUN_SH="${SCRIPT_DIR}/../test/tx/cmake/riscv/run.sh"
|
|
|
|
ARGS="${@:-all}"
|
|
|
|
echo "=== Building RISC-V32 ==="
|
|
"$RUN_SH" riscv32 build $ARGS
|
|
|
|
echo ""
|
|
echo "=== Building RISC-V64 ==="
|
|
"$RUN_SH" riscv64 build $ARGS
|