Commit 0419d2b6 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1397 Deactivate tests in the dummy Yaml, and try to deactivate warnings for...

#1397 Deactivate tests in the dummy Yaml, and try to deactivate warnings for older versions of macOS.
parent bc11fe0b
Pipeline #71560 failed
......@@ -28,7 +28,7 @@ stages:
.build_template_macos: &build_template_macos
stage: build_and_test
# stage: build_and_test
tags:
- macos
cache:
......@@ -46,7 +46,7 @@ stages:
- source activate Python3
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/macos_apple_clang.cmake --cmake_args="-G Ninja" --third_party_directory=/Volumes/Data/ci/opt/${MODE} --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${IS_ONLY_ONE_LIB}
- ninja 2>&1 | tee compilation.log
- ninja test # as artifact are limited in size, I can't unfortunately use a separate stage...
# - ninja test # as artifact are limited in size, I can't unfortunately use a separate stage...
.run_doxygen_template: &run_doxygen_template
......
......@@ -29,7 +29,11 @@ PRAGMA_DIAGNOSTIC(ignored "-Wconversion")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wundef")
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
PRAGMA_DIAGNOSTIC(ignored "-Wredundant-parens")
......
......@@ -29,7 +29,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wconversion")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wundef")
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
PRAGMA_DIAGNOSTIC(ignored "-Wredundant-parens")
# endif // __clang__
......
......@@ -24,7 +24,10 @@ PRAGMA_DIAGNOSTIC(push)
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wdisabled-macro-expansion")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wconversion")
......
......@@ -27,7 +27,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wcast-align")
PRAGMA_DIAGNOSTIC(ignored "-Wdeprecated")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
......
......@@ -26,7 +26,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wredundant-decls")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petscmat.h"
......
......@@ -23,7 +23,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wredundant-decls")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petsc/private/matimpl.h" // to get around MatGetRow() limitations.
......
......@@ -27,7 +27,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wredundant-decls")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petscsnes.h"
......
......@@ -26,7 +26,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wcast-qual")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petscsys.h"
......
......@@ -27,7 +27,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wredundant-decls")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petscvec.h"
......
......@@ -26,7 +26,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wold-style-cast")
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
#include "petscviewer.h"
......
......@@ -29,7 +29,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wfloat-equal")
PRAGMA_DIAGNOSTIC(ignored "-Wdocumentation-unknown-command")
PRAGMA_DIAGNOSTIC(ignored "-Wshorten-64-to-32")
PRAGMA_DIAGNOSTIC(ignored "-Wreserved-id-macro")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# endif // __clang__
......
......@@ -22,8 +22,11 @@ PRAGMA_DIAGNOSTIC(push)
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wdeprecated")
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
PRAGMA_DIAGNOSTIC(ignored "-Wshadow-field")
# if (not defined(__apple_build_version__) || __clang_major__ >= 10)
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
PRAGMA_DIAGNOSTIC(ignored "-Wshadow-field")
# endif
# endif // __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wmissing-noreturn")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment