From a73901fbdc18555cba7abfec4edda70420df3782 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Thu, 27 Feb 2025 15:27:08 -0300 Subject: [PATCH] Try to build openblas with cmake --- org.gimp.GIMP.json | 58 ++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/org.gimp.GIMP.json b/org.gimp.GIMP.json index dfb3850d..5cd509eb 100644 --- a/org.gimp.GIMP.json +++ b/org.gimp.GIMP.json @@ -794,36 +794,34 @@ "/lib/pkgconfig" ], "modules": [ - { - "name": "openblas", - "sources": [ - { - "type": "archive", - "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.28.tar.gz", - "sha256": "f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1", - "x-checker-data": { - "type": "anitya", - "project-id": 2540, - "stable-only": true, - "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz" - } - } - ], - "no-autogen": true, - "make-args": [ - "DYNAMIC_ARCH=1", - "USE_OPENMP=1", - "NO_CBLAS=1", - "NO_LAPACKE=1" - ], - "make-install-args": [ - "PREFIX=/app" - ], - "cleanup": [ - "/include", - "/lib/pkgconfig" - ] - } + { + "name": "openblas", + "sources": [ + { + "type": "archive", + "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.28.tar.gz", + "sha256": "f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1", + "x-checker-data": { + "type": "anitya", + "project-id": 2540, + "stable-only": true, + "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz" + } + } + ], + "buildsystem": "cmake-ninja", + "builddir": true, + "config-opts": [ + "-DDYNAMIC_ARCH=ON", + "-DUSE_OPENMP=ON", + "-DBUILD_WITHOUT_CBLAS=ON", + "-DBUILD_WITHOUT_LAPACK=ON" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ] + } ] }, {