Skip to content

Commit

Permalink
More conditional execution
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 11, 2020
1 parent 7afb4a7 commit 36130c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -7,7 +7,8 @@ CP=cp
RM=rm
SYS=posix
OPTIMIZATION=-O3 -finline-functions -Winline
VECTORIZE=-ftree-vectorize -march=native -mavx2 -mfpmath=sse -ftree-vectorizer-verbose=5
VECTORIZE=-ftree-vectorize -march=native -mavx2 -mfpmath=sse
DIAGNOSE=-fopt-info-vec-all
CFLAGS=$(OPTIMIZATION) -c -Wall
LDFLAGS=-L/usr/local/lib
CPFLAGS=-rf
Expand Down Expand Up @@ -42,6 +43,10 @@ ifeq ($(AGRESSIVE),1)
CFLAGS+=$(VECTORIZE)
endif

ifeq ($(DIAGNOSTICS),1)
CFLAGS+=$(DIAGNOSE)
endif

ifeq ($(EXTENSION),1)
CFLAGS+=-DPCONVERT_EXTENSION -I/usr/local/include -I/usr/include/python$(PYTHON_VERSION) -I/usr/local/include/python$(PYTHON_VERSION) $(shell python-config --includes)
LIBS+=-lpython
Expand Down

0 comments on commit 36130c4

Please sign in to comment.