File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ cd "$(dirname "$0")"
4
4
if [ ! -d " build" ]; then
5
5
mkdir build
6
6
cd build
7
- cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_BUILD_TYPE=" Release" ../src
7
+ # cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_BUILD_TYPE="Release" ../src
8
+ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=" Release" ../src
8
9
else
9
10
cd build
10
11
fi
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ROOT_PATH=$(cd $(dirname $0)/../; pwd)
8
8
# CLANG_PATH=/ollvm/ollvm/llvm-8/llvm-project/build/bin/
9
9
CLANG_PATH=./build/bin/
10
10
11
- $CLANG_PATH /clang-8 -O3 -Xclang -disable-O0-optnone -emit-llvm -c $ROOT_PATH /src/xVMPInterpreter/xVMPInterpreter.c -o /tmp/xVMPInterpreter.bc
11
+ $CLANG_PATH /clang-8 -O0 -Xclang -disable-O0-optnone -emit-llvm -c $ROOT_PATH /src/xVMPInterpreter/xVMPInterpreter.c -o /tmp/xVMPInterpreter.bc
12
12
$CLANG_PATH /llvm-dis /tmp/xVMPInterpreter.bc -o /tmp/xVMPInterpreter.ll
13
13
14
14
python2 $ROOT_PATH /scripts/interpreter-ir2str.py
You can’t perform that action at this time.
0 commit comments