Skip to content

Commit

Permalink
The Intel C++ flag "Wno-unused-command-line-argument" is set in Make/…
Browse files Browse the repository at this point in the history
…Cmake.
  • Loading branch information
ayarkhan committed Nov 27, 2023
1 parent 9bc51fe commit 233e355
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ if [ "${maker}" = "make" ]; then
|| exit 10

elif [ "${maker}" = "cmake" ]; then
# Intel icpx needs -Wno-unused-command-line-argument to avoid
# warnings: 'linker' input unused, which prevent CMake finding OpenMP.
cmake -Dcolor=no \
-DCMAKE_CXX_FLAGS="-Werror -Wno-unused-command-line-argument" \
-DCMAKE_INSTALL_PREFIX=${top}/install \
-Dgpu_backend=${gpu_backend} .. \
|| exit 12
Expand Down

0 comments on commit 233e355

Please sign in to comment.