drwells / fiddle

4 stars 3 forks source link

Print out the flags actually used to compile things in the CI. #187

Closed drwells closed 1 year ago

drwells commented 1 year ago

My intent with the CI set up is that we still define -DDEBUG to enable deal.II assertions - lets see if that's happening.

drwells commented 1 year ago

The flags are

/usr/bin/ccache /usr/sbin/c++ -DKOKKOS_DEPENDENCE -DNDEBUG
-Dfiddle3d_EXPORTS -I/__w/fiddle/fiddle/build/include -I/__w/fiddle/fiddle/include
-isystem /deal.II/include -isystem /deal.II/include/deal.II/bundled
-isystem /opt/petsc/linux-c-opt/include -isystem /usr/include/hypre
-isystem /usr/include/superlu -isystem /usr/include/superlu_dist
-isystem /trilinos/include -isystem /opt/p4est-deal-ii/FAST/include
-isystem /ibamr/include -isystem /samrai/include -isystem /usr/include/eigen3
-O2 -DDEBUG -Wall -Wextra -Wpedantic -Werror -fopenmp -fuse-ld=mold -O3
-DNDEBUG -fPIC -DANSI_DECLARATORS -DTRILIBRARY -DKOKKOS_DEPENDENCE
-DNDIM=3 -MD -MT CMakeFiles/fiddle3d.dir/source/base/samrai_utilities.cc.o
 -MF CMakeFiles/fiddle3d.dir/source/base/samrai_utilities.cc.o.d
-o CMakeFiles/fiddle3d.dir/source/base/samrai_utilities.cc.o
-c /__w/fiddle/fiddle/source/base/samrai_utilities.cc

so we're picking up -O3 from deal.II: that shouldn't happen!