Skip to content

Commit

Permalink
Don't try to load general-19 warnings file for icc
Browse files Browse the repository at this point in the history
The Autools Classic Intel compiler configuration attempts to load a file
named `general-19` from the intel-warnings/classic directory, which does
not exist.

This removes the attempted load of the file.
  • Loading branch information
derobins committed Feb 25, 2024
1 parent 560e80c commit 62fe359
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions config/intel-cxxflags
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,6 @@ if test "X-icpc" = "X-$cxx_vendor"; then
H5_CXXFLAGS="$H5_CXXFLAGS $(load_intel_arguments classic/18)"
fi

# intel <= 19
if test $cxx_vers_major -le 19; then
# Use the C warnings as CXX warnings are the same
H5_CXXFLAGS="$H5_CXXFLAGS $(load_intel_arguments classic/general-19)"
fi

#################
# Flags are set #
#################
Expand Down
6 changes: 0 additions & 6 deletions config/intel-flags
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,6 @@ if test "X-icc" = "X-$cc_vendor"; then
H5_CFLAGS="$H5_CFLAGS $(load_intel_arguments classic/18)"
fi

# intel <= 19
# this file has warnings only available before oneapi versions
if test $cc_vers_major -le 19; then
H5_CFLAGS="$H5_CFLAGS $(load_intel_arguments classic/general-19)"
fi

#################
# Flags are set #
#################
Expand Down

0 comments on commit 62fe359

Please sign in to comment.