• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2# This library is free software; you can redistribute it and/or
3# modify it under the terms of the GNU Lesser General Public
4# License as published by the Free Software Foundation version 2.1
5# of the License.
6#
7# Copyright(c) 2023 Huawei Device Co., Ltd.
8
9set -e
10cd $1
11if [ -d "abseil-cpp" ];then
12    rm -rf abseil-cpp
13fi
14tar zxvf abseil-cpp-20230802.1.tar.gz
15mv abseil-cpp-20230802.1 abseil-cpp
16cd $1/abseil-cpp
17patch -p1 < $1/abseil-cpp-20210324.2-sw.patch
18patch -p1 < $1/0001-add-loongarch-suopport-for-abseil-cpp.patch
19patch -p1 < $1/0002-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
20patch -p1 < $1/fix-mingw-complier-error.patch
21patch -p1 < $1/adapter-ohos.patch
22patch -p1 < $1/backport-CVE-2025-0838.patch
23exit 0
24