Changeset 5e1952a


Ignore:
Timestamp:
05/04/18 13:40:34 (7 years ago)
Author:
Thomas Uram <turam@…>
Branches:
master, pympi
Children:
be75350
Parents:
56b997e
git-author:
Thomas Uram <turam@…> (05/04/18 13:40:34)
git-committer:
Thomas Uram <turam@…> (05/04/18 13:40:34)
Message:

Use fopenmp only on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GNUmakefile

    rfb69232 r5e1952a  
    6262BASE_CPPFLAGS := $(BLOSC_CPPFLAGS) -I. -D__STDC_CONSTANT_MACROS 
    6363 
     64UNAME_S := $(shell uname -s) 
     65ifeq ($(UNAME_S),Linux) 
     66    OPENMPFLAG=-fopenmp 
     67endif 
     68 
    6469FEDIR = frontend 
    65 FE_CFLAGS := -g -fPIC -O3 -fopenmp 
     70FE_CFLAGS := -g -fPIC -O3 $(OPENMPFLAG) 
    6671FE_CPPFLAGS := $(BASE_CPPFLAGS) -Ithirdparty/sqlite -DGENERICIO_NO_MPI 
    6772 
    6873MPIDIR = mpi 
    69 MPI_CFLAGS := -g -O3 -fopenmp 
     74MPI_CFLAGS := -g -O3 $(OPENMPFLAG) 
    7075MPI_CPPFLAGS := $(BASE_CPPFLAGS) 
    7176 
Note: See TracChangeset for help on using the changeset viewer.