Skip to content

Commit

Permalink
disable wall for fortran
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Adolfo Bolea Sanchez <[email protected]>
  • Loading branch information
vicentebolea committed Jun 16, 2021
1 parent a169b52 commit 2d5f52d
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if(ADIOS2_USE_Fortran STREQUAL AUTO)
endif()
elseif(ADIOS2_USE_Fortran)
enable_language(Fortran)
string(APPEND CMAKE_Fortran_FLAGS_DEBUG " -Wall")
#string(APPEND CMAKE_Fortran_FLAGS_DEBUG " -Wall")
endif()
if(CMAKE_Fortran_COMPILER_LOADED)
set(ADIOS2_HAVE_Fortran TRUE)
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/cmake/ci-el7-gnu8-ohpc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{CXXFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch")

set(dashboard_cache "
ADIOS2_USE_BZip2:BOOL=ON
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/cmake/ci-el7-gnu8-openmpi-ohpc-static.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{CXXFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch")

set(dashboard_cache "
BUILD_SHARED_LIBS:BOOL=OFF
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/cmake/ci-el7-gnu8-openmpi-ohpc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{CXXFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wno-error=builtin-declaration-mismatch")

set(dashboard_cache "
ADIOS2_USE_BZip2:BOOL=ON
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-el7-spack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

set(dashboard_cache "
ADIOS2_USE_BZip2:BOOL=ON
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-el7.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

set(dashboard_cache "
ADIOS2_USE_BZip2:STRING=ON
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-macos1014-xcode103-ninja.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set(ENV{CXX} clang++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

set(dashboard_cache "
ADIOS2_USE_Fortran:BOOL=ON
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-macos1014-xcode103-openmpi-make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set(ENV{CXX} clang++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

include(ProcessorCount)
ProcessorCount(NCPUS)
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-macos1015-xcode111-make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set(ENV{CXX} clang++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

set(dashboard_cache "
ADIOS2_USE_Fortran:BOOL=ON
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-macos1015-xcode111-openmpi-ninja.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set(ENV{CXX} clang++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall")
set(ENV{CXXFLAGS} "-Werror -Wall")
set(ENV{FFLAGS} "-Werror -Wall")

include(ProcessorCount)
ProcessorCount(NCPUS)
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/cmake/ci-ubuntu1804-spack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(ENV{CXX} g++)
set(ENV{FC} gfortran)
set(ENV{CFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{CXXFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")
set(ENV{FFLAGS} "-Werror -Wall -Wno-error=builtin-declaration-mismatch")

set(dashboard_cache "
ADIOS2_USE_BZip2:BOOL=ON
Expand Down
3 changes: 2 additions & 1 deletion source/utils/bpls/bpls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,8 @@ bool matchesAMask(const char *name)
if (excode == 0 && // matches
(pmatch[0].rm_so == 0 ||
pmatch[0].rm_so == startpos) && // from the beginning
static_cast<size_t>(pmatch[0].rm_eo) == strlen(name) // to the very end of the name
static_cast<size_t>(pmatch[0].rm_eo) ==
strlen(name) // to the very end of the name
)
#else
bool matches = std::regex_match(name, varregex[i]);
Expand Down

0 comments on commit 2d5f52d

Please sign in to comment.