spec, README.md: add package dependency including libdwarf
Change-Id: Ie612c5dc642a9f5d6d2ba31747adb991cb568113
This commit is contained in:
committed by
Masamichi Takagi
parent
7c0e624b13
commit
1b11496f26
16
README.md
16
README.md
@ -114,7 +114,19 @@ git submodule update
|
||||
|
||||
Foe example, if you want to try the development branch, use "development" as the pathspec. If you want to try the prerelease version 1.7.0-0.2, use "1.7.0-0.2".
|
||||
|
||||
###### 4.1 Install with cmake
|
||||
###### 4.1 Install required packages
|
||||
|
||||
~~~~
|
||||
sudo yum install systemd-libs numactl-libs elfutils-libelf libdwarf
|
||||
~~~~
|
||||
|
||||
Note that you need to enable CodeReady Linux Builder (CLB) repository with RHEL-8.2 with the following command:
|
||||
|
||||
~~~~
|
||||
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
|
||||
~~~~
|
||||
|
||||
###### 4.2 Install with cmake
|
||||
|
||||
Configure and compile:
|
||||
|
||||
@ -126,7 +138,7 @@ make -j install
|
||||
|
||||
The IHK kernel modules and McKernel kernel image should be installed under the **ihk+mckernel** folder in your home directory.
|
||||
|
||||
###### 4.2 Install with rpm
|
||||
###### 4.3 Install with rpm
|
||||
|
||||
Configure, compile and build rpm:
|
||||
|
||||
|
||||
@ -23,6 +23,8 @@ Summary: IHK/McKernel
|
||||
License: GPLv2
|
||||
Source0: mckernel-%{version}.tar.gz
|
||||
|
||||
Requires: systemd-libs numactl-libs elfutils-libelf libdwarf
|
||||
|
||||
# kernel_module_package macro does not handle cross build...
|
||||
%if "%{?_host_cpu}" == "x86_64" && "%{?_target_cpu}" == "aarch64"
|
||||
%define cross_compile 1
|
||||
|
||||
Reference in New Issue
Block a user