Skip to content

Commit 9de3315

Browse files
committed
fix minor
1 parent 66e9e84 commit 9de3315

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ cd "$(dirname "$0")"
44
if [ ! -d "build" ]; then
55
mkdir build
66
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
89
else
910
cd build
1011
fi

scripts/rebuild-with-interpreter.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ROOT_PATH=$(cd $(dirname $0)/../; pwd)
88
# CLANG_PATH=/ollvm/ollvm/llvm-8/llvm-project/build/bin/
99
CLANG_PATH=./build/bin/
1010

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
1212
$CLANG_PATH/llvm-dis /tmp/xVMPInterpreter.bc -o /tmp/xVMPInterpreter.ll
1313

1414
python2 $ROOT_PATH/scripts/interpreter-ir2str.py

0 commit comments

Comments
 (0)