production,
production-clang,
debug,
- debug-cln
+ debug-cln-clang
]
exclude:
os: macos-latest
- name: debug
os: macos-latest
- - name: debug-cln
+ - name: debug-cln-clang
os: macos-latest
include:
os: ubuntu-latest
exclude_regress: 1-4
- - name: debug-cln
+ - name: debug-cln-clang
config: debug --symfpu --cln --gpl --no-debug-symbols --no-proofs --poly
- cache-key: debug-cln
+ cache-key: debug-cln-clang
+ env: CC=clang CXX=clang++
os: ubuntu-latest
exclude_regress: 1-4
if(${is_white})
target_compile_options(${name} PRIVATE -fno-access-control)
endif()
+ # Disable the Wunused-comparison warnings for the unit tests.
+ check_cxx_compiler_flag("-Wno-unused-comparison" HAVE_FLAGWno_unused_comparison)
+ if(HAVE_FLAGWno_unused_comparison)
+ target_compile_options(${name} PRIVATE -Wno-unused-comparison)
+ endif()
add_dependencies(build-units ${name})
# Generate into bin/test/unit/<output_dir>.
set(test_bin_dir ${CMAKE_BINARY_DIR}/bin/test/unit/${output_dir})
endif()
# Disable the Wsuggest-override warnings for the unit tests. CxxTest generates
# code that does not properly add the override keyword to runTest().
- target_compile_options(${name} PRIVATE -Wno-suggest-override)
+ check_cxx_compiler_flag("-Wno-suggest-override" HAVE_FLAGWno_suggest_override)
+ if(HAVE_FLAGWno_suggest_override)
+ target_compile_options(${name} PRIVATE -Wno-suggest-override)
+ endif()
+ # Disable the Wunused-comparison warnings for the unit tests.
+ check_cxx_compiler_flag("-Wno-unused-comparison" HAVE_FLAGWno_unused_comparison)
+ if(HAVE_FLAGWno_unused_comparison)
+ target_compile_options(${name} PRIVATE -Wno-unused-comparison)
+ endif()
+
add_dependencies(build-units ${name})
# Generate into bin/test/unit/<output_dir>.
set(test_bin_dir ${CMAKE_BINARY_DIR}/bin/test/unit/${output_dir})
d_theoryState = &d_state;
}
- TheoryRewriter* getTheoryRewriter() { return nullptr; }
+ TheoryRewriter* getTheoryRewriter() override { return nullptr; }
void registerTerm(TNode n) {
// check that we registerTerm() a term only once