Skip to content

Commit f468cae

Browse files
tolauwaechscholl
andauthored
🚑 Fix benchmark compilation (#259)
* Add missing file to benchmark makefile * Fix makefile for clang * Fix compiler flags in makefile --------- Co-authored-by: Christophe <[email protected]>
1 parent 5d87aad commit f468cae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎benchmarks/makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ DEBUGFLAGS = -DDEBUG=$(DEBUG) -DTRACE=$(TRACE) -DINFO=$(INFO) -DWARN=$(WARN)
1414

1515
CXX = g++
1616
CC = gcc
17-
CFLAGS = -g -Wall -c
18-
CXXFLAGS = -g -v -std=c++11 -I ../lib/json/single_include -Wall
17+
CFLAGS = -Wall -c -O3
18+
CXXFLAGS = -v -O3 -std=c++11 -I ../lib/json/single_include -Wall
1919

2020

2121

@@ -35,11 +35,11 @@ CXXSOURCES = \
3535
../src/WARDuino/CallbackHandler.cpp \
3636
../src/Primitives/emulated.cpp \
3737
../src/Interpreter/instructions.cpp \
38+
../src/Interpreter/interpreter.cpp \
3839
../src/Edward/RFC.cpp \
3940
../src/Edward/proxy.cpp \
4041
../src/Edward/proxy_supervisor.cpp \
4142
../src/Utils/sockets.cpp \
42-
../lib/json/single_include/nlohmann/json.hpp \
4343
benchmarks.cpp
4444

4545
all: $(OUTPUTDIR)$(TARGET) $(addprefix tasks/,$(addsuffix /wast/impl.wasm, $(TASKS)))

0 commit comments

Comments
 (0)