!4 feat: use llvm15 path for strip on x86_64

From: @tian2020 
Reviewed-by: @yukaii 
Signed-off-by: @yukaii
This commit is contained in:
openeuler-ci-bot 2023-06-15 10:15:03 +00:00 committed by Gitee
commit 4aa4f2e66f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,24 @@
From 0b07bcf8a6550a98c5b87b9da2bc9ac41af1bf4e Mon Sep 17 00:00:00 2001
From: tian2020 <tian_hang@hoperun.com>
Date: Thu, 15 Jun 2023 17:16:03 +0800
Subject: [PATCH] fix: use llvm15 path on x86_64
---
toolchain/linux/BUILD.gn | 1 -
1 file changed, 1 deletion(-)
diff --git a/toolchain/linux/BUILD.gn b/toolchain/linux/BUILD.gn
index 353b13d..a8c2f78 100755
--- a/toolchain/linux/BUILD.gn
+++ b/toolchain/linux/BUILD.gn
@@ -121,7 +121,6 @@ clang_toolchain("linux_clang_x86_64") {
# Output linker map files for binary size analysis.
enable_linker_map = true
toolprefix = "/usr/bin/"
- strip = "/usr/bin/llvm-strip"
toolchain_args = {
current_cpu = "x64"
current_os = "linux"
--
2.33.0

View File

@ -2,7 +2,7 @@
%global openHarmony_source_release OpenHarmony-v3.2-Release
Name: distributed-build
Version: 1.0.0
Release: 2
Release: 3
Summary: openEuler embedded softbus build tools
License: Apache-2.0
URL: https://gitee.com/openharmony/build
@ -22,7 +22,8 @@ Patch0011: 0011-feat-use-.z-for-libs-name.patch
Patch0012: 0012-fix-rpm-build-fail-caused-by-wrong-useless-code.patch
Patch0013: 0013-feature-use-llvm-tools-version-15-for-build.patch
Patch0014: 0014-feat-delete-the-default-sqlite-deps.patch
Patch0015: 0015-feat-and-hilog-gn-files.patch
Patch0015: 0015-feat-and-hilog-gn-files.patch
Patch0016: 0016-fix-use-llvm15-path-on-x86_64.patch
BuildArch: noarch
@ -43,6 +44,9 @@ cp -rp %{_builddir}/build-%{openHarmony_source_release}/* %{buildroot}/opt/dist
/opt/distributed-middleware-build
%changelog
* Thu Jun 15 tianhang <tian_hang@hoperun.com> - 1.0.0-3
- use llvm15 path for strip on x86_64
* Thu Jun 15 tianhang <tian_hang@hoperun.com> - 1.0.0-2
- add hilog compile gn files and remove default sqlite deps