Skip to content

Commit

Permalink
Enable testing under fast-math
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Sep 2, 2021
1 parent 2666309 commit ffaec96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
enable_xtl_complex: 1
gcc_9:
gcc_version: '9'
gcc_9_fast:
gcc_version: '9'
enable_fast_math: 1
pool:
vmImage: ubuntu-16.04
variables:
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/unix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ steps:
if [[ $(force_no_instr_set) == 1 ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DXSIMD_FORCE_X86_INSTR_SET=0 -DXSIMD_FORCE_X86_AMD_INSTR_SET=0";
fi
if [[ $(enable_fast_math) == 1 ]]; then
export CXXFLAGS=-ffast-math
fi
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX $CMAKE_EXTRA_ARGS -DDOWNLOAD_GTEST=ON -DXSIMD_ENABLE_WERROR=1 $(Build.SourcesDirectory)
displayName: Configure xsimd
Expand Down

0 comments on commit ffaec96

Please sign in to comment.