Skip to content

Commit

Permalink
openmp check in autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
cjain7 committed Aug 1, 2018
1 parent 420c839 commit aca8ba3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion INSTALL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Dependencies:
or..
Boost Library ( http://www.boost.org ) (see "-with-boost" below)
- Zlib ( included with OS X and most Linuxes, http://www.zlib.net ) *
- C++ compiler with C++11 support
- C++ compiler with C++11 and openmp support


Steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CXXFLAGS += -O3 -DNDEBUG -std=c++11 -fopenmp -Isrc -I @mathinc@
CXXFLAGS += -O3 -DNDEBUG -std=c++11 -Isrc -I @mathinc@ @OPENMP_CXXFLAGS@
CPPFLAGS += @amcppflags@

UNAME_S=$(shell uname -s)
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ AC_ARG_WITH(boost, [ --with-boost=<path/to/boost> Boost Library install dir

AC_LANG(C++)

AC_OPENMP

AC_CHECK_HEADER(zlib.h, [result=1], [result=0])

if test $result == 0
Expand Down
5 changes: 5 additions & 0 deletions src/common/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Third-party libraries
=====================

This folder is excluded from the licensing of the rest of the code. The
corresponding licenses of the third-party libraries applies.

0 comments on commit aca8ba3

Please sign in to comment.