Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Commit 55f0abf

Browse files
committed
Removed -DEIGEN_DONT_PARALLELIZE from Makefile, and changed some optimization flags for debugging and profiling
1 parent 6fd4800 commit 55f0abf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ HGVERSION:= $(shell hg parents --template '{node|short}')
77

88
CXXFLAGS_BASE = \
99
-Wall -Wextra -Wno-unused-function -std=gnu++11 -mtune=native -Wa,-q -ffast-math \
10-
-pthread -fopenmp -DHGVERSION="\"${HGVERSION}\"" -DEIGEN_DONT_PARALLELIZE
10+
-pthread -fopenmp -DHGVERSION="\"${HGVERSION}\""
1111

1212
# we will then extend this one with optimization flags
1313
CXXFLAGS:= $(CXXFLAGS_BASE)
@@ -18,9 +18,9 @@ CXXFLAGS_DEP = \
1818
LDFLAGS=-L. -Lgtb -lm -ltcmalloc -lgtb
1919

2020
ifeq ($(PG), 1)
21-
CXXFLAGS += -g -O2 -pg
21+
CXXFLAGS += -g -Og -pg
2222
else ifeq ($(DEBUG),1)
23-
CXXFLAGS += -g -O0
23+
CXXFLAGS += -g -Og
2424
else
2525
CXXFLAGS += -O3 -flto
2626
endif

0 commit comments

Comments
 (0)