[GH-ISSUE #241] 安装阶段是否存在问题 #149

Open
opened 2026-10-26 09:45:59 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @yueryoufeng on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/241

我在自己的环境中使用rpmbuild想将3FS封装成src.rpm的方式。以便编译成rpm直接在目标机器上使用。
在%install阶段:
%build
sh ./patches/apply.sh
%cmake -S .
-B _build
......

cd _build
%make_build

%install
cd _build
make install DESTDIR=%{buildroot}

在使用上述方法%install阶段,查看%{buildroot}目录只有一些头文件和lib库文件等文件,但是并未打包 _build/bin 目录下的二进制文件。
请问这里是需要指定什么参数吗?

Originally created by @yueryoufeng on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/241 我在自己的环境中使用rpmbuild想将3FS封装成src.rpm的方式。以便编译成rpm直接在目标机器上使用。 在%install阶段: %build sh ./patches/apply.sh %cmake -S . \ -B _build \ ...... cd _build %make_build %install cd _build make install DESTDIR=%{buildroot} 在使用上述方法%install阶段,查看%{buildroot}目录只有一些头文件和lib库文件等文件,但是并未打包 _build/bin 目录下的二进制文件。 请问这里是需要指定什么参数吗?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#149
No description provided.