Commit 5e1952a8 authored by Thomas Uram's avatar Thomas Uram
Browse files

Use fopenmp only on Linux

parent 56b997ee
......@@ -61,12 +61,17 @@ BLOSC_CPPFLAGS := \
BASE_CPPFLAGS := $(BLOSC_CPPFLAGS) -I. -D__STDC_CONSTANT_MACROS
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
OPENMPFLAG=-fopenmp
endif
FEDIR = frontend
FE_CFLAGS := -g -fPIC -O3 -fopenmp
FE_CFLAGS := -g -fPIC -O3 $(OPENMPFLAG)
FE_CPPFLAGS := $(BASE_CPPFLAGS) -Ithirdparty/sqlite -DGENERICIO_NO_MPI
MPIDIR = mpi
MPI_CFLAGS := -g -O3 -fopenmp
MPI_CFLAGS := -g -O3 $(OPENMPFLAG)
MPI_CPPFLAGS := $(BASE_CPPFLAGS)
$(FEDIR):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment