Skip to content

Commit

Permalink
Set GLIBCXX_USE_CXX11_ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann committed Aug 23, 2022
1 parent bfa8f0d commit 7bf84de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions T/Torch/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ atomic_patch -p1 ../patches/pytorch-aten-qnnpack-cmake-windows.patch
cmake_extra_args=""
include_paths=""
if [[ $bb_full_target == *cxx11* ]]; then
cmake_extra_args+="-DGLIBCXX_USE_CXX11_ABI=1 "
fi
if [[ $target == i686-linux-gnu*
|| $target == x86_64-linux-gnu*
|| $target == x86_64-apple-darwin*
Expand Down

0 comments on commit 7bf84de

Please sign in to comment.