Skip to content

Commit

Permalink
fix up nightly to still show output
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed May 29, 2024
1 parent f7b1b09 commit 11249a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infra/nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ pushd $TOP_DIR

# locally, run on argument
if [ "$LOCAL" != "" ]; then
./infra/profile.py "$@" "$NIGHTLY_DIR" >> $NIGHTLY_DIR/log.txt 2>&1
./infra/profile.py "$@" "$DATA_DIR" 2>&1 | tee $NIGHTLY_DIR/log.txt
else
export LLVM_SYS_180_PREFIX="/usr/lib/llvm-18/"
make runtime
# run on all benchmarks in nightly
./infra/profile.py benchmarks/passing "$DATA_DIR" >> $NIGHTLY_DIR/log.txt 2>&1
./infra/profile.py benchmarks/passing "$DATA_DIR" 2>&1 | tee $NIGHTLY_DIR/log.txt
fi

# Generate latex after running the profiler (depends on profile.json)
./infra/generate_line_counts.py "$DATA_DIR" >> $NIGHTLY_DIR/log.txt 2>&1
./infra/generate_line_counts.py "$DATA_DIR" 2>&1 | tee $NIGHTLY_DIR/log.txt

# Generate CFGs for LLVM after running the profiler
./infra/generate_cfgs.py "$DATA_DIR/llvm" >> $NIGHTLY_DIR/log.txt 2>&1
./infra/generate_cfgs.py "$DATA_DIR/llvm" 2>&1 | tee $NIGHTLY_DIR/log.txt

popd

Expand Down

0 comments on commit 11249a6

Please sign in to comment.