File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Original file line number Diff line number Diff line change 7
7
dnf install -y git
8
8
9
9
# Clone the libdwarf code repository
10
- git clone https://github.com/davea42/libdwarf-code.git --depth 1
10
+ git clone https://github.com/davea42/libdwarf-code.git
11
11
12
12
# Install the required packages for building libdwarf
13
13
dnf install -y gcc gcc-c++ make autoconf automake libtool pkg-config libzstd-devel zlib-devel
14
14
15
15
# Change to the libdwarf directory
16
16
cd libdwarf-code
17
17
18
+ # Checkout the specific commit for consistency
19
+ git checkout 442cd4f9b094a92ac7b8f493507cd0d4f3e7947a
20
+
18
21
# Run the autogen script to generate the configure script
19
22
env -i sh autogen.sh
20
23
@@ -31,7 +34,7 @@ make install
31
34
cd ..
32
35
33
36
# Clone the libelf repository
34
- git clone git://sourceware.org/git/elfutils.git --depth 1
37
+ git clone git://sourceware.org/git/elfutils.git --branch elfutils-0.193 -- depth 1
35
38
36
39
# Install the required packages for building libelf
37
40
dnf install -y bzip2-devel xz-devel libarchive gettext-devel flex bison libcurl-devel json-c-devel
Original file line number Diff line number Diff line change 7
7
apk add git
8
8
9
9
# Clone the libdwarf code repository
10
- git clone https://github.com/davea42/libdwarf-code.git --depth 1
10
+ git clone https://github.com/davea42/libdwarf-code.git
11
11
12
12
# Install the required packages for building libdwarf
13
13
apk add gcc g++ make autoconf automake libtool pkgconf zstd-dev zlib-dev
14
14
15
15
# Change to the libdwarf directory
16
16
cd libdwarf-code
17
17
18
+ # Checkout the specific commit for consistency
19
+ git checkout 442cd4f9b094a92ac7b8f493507cd0d4f3e7947a
20
+
18
21
# Run the autogen script to generate the configure script
19
22
env -i sh autogen.sh
20
23
Original file line number Diff line number Diff line change 7
7
yum install -y git
8
8
9
9
# Clone the libdwarf code repository
10
- git clone https://github.com/davea42/libdwarf-code.git --depth 1
10
+ git clone https://github.com/davea42/libdwarf-code.git
11
11
12
12
# Install the required packages for building libdwarf
13
13
yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/i386/Packages/l/libzstd-devel-1.4.5-3.el6.i686.rpm https://archives.fedoraproject.org/pub/archive/epel/6/i386/Packages/l/libzstd-1.4.5-3.el6.i686.rpm
@@ -16,6 +16,9 @@ yum install -y gcc gcc-c++ make autoconf automake libtool pkgconfig zlib-devel
16
16
# Change to the libdwarf directory
17
17
cd libdwarf-code
18
18
19
+ # Checkout the specific commit for consistency
20
+ git checkout 442cd4f9b094a92ac7b8f493507cd0d4f3e7947a
21
+
19
22
# Run the autogen script to generate the configure script
20
23
env -i sh autogen.sh
21
24
@@ -32,7 +35,7 @@ make install
32
35
cd ..
33
36
34
37
# Clone the libelf repository
35
- git clone git://sourceware.org/git/elfutils.git --depth 1
38
+ git clone git://sourceware.org/git/elfutils.git --branch elfutils-0.193 -- depth 1
36
39
37
40
# Install the required packages for building libelf
38
41
yum install -y bzip2-devel xz-devel libarchive gettext-devel flex bison libcurl-devel json-c-devel
You can’t perform that action at this time.
0 commit comments