diff --git a/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_full.java b/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_full.java index feb2a18490..e854322092 100644 --- a/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_full.java +++ b/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_full.java @@ -41,29 +41,7 @@ @Platform( include = {"openblas_config.h", "cblas.h", "lapacke_config.h", "lapacke_mangling.h", "lapack.h", "lapacke.h", "lapacke_utils.h"})}) @NoException -public class openblas_full extends openblas_nolapack { - - @Override public void init(ClassProperties properties) { - super.init(properties); - - List links = properties.get("platform.link"); - List preloads = properties.get("platform.preload"); - - // Replace all occurences of "openblas_nolapack" with "openblas_full" (with LAPACK) - for (List l : new List[] {links, preloads}) { - ListIterator it = l.listIterator(); - while (it.hasNext()) { - String s = it.next(); - if (s.contains("openblas_nolapack")) { - it.remove(); - s = s.replace("openblas_nolapack", "openblas_full"); - if (!l.contains(s)) { - it.add(s); - } - } - } - } - } +public class openblas_full extends openblas { @Override public void map(InfoMap infoMap) { infoMap.put(new Info("lapack.h", "lapacke.h").linePatterns(".*LAPACK_GLOBAL.*").skip())