Skip to content

Commit aca8ba3

Browse files
committed
openmp check in autoconf
1 parent 420c839 commit aca8ba3

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

INSTALL.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Dependencies:
99
or..
1010
Boost Library ( http://www.boost.org ) (see "-with-boost" below)
1111
- Zlib ( included with OS X and most Linuxes, http://www.zlib.net ) *
12-
- C++ compiler with C++11 support
12+
- C++ compiler with C++11 and openmp support
1313

1414

1515
Steps:

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CXXFLAGS += -O3 -DNDEBUG -std=c++11 -fopenmp -Isrc -I @mathinc@
1+
CXXFLAGS += -O3 -DNDEBUG -std=c++11 -Isrc -I @mathinc@ @OPENMP_CXXFLAGS@
22
CPPFLAGS += @amcppflags@
33

44
UNAME_S=$(shell uname -s)

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ AC_ARG_WITH(boost, [ --with-boost=<path/to/boost> Boost Library install dir
1212

1313
AC_LANG(C++)
1414

15+
AC_OPENMP
16+
1517
AC_CHECK_HEADER(zlib.h, [result=1], [result=0])
1618

1719
if test $result == 0

src/common/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Third-party libraries
2+
=====================
3+
4+
This folder is excluded from the licensing of the rest of the code. The
5+
corresponding licenses of the third-party libraries applies.

0 commit comments

Comments
 (0)