Skip to content

Commit

Permalink
Ignore deprecated usage of this capture by eigen during darwin compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed May 28, 2024
1 parent 06853de commit 231cfaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stages/99-onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ case "$TARGET" in
-Donnxruntime_USE_COREML=On
)
# Allow deprecated usage of ATOMIC_VAR_INIT by https://github.com/google/nsync
export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS"
# Allow deprecated usage of this capture by https://gitlab.com/libeigen/eigen
export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -Wno-deprecated-this-capture"
;;
esac

Expand Down

0 comments on commit 231cfaf

Please sign in to comment.