-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevaluate.sh
executable file
·21 lines (13 loc) · 1023 Bytes
/
evaluate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Copyright 2024 Igor Wodiany
# Licensed under the Apache License, Version 2.0 (the "License")
CURRENT_DIR=$(pwd)
cd $CPU2006_ROOT
source shrc
runspec --action=setup --config evaluation.cfg --size ref int > /dev/null 2> /dev/null || exit 1
python3 $LIFT_ROOT/../evaluation/Evaluate.py --lifter $LIFT_ROOT/lifter --tracer $LIFT_ROOT/../mambo/dbm $LIFT_ROOT/../evaluation/config/cpu2006-ref-d.json $CPU2006_ROOT/.. || exit 1
runspec --action=setup --config evaluation.cfg --size ref int > /dev/null 2> /dev/null || exit 1
python3 $LIFT_ROOT/../evaluation/Evaluate.py --lifter $LIFT_ROOT/lifter --tracer $LIFT_ROOT/../mambo/dbm $LIFT_ROOT/../evaluation/config/cpu2006-ref-ds1.json $CPU2006_ROOT/.. || exit 1
runspec --action=setup --config evaluation.cfg --size ref int > /dev/null 2> /dev/null || exit 1
python3 $LIFT_ROOT/../evaluation/Evaluate.py --lifter $LIFT_ROOT/lifter --tracer $LIFT_ROOT/../mambo/dbm $LIFT_ROOT/../evaluation/config/cpu2006-ref-ds2.json $CPU2006_ROOT/.. || exit 1
cd $CURRENT_DIR