Skip to content

Commit 9122ce4

Browse files
committed
trying both c++11 and c++14 narrowing
1 parent 04a46c5 commit 9122ce4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_torch_xla_libs.sh

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ fi
5757
OPTS+=(--cxxopt="-std=c++17")
5858
if [[ $(basename -- $CC) =~ ^clang ]]; then
5959
OPTS+=(--cxxopt="-Wno-c++11-narrowing")
60+
OPTS+=(--cxxopt="-Wno-c++14-narrowing")
6061
fi
6162

6263
if [[ "$XLA_CUDA" == "1" ]]; then

0 commit comments

Comments
 (0)