uti: fix rpmbuild
Change-Id: I0cc60d2b38b184168a99a4778fbb5a437278da29
This commit is contained in:
@@ -69,6 +69,8 @@ This package contains headers and libraries required for build apps using IHK/Mc
|
||||
%define __global_ldflags ""
|
||||
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic
|
||||
|
||||
mkdir build
|
||||
pushd build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DUNAME_R=%{kernel_version} \
|
||||
-DKERNEL_DIR=%{kernel_dir} \
|
||||
@@ -77,12 +79,15 @@ This package contains headers and libraries required for build apps using IHK/Mc
|
||||
%{?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_FUGAKU_DEBUG=OFF -DENABLE_UTI=ON \
|
||||
..
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd build
|
||||
%make_install
|
||||
popd
|
||||
|
||||
%files
|
||||
%ifarch x86_64
|
||||
@@ -138,9 +143,6 @@ This package contains headers and libraries required for build apps using IHK/Mc
|
||||
%{_includedir}/ihk/ihk_monitor.h
|
||||
%{_includedir}/ihk/ihk_debug.h
|
||||
%{_includedir}/ihk/ihk_host_driver.h
|
||||
%{_includedir}/libsyscall_intercept_hook_point.h
|
||||
%{_libdir}/pkgconfig/libsyscall_intercept.pc
|
||||
%{_mandir}/man3/libsyscall_intercept.3
|
||||
/lib/modules/%{kernel_version}/extra/mckernel/ihk/linux/core/Module.symvers
|
||||
|
||||
# taken from /usr/lib/rpm/redhat/kmodtool (kernel_module_package)
|
||||
|
||||
Reference in New Issue
Block a user