Skip to content

Commit

Permalink
Use -ftrivial-auto-var-init=pattern flag in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarusz committed Nov 14, 2023
1 parent c6f981f commit f242225
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion standalone/machines/ci/macos-clang.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export OMPI_CC=clang
export OMPI_CXX=clang++
export OMPI_FC=gfortran-12

export YAKL_CXX_FLAGS="-DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_CXX_FLAGS="-g -ftrivial-auto-var-init=pattern -DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_F90_FLAGS="-O2 -ffree-line-length-none"
export PAM_LINK_FLAGS="-L`nc-config --libdir` -lnetcdf"
export PAM_NLEV=50
Expand Down
2 changes: 1 addition & 1 deletion standalone/machines/ci/ubuntu-clang.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export OMPI_CC=clang
export OMPI_CXX=clang++
export OMPI_FC=gfortran

export YAKL_CXX_FLAGS="-DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_CXX_FLAGS="-g -ftrivial-auto-var-init=pattern -DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_F90_FLAGS="-O2 -ffree-line-length-none"
export PAM_LINK_FLAGS="-L`nc-config --libdir` -lnetcdf"
export PAM_NLEV=50
Expand Down
8 changes: 4 additions & 4 deletions standalone/machines/ci/ubuntu-gcc.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export CC=mpicc
export CXX=mpic++
export FC=mpifort

export OMPI_CC=gcc
export OMPI_CXX=g++
export OMPI_FC=gfortran
export OMPI_CC=gcc-12
export OMPI_CXX=g++-12
export OMPI_FC=gfortran-12

export YAKL_CXX_FLAGS="-DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_CXX_FLAGS="-g -ftrivial-auto-var-init=pattern -DHAVE_MPI -O2 -I`nc-config --includedir`"
export YAKL_F90_FLAGS="-O2 -ffree-line-length-none"
export PAM_LINK_FLAGS="-L`nc-config --libdir` -lnetcdf"
export PAM_NLEV=50
Expand Down

0 comments on commit f242225

Please sign in to comment.