From 9bb3ed8eef01567e5479f6061227d1596473c0e6 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Thu, 31 Oct 2024 17:07:41 -0700 Subject: [PATCH] Update CXXFLAGS in SYCL CIs Disable some warnings for oneAPI 2025.0. Remove some `-Wno`'s that no longer needed. --- .github/workflows/intel.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index e1bb7907..242ebc69 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -26,7 +26,7 @@ jobs: - name: Build & Install # mkl/rng/device/detail/mrg32k3a_impl.hpp has a number of sign-compare error # mkl/rng/device/detail/mrg32k3a_impl.hpp has missing braces in array-array initalization - env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-sign-compare -Wno-missing-braces"} + env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-unused-variable -Wno-shadow"} run: | set +e source /opt/intel/oneapi/setvars.sh @@ -73,10 +73,8 @@ jobs: restore-keys: | ccache-${{ github.workflow }}-${{ github.job }}-git- - name: Build & Install - # mkl/rng/device/detail/mrg32k3a_impl.hpp has a number of sign-compare error - # mkl/rng/device/detail/mrg32k3a_impl.hpp has missing braces in array-array initalization # /usr/include/c++/12/bits/stl_tempbuf.h has deprecated-declarations in 'get_temporary_buffer>' - env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-sign-compare -Wno-missing-braces -Wno-error=pass-failed -Wno-tautological-constant-compare -Wno-deprecated-declarations"} + env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-deprecated-declarations"} run: | set +e source /opt/intel/oneapi/setvars.sh