mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-12 16:11:49 +08:00
Disable optimization for sparse_product unit test with MSVC 2013, otherwise it takes several hours to build.
(grafted from 56a750b6ccf52e59874e991a2373265fc3ab4b8e )
This commit is contained in:
parent
96134409fc
commit
a185bc485c
@ -7,6 +7,12 @@
|
|||||||
// Public License v. 2.0. If a copy of the MPL was not distributed
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
||||||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
#if EIGEN_COMP_MSVC==1800
|
||||||
|
// This unit test takes forever to compile in Release mode with MSVC 2013,
|
||||||
|
// multiple hours. So let's switch off optimization for this one.
|
||||||
|
#pragma optimize("",off)
|
||||||
|
#endif
|
||||||
|
|
||||||
static long int nb_temporaries;
|
static long int nb_temporaries;
|
||||||
|
|
||||||
inline void on_temporary_creation() {
|
inline void on_temporary_creation() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user