From 644af953d8ab32885d6e48bf88d8e0cd70023037 Mon Sep 17 00:00:00 2001 From: lxh Date: Fri, 15 Nov 2024 16:10:49 +0800 Subject: [PATCH] =?UTF-8?q?clapack=E5=BA=93=E7=9A=84hpkbuild=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/clapack/HPKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/thirdparty/clapack/HPKBUILD b/thirdparty/clapack/HPKBUILD index 3b422ec2..28722147 100644 --- a/thirdparty/clapack/HPKBUILD +++ b/thirdparty/clapack/HPKBUILD @@ -55,9 +55,10 @@ prepare() { then mkdir -p $builddir/host-build cd $builddir - cmake -G "Unix Makefiles" -DCMAKE_C_FLAGS=-Wno-format-security \ + PKG_CONFIG_LIBDIR="${pkgconfigpath}" cmake -G "Unix Makefiles" \ + -DCMAKE_C_FLAGS=-Wno-format-security \ -Bhost-build -S./ -L > $publicbuildlog 2>&1 - make arithchk -j4 -C host-build VERBOSE=1 >> $publicbuildlog 2>&1 + $MAKE arithchk -C host-build VERBOSE=1 >> $publicbuildlog 2>&1 ret=$? cd $OLDPWD if [ $ret -ne 0 ] @@ -79,7 +80,7 @@ build() { # 由于是交叉编译,需要使用arithchk生成头文件arith.h才能继续编译 originpath=$PATH export PATH=`pwd`/host-build/F2CLIBS/libf2c/:$PATH - make -j4 -C $ARCH-build >> $buildlog 2>&1 + $MAKE VERBOSE=1 -C $ARCH-build >> $buildlog 2>&1 ret=$? export PATH=$originpath cd $OLDPWD -- Gitee