cmake --version
- name: build
run: |
- echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+ echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
./candi.sh -j 2 --packages="once:p4est dealii"
cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
cmake --version
- name: build
run: |
- echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+ echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
./candi.sh -j 2 --packages="dealii"
cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
export OMPI_CXX=g++-9
export OMPI_CC=gcc-9
export OMPI_FC=gfortran-9
- echo 'DEAL_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+ echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
./candi.sh -j 2 --packages="once:p4est once:petsc dealii"
cd ~/deal.ii-candi/tmp/build/deal.II-* && cat detailed.log && make test
BUILDCHAIN=ignore
################################################################################
-# Loop over the options in DEAL_CONFOPTS and if the package is turned off, add
-# it to the PACKAGES_OFF list.
-for option in ${DEAL_CONFOPTS[@]}; do
+# Loop over the options in DEAL_II_CONFOPTS and if the package is turned off,
+# add it to the PACKAGES_OFF list.
+for option in ${DEAL_II_CONFOPTS[@]}; do
case ${option} in
*DEAL_II_WITH*:BOOL=OFF)
PACKAGE_NAME=${option##*WITH_};
if [ ! -z "${PACKAGES_OFF}" ]; then
cecho ${WARN} "deal.II: forcing package skip for: ${PACKAGES_OFF}"
- cecho ${INFO} "This is coming from your personal DEAL_CONFOPTS settings!"
+ cecho ${INFO} "This is coming from your personal DEAL_II_CONFOPTS settings!"
echo
cecho ${GOOD} "Please confirm this behaviour by pressing enter..."
read
# add the user-specified flags at the end (so things can be overriden):
CONFOPTS="${CONFOPTS} \
-${DEAL_CONFOPTS}"
+${DEAL_II_CONFOPTS}"
################################################################################
# metis
if [[ ${PACKAGES_OFF} =~ 'metis' ]]; then
- # Disable METIS for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable METIS for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces metis to be off
if [ ! -z "${METIS_DIR}" ]; then
cecho ${INFO} "deal.II: unset METIS_DIR due to forced DEAL_II_WITH_METIS:BOOL=OFF option"
# p4est
if [[ ${PACKAGES_OFF} =~ 'p4est' ]]; then
- # Disable p4est for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable p4est for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces p4est to be off
if [ ! -z "${P4EST_DIR}" ]; then
cecho ${INFO} "deal.II: unset P4EST_DIR due to forced DEAL_II_WITH_P4EST:BOOL=OFF option"
# hdf5
if [[ ${PACKAGES_OFF} =~ 'hdf5' ]]; then
- # Disable hdf5 for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable hdf5 for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces hdf5 to be off
if [ ! -z "${HDF5_DIR}" ]; then
cecho ${INFO} "deal.II: unset HDF5_DIR due to forced DEAL_II_WITH_HDF5:BOOL=OFF option"
# trilinos
if [[ ${PACKAGES_OFF} =~ 'trilinos' ]]; then
- # Disable trilinos for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable trilinos for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces trilinos to be off
if [ ! -z "${TRILINOS_DIR}" ]; then
cecho ${INFO} "deal.II: unset TRILINOS_DIR due to forced DEAL_II_WITH_TRILINOS:BOOL=OFF option"
# petsc
if [[ ${PACKAGES_OFF} =~ 'petsc' ]]; then
- # Disable petsc for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable petsc for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces petsc to be off
if [ ! -z "${PETSC_DIR}" ]; then
cecho ${INFO} "deal.II: unset PETSC_DIR due to forced DEAL_II_WITH_PETSC:BOOL=OFF option"
# slepc
if [[ ${PACKAGES_OFF} =~ 'slepc' ]]; then
- # Disable slepc for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable slepc for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces slepc to be off
if [ ! -z "${SLEPC_DIR}" ]; then
cecho ${INFO} "deal.II: unset SLEPC_DIR due to forced DEAL_II_WITH_SLEPC:BOOL=OFF option"
# opencascade
if [[ ${PACKAGES_OFF} =~ 'opencascade' ]]; then
- # Disable OPENCASCADE for deal.II, if a special DEAL_CONFOPTS together with
+ # Disable OPENCASCADE for deal.II, if a special DEAL_II_CONFOPTS together with
# the dealii-prepare loop forces opencascade to be off
if [ ! -z "${OPENCASCADE_DIR}" ]; then
cecho ${INFO} "deal.II: unset OPENCASCADE_DIR due to forced DEAL_II_WITH_OPENCASCADE:BOOL=OFF option"