From 12fb52bbaec5bbb8249e0aca63b7ee1502aea645 Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Fri, 13 May 2016 20:53:44 -0500 Subject: [PATCH 1/2] add script to set up VS 2008 for CMake on appveyor --- .../vs2008_express_vc_python_patch/bld.bat | 4 ++++ .../vs2008_express_vc_python_patch/meta.yaml | 24 +++++++++++++++++++ .../post-link.bat | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 recipes/vs2008_express_vc_python_patch/bld.bat create mode 100644 recipes/vs2008_express_vc_python_patch/meta.yaml create mode 100644 recipes/vs2008_express_vc_python_patch/post-link.bat 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..f1e08ae8f73a3 --- /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 \ No newline at end of file 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" From aeba6625d8fcac4ccf058302df2aff3f6a71bd24 Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Fri, 13 May 2016 20:56:26 -0500 Subject: [PATCH 2/2] whitespace --- recipes/vs2008_express_vc_python_patch/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/vs2008_express_vc_python_patch/meta.yaml b/recipes/vs2008_express_vc_python_patch/meta.yaml index f1e08ae8f73a3..32ef83a5f63ab 100644 --- a/recipes/vs2008_express_vc_python_patch/meta.yaml +++ b/recipes/vs2008_express_vc_python_patch/meta.yaml @@ -21,4 +21,4 @@ about: extra: recipe-maintainers: - msarahan - - patricksnape \ No newline at end of file + - patricksnape