pytorch
7481c6fc - Bump googletest version to v1.11.0 (#61395)

Commit
3 years ago
Bump googletest version to v1.11.0 (#61395) Summary: This PR bumps the `googletest` version to v1.11.0. To facilitate this change, `CAFFE2_ASAN_FLAG` and `CAFFE2_TSAN_FLAG` are divided into corresponding compiler and linker variants. This is required because `googletest v1.11.0` sets the `-Werror` flag. The `-pie` flag is a linker flag, and passing it to a compiler invocation results in a `-Wunused-command-line-argument` warning, which in turn will cause `googletest` to fail to build with ASAN. Fixes https://github.com/pytorch/pytorch/issues/60865 Pull Request resolved: https://github.com/pytorch/pytorch/pull/61395 Reviewed By: iramazanli Differential Revision: D29620970 Pulled By: 1ntEgr8 fbshipit-source-id: cdb1d3d12e0fff834c2e62971e42c03f8c3fbf1b
Author
Parents
Loading