2013-10-14 17:43:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-10-14 17:01:33 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2020-10-06 16:07:54 +00:00
|
|
|
<Project DefaultTargets="CheckRequireIsal;Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2013-10-14 17:01:33 +00:00
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
2015-02-26 20:41:33 +00:00
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
2013-10-14 17:01:33 +00:00
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<ProjectGuid>{4C0C12D2-3CB0-47F8-BCD0-55BD5732DFA7}</ProjectGuid>
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
|
|
|
<RootNamespace>native</RootNamespace>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2015-02-26 20:41:33 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
</PropertyGroup>
|
2013-10-14 17:01:33 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
2015-02-26 20:41:33 +00:00
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
2013-10-14 17:01:33 +00:00
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
2015-02-26 20:41:33 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
<OutDir>..\..\..\target\bin\</OutDir>
|
|
|
|
<IntDir>..\..\..\target\native\$(Configuration)\</IntDir>
|
|
|
|
<TargetName>hadoop</TargetName>
|
|
|
|
</PropertyGroup>
|
2013-10-14 17:01:33 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
<OutDir>..\..\..\target\bin\</OutDir>
|
|
|
|
<IntDir>..\..\..\target\native\$(Configuration)\</IntDir>
|
|
|
|
<TargetName>hadoop</TargetName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
2014-03-28 19:47:21 +00:00
|
|
|
<IncludePath Condition="Exists('$(ZLIB_HOME)')">$(ZLIB_HOME);$(IncludePath)</IncludePath>
|
2013-10-14 17:01:33 +00:00
|
|
|
</PropertyGroup>
|
2015-11-05 18:31:01 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<IsalLib Condition="Exists('$(CustomIsalPrefix)\isa-l.dll')">$(CustomIsalPrefix)</IsalLib>
|
|
|
|
<IsalLib Condition="Exists('$(CustomIsalPrefix)\lib\isa-l.dll') And '$(IsalLib)' == ''">$(CustomIsalPrefix)\lib</IsalLib>
|
2018-03-19 23:05:55 +00:00
|
|
|
<IsalLib Condition="Exists('$(CustomIsalPrefix)\bin\isa-l.dll') And '$(IsalLib)' == ''">$(CustomIsalPrefix)\bin</IsalLib>
|
2015-11-05 18:31:01 +00:00
|
|
|
<IsalLib Condition="Exists('$(CustomIsalLib)') And '$(IsalLib)' == ''">$(CustomIsalLib)</IsalLib>
|
|
|
|
<IsalEnabled Condition="'$(IsalLib)' != ''">true</IsalEnabled>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target Name="CheckRequireIsal">
|
|
|
|
<Error
|
|
|
|
Text="Required ISA-L library could not be found. CustomIsalLib=$(CustomIsalLib), CustomIsalPrefix=$(CustomIsalPrefix)"
|
|
|
|
Condition="'$(RequireIsal)' == 'true' And '$(IsalEnabled)' != 'true'" />
|
|
|
|
</Target>
|
2015-02-26 20:41:33 +00:00
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NATIVE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-11-05 18:31:01 +00:00
|
|
|
<AdditionalIncludeDirectories>..\winutils\include;..\native\src\org\apache\hadoop\io\erasurecode\include;..\..\..\target\native\javah;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;.\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2015-02-26 20:41:33 +00:00
|
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
|
|
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<AdditionalDependencies>Ws2_32.lib;libwinutils.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
<AdditionalLibraryDirectories>..\..\..\target\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
2013-10-14 17:01:33 +00:00
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NATIVE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-11-05 18:31:01 +00:00
|
|
|
<AdditionalIncludeDirectories>..\winutils\include;..\native\src\org\apache\hadoop\io\erasurecode\include;..\..\..\target\native\javah;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;.\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2013-10-14 17:01:33 +00:00
|
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
|
|
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<AdditionalDependencies>Ws2_32.lib;libwinutils.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
<AdditionalLibraryDirectories>..\..\..\target\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
2014-03-28 19:47:21 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\compress\zlib\ZlibCompressor.c" Condition="Exists('$(ZLIB_HOME)')" />
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\compress\zlib\ZlibDecompressor.c" Condition="Exists('$(ZLIB_HOME)')" />
|
2013-10-14 17:01:33 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\nativeio\file_descriptor.c" />
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\nativeio\NativeIO.c" />
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\security\JniBasedUnixGroupsMappingWin.c" />
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\util\bulk_crc32.c" />
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\util\NativeCodeLoader.c">
|
2016-10-25 23:53:53 +00:00
|
|
|
<AdditionalOptions Condition="'$(IsalEnabled)' == 'true'">/D HADOOP_ISAL_LIBRARY=L\"isa-l.dll\"</AdditionalOptions>
|
2013-10-14 17:01:33 +00:00
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\util\NativeCrc32.c" />
|
2014-10-22 22:57:46 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\yarn\server\nodemanager\windows_secure_container_executor.c">
|
|
|
|
<AdditionalIncludeDirectories>src\org\apache\hadoop\io\nativeio;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
</ClCompile>
|
2016-03-11 20:56:12 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\isal_load.c" Condition="'$(IsalEnabled)' == 'true'">
|
2016-10-25 23:53:53 +00:00
|
|
|
<AdditionalOptions>/D HADOOP_ISAL_LIBRARY=L\"isa-l.dll\"</AdditionalOptions>
|
2015-11-05 18:31:01 +00:00
|
|
|
</ClCompile>
|
2016-03-11 20:56:12 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\erasure_code.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\gf_util.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\erasure_coder.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\dump.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_erasure_code_native.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_common.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_rs_encoder.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_rs_decoder.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
2016-10-25 23:53:53 +00:00
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_xor_encoder.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
|
|
|
<ClCompile Include="src\org\apache\hadoop\io\erasurecode\jni_xor_decoder.c" Condition="'$(IsalEnabled)' == 'true'"/>
|
2013-10-14 17:01:33 +00:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="..\src\org\apache\hadoop\util\crc32c_tables.h" />
|
|
|
|
<ClInclude Include="..\src\org\apache\hadoop\util\crc32_zlib_polynomial_tables.h" />
|
2014-03-28 19:47:21 +00:00
|
|
|
<ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib_ZlibCompressor.h" />
|
|
|
|
<ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib_ZlibDecompressor.h" />
|
|
|
|
<ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib.h" />
|
2013-10-14 17:01:33 +00:00
|
|
|
<ClInclude Include="src\org\apache\hadoop\io\nativeio\file_descriptor.h" />
|
|
|
|
<ClInclude Include="src\org\apache\hadoop\util\bulk_crc32.h" />
|
|
|
|
<ClInclude Include="src\org\apache\hadoop\util\crc32c_tables.h" />
|
|
|
|
<ClInclude Include="src\org\apache\hadoop\util\crc32_zlib_polynomial_tables.h" />
|
|
|
|
<ClInclude Include="src\org_apache_hadoop.h" />
|
2014-10-22 22:57:46 +00:00
|
|
|
<ClInclude Include="src\org\apache\hadoop\yarn\server\nodemanager\windows_secure_container_executor.h" />
|
2013-10-14 17:01:33 +00:00
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
</Project>
|