diff --git a/.github/workflows/linux-simple.yml b/.github/workflows/linux-simple.yml index d655fb72..5d6ee35e 100644 --- a/.github/workflows/linux-simple.yml +++ b/.github/workflows/linux-simple.yml @@ -22,7 +22,7 @@ jobs: - {cxx: clang++-9, other_pkgs: clang-9} - {cxx: clang++-10, other_pkgs: clang-10} build_type: [Debug, Release] - std: [11, 14] + std: [11, 14, 17, 20] #std: [11, 14, 17, 20] #exclude: # - compiler.cxx: "g++-{5,6,7,8,9,10}" @@ -53,7 +53,7 @@ jobs: CXX: ${{matrix.compiler.cxx}} run: | cmake -B build \ - -DCMAKE_BUILD_TYPE=${{matrix.built_type}} \ + -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD_REQUIRED=ON \ -DCMAKE_CXX_EXTENSIONS=OFF \ @@ -68,7 +68,7 @@ jobs: - name: Test working-directory: build - run: ctest -C ${{matrix.BUILD_TYPE}} --rerun-failed --output-on-failure -j `nproc` + run: ctest -C ${{matrix.build_type}} --rerun-failed --output-on-failure -j `nproc` - name: Fuzz Test working-directory: build diff --git a/rapidfuzz/details/simd.hpp b/rapidfuzz/details/simd.hpp index 358ebec6..037a56f1 100644 --- a/rapidfuzz/details/simd.hpp +++ b/rapidfuzz/details/simd.hpp @@ -6,7 +6,7 @@ /* RAPIDFUZZ_LTO_HACK is used to differentiate functions between different * translation units to avoid warnings when using lto */ #ifndef RAPIDFUZZ_EXCLUDE_SIMD -# if __AVX2__ +# if 0//__AVX2__ # define RAPIDFUZZ_SIMD # define RAPIDFUZZ_AVX2 # define RAPIDFUZZ_LTO_HACK 0