spec, docs: update cmake options

Change-Id: Ib8277413a413b5ce956a48f7e3d9922311937ea8
This commit is contained in:
Masamichi Takagi
2021-02-09 20:54:13 -05:00
parent dffb0918a2
commit 31c08bcb7d
2 changed files with 7 additions and 2 deletions

View File

@ -129,7 +129,7 @@ Create the tarball and the spec file:
make dist
cp mckernel-<version>.tar.gz <rpmbuild>/SOURCES
(optional) Insert a line into ``scripts/mckernel.spec`` to specify
(optional) Edit the following line in ``scripts/mckernel.spec`` to change
cmake options. For example:
::
@ -140,7 +140,9 @@ cmake options. For example:
%{?cmake_libdir:-DCMAKE_INSTALL_LIBDIR=%{cmake_libdir}} \
%{?build_target:-DBUILD_TARGET=%{build_target}} \
%{?toolchain_file:-DCMAKE_TOOLCHAIN_FILE=%{toolchain_file}} \
-DENABLE_TOFU=ON -DENABLE_FUGAKU_HACKS=ON -DENABLE_KRM_WORKAROUND=OFF -DWITH_KRM=ON -DENABLE_FUGAKU_DEBUG=OFF \
-DENABLE_TOFU=ON -DENABLE_FUGAKU_HACKS=ON \
-DENABLE_KRM_WORKAROUND=OFF -DWITH_KRM=ON \
-DENABLE_FUGAKU_DEBUG=OFF \
.
Create the rpm package: