Skip to content

Commit 2ed3ba2

Browse files
authored
Update CXXFLAGS in SYCL CIs (#389)
Disable some warnings for oneAPI 2025.0. Remove some `-Wno`'s that are no longer needed.
1 parent 917f326 commit 2ed3ba2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/intel.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Build & Install
2727
# mkl/rng/device/detail/mrg32k3a_impl.hpp has a number of sign-compare error
2828
# mkl/rng/device/detail/mrg32k3a_impl.hpp has missing braces in array-array initalization
29-
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"}
29+
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"}
3030
run: |
3131
set +e
3232
source /opt/intel/oneapi/setvars.sh
@@ -73,10 +73,8 @@ jobs:
7373
restore-keys: |
7474
ccache-${{ github.workflow }}-${{ github.job }}-git-
7575
- name: Build & Install
76-
# mkl/rng/device/detail/mrg32k3a_impl.hpp has a number of sign-compare error
77-
# mkl/rng/device/detail/mrg32k3a_impl.hpp has missing braces in array-array initalization
7876
# /usr/include/c++/12/bits/stl_tempbuf.h has deprecated-declarations in 'get_temporary_buffer<std::pair<long, int>>'
79-
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"}
77+
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"}
8078
run: |
8179
set +e
8280
source /opt/intel/oneapi/setvars.sh

0 commit comments

Comments
 (0)