From 870985d10d236dac013bc816db01c776de75df1f Mon Sep 17 00:00:00 2001 From: lxh Date: Mon, 2 Dec 2024 20:49:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0python=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/thrift/HPKCHECK | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/thirdparty/thrift/HPKCHECK b/thirdparty/thrift/HPKCHECK index c85ca540..d4d81e03 100644 --- a/thirdparty/thrift/HPKCHECK +++ b/thirdparty/thrift/HPKCHECK @@ -14,6 +14,14 @@ openharmonycheck() { echo "the network not ready, the test depends the network! make sure the network is OK!!" >> ${logfile} return 1 fi + + linkPath="/data/CIusr/bin/python" + realPath="/data/python3.8.10/bin/python" + if [! -e "${linkPath}"];then + ln -s ${realPath} ${linkPath} + echo "create python link" >> ${logfile} + fi + cd ${builddir}/${ARCH}-build ctest >> ${logfile} 2>&1 res=$? -- Gitee From 66d2299de059beee8178d7add30f2b52d750af24 Mon Sep 17 00:00:00 2001 From: lxh Date: Tue, 3 Dec 2024 11:07:06 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=87=E4=BB=BDx86=E7=9A=84=E5=BA=93?= =?UTF-8?q?=EF=BC=8C=E6=8A=8Aarm=E7=9A=84=E5=BA=93=E6=94=B9=E5=90=8D?= =?UTF-8?q?=E4=B8=BAx86=E7=9A=84=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/thrift/HPKCHECK | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/thrift/HPKCHECK b/thirdparty/thrift/HPKCHECK index d4d81e03..1863d59e 100644 --- a/thirdparty/thrift/HPKCHECK +++ b/thirdparty/thrift/HPKCHECK @@ -22,6 +22,10 @@ openharmonycheck() { echo "create python link" >> ${logfile} fi + cd ${builddir} + mv ./host-build/compiler/cpp/bin/thrift ./host-build/compiler/cpp/bin/thrift.bak + cp ./${ARCH}-build/compiler/cpp/bin/thrift ./host-build/compiler/cpp/bin + cd ${builddir}/${ARCH}-build ctest >> ${logfile} 2>&1 res=$? -- Gitee