Skip to content

Commit

Permalink
toolchain: pass -Wno-error=uninitialized to eri_mme_lattice_summation…
Browse files Browse the repository at this point in the history
… compilation
  • Loading branch information
dev-zero committed Jul 31, 2020
1 parent 6d12638 commit 97bb2ae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/toolchain/scripts/generate_arch_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ EOF
eval "printf \"${__TMPL}\n\"" > $__filename
# pass this to parsers to replace all of the IF_XYZ statements
"${SCRIPTDIR}/parse_if.py" -i -f "${__filename}" $__flags

if [ "$with_gcc" != "__DONTUSE__" ] ; then
cat << 'EOF' >> $__filename
# Until https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96312 is fixed
eri_mme_lattice_summation.o: eri_mme_lattice_summation.F
$(TOOLSRC)/build_utils/fypp $(FYPPFLAGS) $< $*.F90
$(FC) -c $(FCFLAGS) -Wno-error=uninitialized -D__SHORT_FILE__="\"$(subst $(SRCDIR)/,,$<)\"" -I'$(dir $<)' $(OBJEXTSINCL) $*.F90 $(FCLOGPIPE)
EOF
fi
echo "Wrote ${INSTALLDIR}/arch/$__filename"
}

Expand Down

0 comments on commit 97bb2ae

Please sign in to comment.