mirror of
https://github.com/ROCm/ROCm.git
synced 2026-02-21 03:00:39 -05:00
19 lines
517 B
Bash
Executable File
19 lines
517 B
Bash
Executable File
clear
|
|
|
|
set -x
|
|
|
|
|
|
ROOT_DIR=$(pwd)
|
|
LOG_DIR=$ROOT_DIR/log_$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)
|
|
rm -rf $LOG_DIR
|
|
mkdir -p $LOG_DIR
|
|
chmod -R 777 $LOG_DIR
|
|
|
|
|
|
bash scripts/amd/clean.sh
|
|
bash scripts/amd/build.sh
|
|
bash scripts/amd/test.sh 2>&1 |tee $LOG_DIR/test.log
|
|
# bash scripts/amd/pytorch.sh 2>&1 |tee $LOG_DIR/test.log
|
|
# bash scripts/amd/lit.sh 2>&1 |tee $LOG_DIR/lit.log
|
|
# bash scripts/amd/test.sh backtrace 2>&1 |tee $LOG_DIR/backtrace.log
|
|
# bash scripts/amd/cache_print.sh 2>&1 |tee $LOG_DIR/cache.log |