Skip to content

Commit ef07069

Browse files
committed
fix: exclude s_check_patches from IPO to prevent pre_process ICE on NVHPC 25.x
1 parent 35f8160 commit ef07069

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ function(MFC_SETUP_TARGET)
448448
$<$<COMPILE_LANGUAGE:Fortran>:-Minline>
449449
)
450450
add_dependencies(${ARGS_TARGET} ${ARGS_TARGET}_lib)
451-
target_compile_options(${ARGS_TARGET} PRIVATE -Minline=lib:${ARGS_TARGET}_lib,except:f_is_default,except:s_compute_dt,except:my_inquire,except:s_mpi_abort,except:s_mpi_barrier,except:s_prohibit_abort,except:s_int_to_str,except:s_associate_cbc_coefficients_pointers,except:s_check_inactive_patch_geometry,except:s_check_unsupported_patch_smoothing)
451+
target_compile_options(${ARGS_TARGET} PRIVATE -Minline=lib:${ARGS_TARGET}_lib,except:f_is_default,except:s_compute_dt,except:my_inquire,except:s_mpi_abort,except:s_mpi_barrier,except:s_prohibit_abort,except:s_int_to_str,except:s_associate_cbc_coefficients_pointers,except:s_check_patches)
452452
list(PREPEND IPO_TARGETS ${ARGS_TARGET}_lib)
453453
endif()
454454

0 commit comments

Comments
 (0)