diff --git a/recipes/vs2008_express_vc_python_patch/bld.bat b/recipes/vs2008_express_vc_python_patch/bld.bat new file mode 100644 index 0000000000000..fd80593f0eb97 --- /dev/null +++ b/recipes/vs2008_express_vc_python_patch/bld.bat @@ -0,0 +1,4 @@ +echo %CD% +mkdir %PREFIX%\Scripts +MOVE %SRC_DIR%\setup_x64.bat %PREFIX%\Scripts\ +MOVE %SRC_DIR%\x64 %PREFIX%\Scripts\ diff --git a/recipes/vs2008_express_vc_python_patch/meta.yaml b/recipes/vs2008_express_vc_python_patch/meta.yaml new file mode 100644 index 0000000000000..32ef83a5f63ab --- /dev/null +++ b/recipes/vs2008_express_vc_python_patch/meta.yaml @@ -0,0 +1,24 @@ +package: + name: vs2008_express_vc_python_patch + version: 1.0 + +source: + url: https://github.com/menpo/condaci/raw/master/vs2008_patch.zip + sha256: c54143587f74a120f77987ea9a2d011e1c090709f07e3678f25aa1ffb93a6777 + +build: + number: 0 + skip: true # [not win] + +test: + commands: + - IF NOT EXIST %SCRIPTS%\setup_x64.bat exit 1 + - IF NOT EXIST %SCRIPTS%\x64 exit 1 + +about: + summary: Workaround to help CMake find the appropriate x64 compiler on VS 2008 Express with VS compiler for python on top. + +extra: + recipe-maintainers: + - msarahan + - patricksnape diff --git a/recipes/vs2008_express_vc_python_patch/post-link.bat b/recipes/vs2008_express_vc_python_patch/post-link.bat new file mode 100644 index 0000000000000..ee19681133d54 --- /dev/null +++ b/recipes/vs2008_express_vc_python_patch/post-link.bat @@ -0,0 +1,2 @@ +call %PREFIX%\Scripts\setup_x64.bat +copy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat"