From af618f23a70508111f490a24d74fc90161cfc079 Mon Sep 17 00:00:00 2001 From: cnauroth Date: Thu, 26 Mar 2015 21:56:31 -0700 Subject: [PATCH] HADOOP-11691. X86 build of libwinutils is broken. Contributed by Kiran Kumar M R. --- .../hadoop-common/CHANGES.txt | 3 ++ .../src/main/winutils/win8sdk.props | 29 +++++++++++++++---- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e739a8ff457..a7d4adc29ed 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1166,6 +1166,9 @@ Release 2.7.0 - UNRELEASED HADOOP-11748. The secrets of auth cookies should not be specified in configuration in clear text. (Li Lu and Haohui Mai via wheat9) + HADOOP-11691. X86 build of libwinutils is broken. + (Kiran Kumar M R via cnauroth) + Release 2.6.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/winutils/win8sdk.props b/hadoop-common-project/hadoop-common/src/main/winutils/win8sdk.props index 503b37ad5c5..29ae2b7bc54 100644 --- a/hadoop-common-project/hadoop-common/src/main/winutils/win8sdk.props +++ b/hadoop-common-project/hadoop-common/src/main/winutils/win8sdk.props @@ -19,10 +19,29 @@ - $(VCInstallDir)bin\x86_amd64;$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(MSBuildProgramFiles32)\Windows Kits\8.1\bin\x86;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(MSBuildProgramFiles32)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH) - $(MSBuildProgramFiles32)\Windows Kits\8.1\Include\um;$(MSBuildProgramFiles32)\Windows Kits\8.1\Include\shared;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(FrameworkSDKDir)\include; - $(VCInstallDir)lib\amd64;$(VCInstallDir)atlmfc\lib\amd64;$(MSBuildProgramFiles32)\Windows Kits\8.1\lib\win8\um\x64;$(MSBuildProgramFiles32)\Windows Kits\8.1\Lib\winv6.3\um\x64;$(FrameworkSDKDir)\lib\x64 - $(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(MSBuildProgramFiles32)\Windows Kits\8.1\Include\um;$(MSBuildProgramFiles32)\Windows Kits\8.1\Include\shared;$(FrameworkSDKDir)\include;$(MSBuildToolsPath32);$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib; - + $(MSBuildProgramFiles32)\Windows Kits\8.1\ + + + + $(Windows8SdkDir)Include\um;$(Windows8SdkDir)Include\shared; + $(Windows8SdkDir)bin\x86; + $(Windows8SdkDir)bin\x64; + $(Windows8SdkDir)lib\winv6.3\um\x86; + $(Windows8SdkDir)lib\winv6.3\um\x64; + + + + $(ExecutablePath);$(Windows8SDK_ExecutablePath_x86); + $(Windows8SDK_IncludePath);$(IncludePath); + $(LibraryPath);$(Windows8SDK_LibraryPath_x86); + $(ExcludePath);$(Windows8SDK_IncludePath);$(Windows8SDK_LibraryPath_x86); + + + + $(ExecutablePath);$(Windows8SDK_ExecutablePath_x64); + $(Windows8SDK_IncludePath);$(IncludePath); + $(LibraryPath);$(Windows8SDK_LibraryPath_x64); + $(ExcludePath);$(Windows8SDK_IncludePath);$(Windows8SDK_LibraryPath_x64); +