Skip to content

Commit 40cce0e

Browse files
committed
handle cmake too
1 parent 7d3502b commit 40cce0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/fc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ endif ()
4444

4545
if (${F_COMPILER} STREQUAL "GFORTRAN")
4646
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_GFORT")
47-
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall")
47+
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")
4848
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
4949
if (NOT NO_LAPACK)
5050
set(EXTRALIB "{EXTRALIB} -lgfortran")

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ extern "C" {
183183

184184
#define ALLOCA_ALIGN 63UL
185185

186-
#define NUM_BUFFERS (MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER)
186+
#define NUM_BUFFERS MAX(64,(MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER))
187187

188188
#ifdef NEEDBUNDERSCORE
189189
#define BLASFUNC(FUNC) FUNC##_

0 commit comments

Comments
 (0)