remove openmp support entirely, system packages distribute it disabled, the ini disables it by default and the authors recommend disabling it. WIth a distinction between libgomp, libomp and the non-existent usable static libraries for them, it's just not worth it.

This commit is contained in:
DubbleClick
2025-06-25 11:21:58 +07:00
parent 5334727528
commit 40ac705c46
5 changed files with 10 additions and 30 deletions

View File

@@ -149,10 +149,6 @@ class SPCConfigUtil
}
}
}
// patch: imagick (imagemagick wrapper) for linux needs libgomp
if (in_array('imagemagick', $libraries) && PHP_OS_FAMILY === 'Linux' && !(getenv('SPC_LIBC') === 'glibc' && str_contains(getenv('CC'), 'devtoolset-10'))) {
$short_name[] = '-lomp';
}
return implode(' ', $short_name);
}