Skip to content

Commit

Permalink
Merge pull request #613 from egraphs-good/oflatt-fix-local-nightly
Browse files Browse the repository at this point in the history
Fix up local nightly script
  • Loading branch information
oflatt authored May 29, 2024
2 parents 6adeaf8 + 915481e commit 34e1a85
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 34e1a85

Please sign in to comment.