mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE] Fix incompatible-std-redefinition warning (#141630)
Fixes following warning during CUDA bazel builds ``` nvcc-real warning : incompatible redefinition for option 'std', the last value of this option was used ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/141630 Approved by: https://github.com/cyyever, https://github.com/kit1980
This commit is contained in:
committed by
PyTorch MergeBot
parent
3d5fe0ce78
commit
e3161ba6ec
@ -15,7 +15,7 @@ index ba992fc..e4e8364 100644
|
||||
repository_ctx,
|
||||
"BAZEL_CXXOPTS",
|
||||
- "-std=c++0x",
|
||||
+ "-std=c++11",
|
||||
+ "-std=c++17",
|
||||
False,
|
||||
), ":")
|
||||
|
||||
|
Reference in New Issue
Block a user