Skip to content

Commit

Permalink
Make optimization level configurable for RK
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 12, 2024
1 parent f5bd62c commit 397d0ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/C++RK/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ SRC_CORE=som/Random.cpp \
Towers.cpp \
CD.cpp

OPT ?=-O2 -flto

OBJ_CORE = $(SRC_CORE:.cpp=.o)

CXXFLAGS+= -Wall -Wextra -std=c++17 -O2 -flto
CXXFLAGS+= -Wall -Wextra -std=c++17 $(OPT)

NAME_CORE = Harness-$(CXX)

Expand Down

0 comments on commit 397d0ab

Please sign in to comment.