mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-03 20:13:47 +03:00
do not warn for a number of warnings for cpp files from src/3rd_party/..
This commit is contained in:
parent
67e9bc4957
commit
82da7d5219
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Support for 8-bit matrix multiplication with FBGEMM
|
||||
- CMakeLists.txt now looks for SSE 4.2
|
||||
- Purging of finished hypotheses during beam-search. A lot faster for large batches.
|
||||
- Faster option look-up, up to 20-30% faster translation
|
||||
|
5
src/3rd_party/CMakeLists.txt
vendored
5
src/3rd_party/CMakeLists.txt
vendored
@ -13,6 +13,11 @@ if(USE_FBGEMM)
|
||||
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS 1 CACHE INTERNAL "No dev warnings")
|
||||
endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
# only locally disabled for the 3rd_party folder
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-value -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function")
|
||||
endif()
|
||||
|
||||
set(FBGEMM_BUILD_TESTS OFF CACHE BOOL "Disable fbgemm tests")
|
||||
set(FBGEMM_BUILD_BENCHMARKS OFF CACHE BOOL "Disable fbgemm benchmark")
|
||||
add_subdirectory(./fbgemm)
|
||||
|
Loading…
Reference in New Issue
Block a user