Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add -block -cache for optimize hdiffz -m speed, add bsdiff wrapper (hdiffz -BSD) #272

Merged
merged 10 commits into from
Nov 27, 2021
Prev Previous commit
update support lzma sdk v21.06
  • Loading branch information
sisong committed Nov 27, 2021
commit c930f1e7173bbc8cc4f072d65ccade1b84b6cb69
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ else # https://www.7-zip.org https://github.com/sisong/lzma
HPATCH_OBJ += $(LZMA_PATH)/LzmaDec.o \
$(LZMA_PATH)/Lzma2Dec.o
HDIFF_OBJ += $(LZMA_PATH)/LzFind.o \
$(LZMA_PATH)/LzFindOpt.o \
$(LZMA_PATH)/LzmaEnc.o \
$(LZMA_PATH)/Lzma2Enc.o
ifeq ($(MT),0)
Expand Down
6 changes: 6 additions & 0 deletions builds/codeblocks/HDiffZ.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,18 @@
<Unit filename="../../../lzma/C/Alloc.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../lzma/C/CpuArch.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../lzma/C/LzFind.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../lzma/C/LzFindMt.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../lzma/C/LzFindOpt.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="../../../lzma/C/Lzma2Dec.c">
<Option compilerVar="CC" />
</Unit>
Expand Down
9 changes: 9 additions & 0 deletions builds/vc/lzma.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\lzma\C\CpuArch.c" />
<ClCompile Include="..\..\..\lzma\C\LzFindOpt.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\lzma\C\LzmaDec.c" />
<ClCompile Include="..\..\..\lzma\C\Lzma2Dec.c" />
<ClCompile Include="..\..\..\lzma\C\Alloc.c" />
Expand All @@ -163,6 +168,10 @@
<ClCompile Include="..\..\..\lzma\C\Threads.c" />
</ItemGroup>
<ItemGroup>
<MASM Include="..\..\..\lzma\Asm\x86\LzFindOpt.asm">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</MASM>
<MASM Include="..\..\..\lzma\Asm\x86\LzmaDecOpt.asm">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
Expand Down
9 changes: 9 additions & 0 deletions builds/vc2019/lzma.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\lzma\C\CpuArch.c" />
<ClCompile Include="..\..\..\lzma\C\LzFindOpt.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\lzma\C\LzmaDec.c" />
<ClCompile Include="..\..\..\lzma\C\Lzma2Dec.c" />
<ClCompile Include="..\..\..\lzma\C\Alloc.c" />
Expand All @@ -168,6 +173,10 @@
<ClCompile Include="..\..\..\lzma\C\Threads.c" />
</ItemGroup>
<ItemGroup>
<MASM Include="..\..\..\lzma\Asm\x86\LzFindOpt.asm">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</MASM>
<MASM Include="..\..\..\lzma\Asm\x86\LzmaDecOpt.asm">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
Expand Down