Skip to content

Commit 0f45c09

Browse files
committed
ignore C++ warnings
1 parent b161f2a commit 0f45c09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipe/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-std=c++[0-9][0-9]//g')"
3434
# break users' programs
3535
export CFLAGS="$(echo $CFLAGS | sed 's/-fvisibility-inlines-hidden//g')"
3636
export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-fvisibility-inlines-hidden//g')"
37+
# ignore warnings; blows up the logs for no benefit; they need to be fixed upstream
38+
export CXXFLAGS="$CXXFLAGS -w"
39+
3740
export LDFLAGS="$(echo $LDFLAGS | sed 's/-Wl,--as-needed//g')"
3841
# The default conda LDFLAGs include -Wl,-dead_strip_dylibs, which removes all the
3942
# MKL sequential, core, etc. libraries, resulting in a "Symbol not found: _mkl_blas_caxpy"

0 commit comments

Comments
 (0)