Clearer script naming | Renable all CI
This commit is contained in:
2
.github/actions/prepare-rtl/action.yml
vendored
2
.github/actions/prepare-rtl/action.yml
vendored
@@ -12,7 +12,7 @@ inputs:
|
||||
build-script:
|
||||
description: rtl build script to use
|
||||
required: false
|
||||
default: "do-rtl-build.sh"
|
||||
default: "remote-do-rtl-build.sh"
|
||||
build-type:
|
||||
description: type of build
|
||||
required: false
|
||||
|
||||
4
.github/scripts/create-hash.sh
vendored
4
.github/scripts/create-hash.sh
vendored
@@ -15,6 +15,6 @@ for tools in 'riscv-tools' 'esp-tools' ; do
|
||||
git submodule status "toolchains/${tools}" 'toolchains/libgloss' 'toolchains/qemu' |
|
||||
while read -r line ; do
|
||||
echo "${line#[!0-9a-f]}"
|
||||
done > "$GITHUB_WORKSPACE/${tools}.hash"
|
||||
done > "${tools}.hash"
|
||||
done
|
||||
echo "Hashfile for riscv-tools and esp-tools created in $HOME"
|
||||
echo "Hashfile for riscv-tools and esp-tools created in $PWD"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# move verilator to the remote server
|
||||
# install verilator
|
||||
|
||||
# turn echo on and error on earliest command
|
||||
set -ex
|
||||
@@ -10,7 +10,6 @@ SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
source $SCRIPT_DIR/defaults.sh
|
||||
|
||||
# clean older directories (delete prior directories related to this branch also)
|
||||
|
||||
$SCRIPT_DIR/clean-old-files.sh $CI_DIR
|
||||
rm -rf $REMOTE_PREFIX*
|
||||
|
||||
@@ -10,33 +10,28 @@ set -ex
|
||||
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
source $SCRIPT_DIR/defaults.sh
|
||||
|
||||
# call clean on exit
|
||||
trap clean EXIT
|
||||
|
||||
export RISCV="$REMOTE_RISCV_DIR"
|
||||
export LD_LIBRARY_PATH="$RISCV/lib"
|
||||
export PATH="$RISCV/bin:$PATH"
|
||||
|
||||
# Directory locations for handling firesim-local installations of libelf/libdwarf
|
||||
# This would generally be handled by build-setup.sh/firesim-setup.sh
|
||||
firesim_sysroot=lib-install
|
||||
remote_firesim_sysroot=$REMOTE_FIRESIM_DIR/$firesim_sysroot
|
||||
REMOTE_FIRESIM_SYSROOT=$REMOTE_FIRESIM_DIR/lib-install
|
||||
|
||||
cd $REMOTE_CHIPYARD_DIR
|
||||
./scripts/init-submodules-no-riscv-tools.sh
|
||||
cd $REMOTE_CHIPYARD_DIR/sims/firesim/sim/firesim-lib/src/main/cc/lib
|
||||
git submodule update --init elfutils libdwarf
|
||||
cd $REMOTE_CHIPYARD_DIR/sims/firesim
|
||||
mkdir -p $remote_firesim_sysroot
|
||||
./scripts/build-libelf.sh $remote_firesim_sysroot
|
||||
./scripts/build-libdwarf.sh $remote_firesim_sysroot
|
||||
mkdir -p $REMOTE_FIRESIM_SYSROOT
|
||||
./scripts/build-libelf.sh $REMOTE_FIRESIM_SYSROOT
|
||||
./scripts/build-libdwarf.sh $REMOTE_FIRESIM_SYSROOT
|
||||
cd $REMOTE_CHIPYARD_DIR
|
||||
|
||||
make -C $REMOTE_CHIPYARD_DIR/tools/dromajo/dromajo-src/src
|
||||
|
||||
TOOLS_DIR=$REMOTE_RISCV_DIR
|
||||
|
||||
LD_LIB_DIR=$remote_firesim_sysroot/lib:$REMOTE_RISCV_DIR/lib
|
||||
LD_LIB_DIR=$REMOTE_FIRESIM_SYSROOT/lib:$REMOTE_RISCV_DIR/lib
|
||||
|
||||
# Run Firesim Scala Tests
|
||||
export RISCV=$TOOLS_DIR
|
||||
1483
.github/workflows/chipyard-run-tests.yml
vendored
1483
.github/workflows/chipyard-run-tests.yml
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user