Skip to content

Commit ffaec96

Browse files
Enable testing under fast-math
1 parent 2666309 commit ffaec96

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.azure-pipelines/azure-pipelines-linux-gcc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
enable_xtl_complex: 1
3030
gcc_9:
3131
gcc_version: '9'
32+
gcc_9_fast:
33+
gcc_version: '9'
34+
enable_fast_math: 1
3235
pool:
3336
vmImage: ubuntu-16.04
3437
variables:

.azure-pipelines/unix-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ steps:
3939
if [[ $(force_no_instr_set) == 1 ]]; then
4040
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DXSIMD_FORCE_X86_INSTR_SET=0 -DXSIMD_FORCE_X86_AMD_INSTR_SET=0";
4141
fi
42+
if [[ $(enable_fast_math) == 1 ]]; then
43+
export CXXFLAGS=-ffast-math
44+
fi
4245
4346
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX $CMAKE_EXTRA_ARGS -DDOWNLOAD_GTEST=ON -DXSIMD_ENABLE_WERROR=1 $(Build.SourcesDirectory)
4447
displayName: Configure xsimd

0 commit comments

Comments
 (0)