Repository: parquet-cpp
Updated Branches:
  refs/heads/master 3a7421593 -> 6f8c224f1


PARQUET-1110: Add release verification script for Windows

Author: Wes McKinney <[email protected]>

Closes #401 from wesm/windows-verify-release and squashes the following commits:

61e573b [Wes McKinney] Add release verification script for Windows


Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/6f8c224f
Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/6f8c224f
Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/6f8c224f

Branch: refs/heads/master
Commit: 6f8c224f17e7503903147051e6579c53d4f6baca
Parents: 3a74215
Author: Wes McKinney <[email protected]>
Authored: Mon Sep 25 14:39:08 2017 +0200
Committer: Uwe L. Korn <[email protected]>
Committed: Mon Sep 25 14:39:08 2017 +0200

----------------------------------------------------------------------
 dev/release/verify-release-candidate.bat | 54 +++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/6f8c224f/dev/release/verify-release-candidate.bat
----------------------------------------------------------------------
diff --git a/dev/release/verify-release-candidate.bat 
b/dev/release/verify-release-candidate.bat
new file mode 100644
index 0000000..b5aaa8a
--- /dev/null
+++ b/dev/release/verify-release-candidate.bat
@@ -0,0 +1,54 @@
+@rem Licensed to the Apache Software Foundation (ASF) under one
+@rem or more contributor license agreements.  See the NOTICE file
+@rem distributed with this work for additional information
+@rem regarding copyright ownership.  The ASF licenses this file
+@rem to you under the Apache License, Version 2.0 (the
+@rem "License"); you may not use this file except in compliance
+@rem with the License.  You may obtain a copy of the License at
+@rem
+@rem   http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing,
+@rem software distributed under the License is distributed on an
+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@rem KIND, either express or implied.  See the License for the
+@rem specific language governing permissions and limitations
+@rem under the License.
+
+@rem Then run from the directory containing the RC tarball
+@rem
+@rem verify-release-candidate.bat apache-parquet-cpp-%VERSION%
+
+@echo on
+
+if not exist "C:\tmp\" mkdir C:\tmp
+if exist "C:\tmp\parquet-verify-release" rd C:\tmp\parquet-verify-release /s /q
+if not exist "C:\tmp\parquet-verify-release" mkdir 
C:\tmp\parquet-verify-release
+
+tar xvf %1.tar.gz -C "C:/tmp/"
+
+set GENERATOR=Visual Studio 14 2015 Win64
+set CONFIGURATION=release
+set PARQUET_SOURCE=C:\tmp\%1
+set INSTALL_DIR=C:\tmp\%1\install
+
+pushd %PARQUET_SOURCE%
+
+set PARQUET_TEST_DATA=%PARQUET_SOURCE%\data
+
+set PARQUET_HOME=%INSTALL_DIR%
+set PATH=%INSTALL_DIR%\bin;%PATH%
+
+mkdir build
+pushd build
+
+cmake -G "%GENERATOR%" ^
+      -DCMAKE_INSTALL_PREFIX=%PARQUET_HOME% ^
+      -DPARQUET_BOOST_USE_SHARED=OFF ^
+      -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
+      -DPARQUET_CXXFLAGS="/WX /MP" ^
+      ..  || exit /B
+cmake --build . --target INSTALL --config %CONFIGURATION%  || exit /B
+
+ctest -VV  || exit /B
+popd

Reply via email to