提交 c2141701 编写于 作者: S Sambitesh Dash 提交者: Dhanashree Kashid

Bump ORCA patch version and update README and conan.py for cmake version

Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
上级 b111104f
......@@ -17,7 +17,7 @@ Want to [Contribute](#contribute)?
GPORCA supports various build types: debug, release with debug info, release.
On x86 systems, GPORCA can also be built as a 32-bit or 64-bit library. You'll
need CMake 3.0 or higher to build GPORCA. Get it from cmake.org, or your
need CMake 3.1 or higher to build GPORCA. Get it from cmake.org, or your
operating system's package manager.
# First Time Setup
......
......@@ -33,10 +33,11 @@ class OrcaConan(ConanFile):
try:
vers = subprocess.check_output(["cmake", "--version"]).split()[2]
if int(vers.split(".")[0]) < 3:
raise Exception("CMake version 3.0 or higher is required")
if int(vers.split(".")[1]) < 1:
raise Exception("CMake version 3.1 or higher is required")
except OSError as e:
if e.errno == os.errno.ENOENT:
raise Exception("CMake is not found. Please ensure the CMake 3.0 or later is installed")
raise Exception("CMake is not found. Please ensure the CMake 3.1 or later is installed")
else:
raise
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册