Skip to content

Commit

Permalink
add pthread - required by gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Laslett authored and Oliver Laslett committed Dec 21, 2017
1 parent 9d112bb commit b75b1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ifeq ($(CXX),icpc)
override CXXFLAGS+=--std=c++11 -W -Wall -pedantic -pthread -O3 -g -fopenmp -simd -qopenmp -xHost -DVERSION=\"$(GIT_VERSION)\" -DUSEMKL -DMKL_ILP64 -I$(MKLROOT)/include -wd488 -wd10145
LDLIBS=-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_ilp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl
else
override CXXFLAGS+=--std=c++11 -W -Wall -pedantic -O3 -g -DVERSION=\"$(GIT_VERSION)\"
override CXXFLAGS+=--std=c++11 -W -Wall -pthread -pedantic -O3 -g -DVERSION=\"$(GIT_VERSION)\"
LDLIBS=-llapacke -lblas
endif

Expand Down

0 comments on commit b75b1b0

Please sign in to comment.