add_openmp_flags_if_available

astropy_helpers.openmp_helpers.add_openmp_flags_if_available(extension)

Add OpenMP compilation flags, if supported (if not a warning will be printed to the console and no flags will be added.)

Returns True if the flags were added, False otherwise.