From 230099ec651a23a08c79899bf29c8c3bcaf289e9 Mon Sep 17 00:00:00 2001 From: Keck Jean-Baptiste <jbkeck@hotmail.com> Date: Tue, 28 Jun 2016 21:09:47 +0200 Subject: [PATCH] disabled annoying F2PY_REPORTS by default in setup.py.in --- CMakeLists.txt | 2 +- cmake/FindFFTW.cmake | 2 +- setup.py.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2750a842..d295a9c9b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,7 +190,7 @@ if(WITH_FFTW) get_filename_component(_name ${_file} DIRECTORY) list(FIND dirlist ${_name} isin) if(isin EQUAL -1) - list(APPEND dirlist ${_name}) + list(APPEND dirlist ${_name}) endif() endforeach() set(FFTWLIB ${dirlist} CACHE PATH "fftw libraries dir") diff --git a/cmake/FindFFTW.cmake b/cmake/FindFFTW.cmake index cfef1dff0..74af7a02e 100644 --- a/cmake/FindFFTW.cmake +++ b/cmake/FindFFTW.cmake @@ -11,7 +11,7 @@ # # Possible component names: fftw3[fdlq](-(mpi|threads|omp))\?, where case doesn't matter # and [fdlq] stands for f=float, d=double, l=long double, q=gcc quad long -# Note that the only exeption is fftw3q-mpi which doesn't exist at this day. +# Note that the only exception is fftw3q-mpi which doesn't exist at this day. # # == Full example == # set(FIND_FFTW_VERBOSE ON) (optional) diff --git a/setup.py.in b/setup.py.in index 0c6c36648..4f3336ba8 100644 --- a/setup.py.in +++ b/setup.py.in @@ -79,7 +79,7 @@ def create_fortran_extension(name, pyf_file=None, src_dirs=None, sources=None, if pyf_file is not None: sources.append(pyf_file) sources = sort_f90.sort(sources) - if debug_mode == 0: + if debug_mode > 0: options.append(('F2PY_REPORT_ON_ARRAY_COPY', '1')) if os.uname()[0] == 'Linux': options.append(('F2PY_REPORT_ATEXIT', '1')) -- GitLab