Maksim Shabunin
c0ae812aa2
Add ThinLTO support for clang
7 years ago
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
7 years ago
Maksim Shabunin
38c62f6461
Added option to disable gc-sections flag
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
7 years ago
Alexander Alekhin
f7913e2c84
build: eliminate Xcode 9.1 warnings
...
- 3rdparty/libjasper/jas_getopt.c:129:25: warning: this function declaration is not a prototype [-Wstrict-prototypes]
- clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
7 years ago
Alexander Alekhin
43e4e1b624
cmake: drop amending of compilation options
...
Allow to specify optimization level via CMake.
7 years ago
Alexander Alekhin
db980b0eca
cmake: fix '-fvisibility' options regression
...
CMAKE_COMPILER_ID => CMAKE_CXX_COMPILER_ID
7 years ago
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
7 years ago
Alexander Alekhin
f694192878
cmake: use CMAKE_CXX_COMPILER_VERSION (CMake 2.8.8+)
...
- '-fvisibility' flag was updated
- PVAPI library detection was changed
7 years ago
Tomoaki Teshima
14b76a5bca
suppress warnings on Visual Studio 2013 and earlier
7 years ago
Alexander Alekhin
1516103a15
cmake: fix compiler flags
7 years ago
neok-m4700
c2e281f8cf
Update OpenCVCompilerOptions.cmake
...
misplaced else
7 years ago
jqly
444593014f
a fix for open issue 4772
8 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Alexander Alekhin
1961bb1857
cmake: add ENABLE_BUILD_HARDENING option
8 years ago
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
8 years ago
Alexander Alekhin
69df0eee77
cmake: fix try_compile() with --coverage flags
8 years ago
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago
Alexander Alekhin
041502e42c
build: eliminate ICC warnings
8 years ago
Alexander Alekhin
ceb5210bfb
build: eliminate ICC PCH warning
8 years ago
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
8 years ago
Alexander Alekhin
3fc06f14d4
cmake: use -fp-model precise with ICC
8 years ago
Alexander Alekhin
d206e84a13
cmake: use -fp-model precise with ICC
8 years ago
Alexander Alekhin
26fbaada0a
cmake: disable warning C4127 for MSVS < 2015
8 years ago
Alexander Alekhin
a3bfa6f566
cmake: ccache
8 years ago
Maksim Shabunin
21167b1bf1
Fixed several GCC 5.x warnings
8 years ago
Alexander Alekhin
14d2046f80
cmake: ccache
8 years ago
Alexander Alekhin
4c8d25878b
cmake: update configuration for iOS
8 years ago
Tomoaki Teshima
c7cb116dc0
check FP16 build condition correctly
...
* use __GNUC_MINOR__ in correct place to check the version of GCC
* check processor support of FP16 at run time
* check compiler support of FP16 and pass correct compiler option
* rely on ENABLE_AVX on gcc since AVX is generated when mf16c is passed
* guard correctly using ifdef in case of various configuration
* use v_float16x4 correctly by including the right header file
8 years ago
Alexander Alekhin
d855608e6e
instrumentation: fix build on Linux
...
- enable C++11
- fix macro
8 years ago
Maksim Shabunin
dc704d77ac
Fixed several GCC 5.x warnings
8 years ago
Alexander Alekhin
fde4e8fed9
cmake: add /usr/local/lib on Apple platform
8 years ago
Alexander Alekhin
2ec63e4dd1
fix android pack build
8 years ago
Tomoaki Teshima
d5179b8218
let the test Video_AccSquared.accuracy pass on linux x64 debug
8 years ago
Tomoaki Teshima
addb15383a
fix run time error
9 years ago
Tomoaki Teshima
15f8bc6f37
fix cmake
...
* enable fp16 feature correctly with gcc on x86/x86_64
9 years ago
Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
9 years ago
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
9 years ago
Alexander Alekhin
42ba5c7d16
fix GCC 4.9 warnings
9 years ago
Evgeny Agafonchikov
6a6d58d389
Adding test support for WINRT
10 years ago
Vladislav Vinogradov
cde697dd14
introduce BUILD_TINY_GPU_MODULE CMake option
...
it adds OPENCV_TINY_GPU_MODULE definition, that will allow
to build tiny version of gpu module (with limited image format support)
10 years ago
Maksim Shabunin
1138a38dbe
Use explicit no-sse flags when SSE is off
...
Also:
- Silence clang warnings about unsupported command line arguments
- Add diagnostic print to calib3d test
- Fixed perf test relative error check
- Fix iOS build problem
10 years ago
Vladimir Kolesnikov
2c73e49dac
Not block PDB file in multithreaded build on Windows.
...
If used cl compiler, but generator is not Visual Studio e.g. Ninja,
enable FS option to prevent blocking PDB file in multithreaded build.
10 years ago
Vladimir Kolesnikov
bea98bd22a
Not block PDB file in multithreaded build on Windows.
...
If used cl compiler, but generator is not Visual Studio e.g. Ninja,
enable FS option to prevent blocking PDB file in multithreaded build.
(cherry picked from commit 58c9135626
)
10 years ago
Vladimir Kolesnikov
58c9135626
Not block PDB file in multithreaded build on Windows.
...
If used cl compiler, but generator is not Visual Studio e.g. Ninja,
enable FS option to prevent blocking PDB file in multithreaded build.
10 years ago
Ilya Lavrenov
e9a6c5db21
sqsum
10 years ago
Ilya Lavrenov
f2cd65cf1e
fixes
10 years ago