google / benchmark

A microbenchmark support library
Apache License 2.0
8.94k stars 1.62k forks source link

Fix IntelLLVM compiler error #1644

Closed joannapng closed 1 year ago

joannapng commented 1 year ago

In response to issue #1505

The IntelLLVM Compiler has the -ffast-math flag enabled by default, which in turn, turns on the -ffinite-math-only flag, which assumes that arguments and results are not NaNs or Infs. Use the -fno-finite-math-only flag to suppress the errors.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

dmah42 commented 1 year ago

failing windows release test is unrelated.

dmah42 commented 1 year ago

we should consider adding intel compilers to the CI bots i think.

dmah42 commented 1 year ago

thanks!