Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
4e92ba4c
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4e92ba4c
编写于
9月 06, 2017
作者:
S
Shivram Mani
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modified to not build PXF by default and only with enable-pxf configure option
上级
7cb69995
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
26 addition
and
25 deletion
+26
-25
.travis.yml
.travis.yml
+1
-1
README.md
README.md
+9
-7
concourse/scripts/builds/GpBuild.py
concourse/scripts/builds/GpBuild.py
+0
-1
concourse/scripts/common.bash
concourse/scripts/common.bash
+2
-2
concourse/scripts/compile_gpdb_open_source.bash
concourse/scripts/compile_gpdb_open_source.bash
+1
-1
configure
configure
+2
-2
configure.in
configure.in
+2
-2
gpAux/Makefile
gpAux/Makefile
+9
-9
未找到文件。
.travis.yml
浏览文件 @
4e92ba4c
...
...
@@ -86,7 +86,7 @@ before_script:
script
:
-
cd ${TRAVIS_BUILD_DIR}
-
./configure --with-openssl --with-ldap --with-libcurl --prefix=${TRAVIS_BUILD_DIR}/gpsql --with-apr-config=${TRAVIS_BUILD_DIR}/tools/bin/apr-1-config --disable-orca --disable-gpcloud
--disable-pxf
-
./configure --with-openssl --with-ldap --with-libcurl --prefix=${TRAVIS_BUILD_DIR}/gpsql --with-apr-config=${TRAVIS_BUILD_DIR}/tools/bin/apr-1-config --disable-orca --disable-gpcloud
-
make
-
make install
...
...
README.md
浏览文件 @
4e92ba4c
...
...
@@ -201,14 +201,16 @@ make distclean
./configure --disable-orca --with-perl --with-python --with-libxml --prefix=/usr/local/gpdb
```
### Building GPDB with
out
PXF
PXF is an extension framework for GPDB to enable access to external hadoop datasets.
### Building GPDB with PXF
PXF is an extension framework for GPDB to enable
fast
access to external hadoop datasets.
Refer to
[
PXF extension
](
https://github.com/greenplum-db/gpdb/tree/master/gpAux/extensions/pxf
)
for more information.
Currently, GPDPB is built with PXF by default.
PXF requires curl version > 7.21.3. On most centos6 environments with curl version 7.19 compilation will fail due to this dependancy.
You can either try upgrading your curl version, or simply disable pxf during build.
If you don't need PXF, use --disable-pxf flag with configure.
Currently, GPDPB isn't built with PXF by default.
PXF requires curl version >= 7.21.3 and also has an additional dependancy on json-c library
In order to build GPDB with pxf, simply change
`configure`
with additional option
`--enable-pxf`
.
```
# Configure build environment to build/install PXF at /usr/local/gpdb
./configure --with-perl --with-python --with-libxml --prefix=/usr/local/gpdb --enable-pxf
```
### Building GPDB with code generation enabled
...
...
concourse/scripts/builds/GpBuild.py
浏览文件 @
4e92ba4c
...
...
@@ -14,7 +14,6 @@ class GpBuild(GpdbBuildBase):
"--with-libxml"
,
"--with-python"
,
"--disable-gpcloud"
,
"--disable-pxf"
,
"--prefix=/usr/local/gpdb"
],
cwd
=
"gpdb_src"
)
def
icg
(
self
):
...
...
concourse/scripts/common.bash
浏览文件 @
4e92ba4c
...
...
@@ -26,9 +26,9 @@ function configure() {
# on these options for deciding what to test. Since we don't ship
# Perl on SLES we must also skip GPMapreduce as it uses pl/perl.
if
[
"
$TEST_OS
"
==
"sles"
]
;
then
./configure
--prefix
=
/usr/local/greenplum-db-devel
--with-python
--with-libxml
--disable-orca
--disable-pxf
${
CONFIGURE_FLAGS
}
./configure
--prefix
=
/usr/local/greenplum-db-devel
--with-python
--with-libxml
--disable-orca
${
CONFIGURE_FLAGS
}
else
./configure
--prefix
=
/usr/local/greenplum-db-devel
--with-perl
--with-python
--with-libxml
--enable-mapreduce
--disable-orca
${
CONFIGURE_FLAGS
}
./configure
--prefix
=
/usr/local/greenplum-db-devel
--with-perl
--with-python
--with-libxml
--enable-mapreduce
--disable-orca
--enable-pxf
${
CONFIGURE_FLAGS
}
fi
popd
}
...
...
concourse/scripts/compile_gpdb_open_source.bash
浏览文件 @
4e92ba4c
...
...
@@ -47,7 +47,7 @@ function build_gpdb() {
pushd
gpdb_src
source
/opt/gcc_env.sh
CC
=
$(
which gcc
)
CXX
=
$(
which g++
)
./configure
--enable-mapreduce
--with-perl
--with-libxml
\
--disable-orca
--with-python
--disable-gpfdist
--
disable-pxf
--
prefix
=
${
GREENPLUM_INSTALL_DIR
}
--disable-orca
--with-python
--disable-gpfdist
--prefix
=
${
GREENPLUM_INSTALL_DIR
}
# Use -j4 to speed up the build. (Doesn't seem worth trying to guess a better
# value based on number of CPUs or anything like that. Going above -j4 wouldn't
# make it much faster, and -j4 is small enough to not hurt too badly even on
...
...
configure
浏览文件 @
4e92ba4c
...
...
@@ -1527,7 +1527,7 @@ Optional Features:
--disable-spinlocks do not use spinlocks
--disable-atomics do not use atomic operations
--disable-gpfdist do not use gpfdist
--
disable-pxf do not use
pxf
--
enable-pxf build with
pxf
--enable-gpperfmon build with gpperfmon
--enable-debug build with debugging symbols (-g)
--enable-profiling build with profiling enabled
...
...
@@ -3582,7 +3582,7 @@ if test "${enable_pxf+set}" = set; then :
esac
else
enable_pxf=
yes
enable_pxf=
no
fi
...
...
configure.in
浏览文件 @
4e92ba4c
...
...
@@ -234,8 +234,8 @@ AC_SUBST(enable_gpfdist)
#
# pxf
#
PGAC_ARG_BOOL(enable, pxf,
yes
,
[ --
disable-pxf do not use
pxf])
PGAC_ARG_BOOL(enable, pxf,
no
,
[ --
enable-pxf build with
pxf])
AC_SUBST(enable_pxf)
#
...
...
gpAux/Makefile
浏览文件 @
4e92ba4c
...
...
@@ -159,16 +159,16 @@ endif
APU_CONFIG
=
--with-apu-config
=
$(BLD_THIRDPARTY_BIN_DIR)
/apu-1-config
aix7_ppc_64_CONFIGFLAGS
=
--disable-gpcloud
--without-readline
--without-libcurl
--disable-
pxf
--disable-
orca
$(APR_CONFIG)
win32_CONFIGFLAGS
=
--with-gssapi
--without-libcurl
--disable-
pxf
--disable-pxf
--disable-
orca
--disable-gpcloud
$(APR_CONFIG)
aix7_ppc_64_CONFIGFLAGS
=
--disable-gpcloud
--without-readline
--without-libcurl
--disable-orca
$(APR_CONFIG)
win32_CONFIGFLAGS
=
--with-gssapi
--without-libcurl
--disable-orca
--disable-gpcloud
$(APR_CONFIG)
sol10_x86_64_CONFIGFLAGS
=
--enable-snmp
--with-libxml
$(APR_CONFIG)
rhel5_x86_32_CONFIGFLAGS
=
--host
=
i686-pc-linux-gnu
--enable-snmp
--enable-ddboost
--with-gssapi
--enable-netbackup
--with-libxml
$(APR_CONFIG)
rhel5_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-gpperfmon
--enable-ddboost
--with-gssapi
--enable-netbackup
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
rhel6_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-tap-tests
--enable-gpperfmon
--enable-ddboost
--with-gssapi
--enable-netbackup
--enable-mapreduce
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
rhel7_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-tap-tests
--enable-gpperfmon
--enable-ddboost
--
disable-pxf
--with-gssapi
--enable-netbackup
--enable-mapreduce
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
suse10_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--
disable-pxf
--
with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
suse11_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--
disable-pxf
--
with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
sles11_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--
disable-pxf
--
with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
rhel5_x86_32_CONFIGFLAGS
=
--host
=
i686-pc-linux-gnu
--enable-snmp
--enable-ddboost
--with-gssapi
--enable-netbackup
--
enable-pxf
--
with-libxml
$(APR_CONFIG)
rhel5_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-gpperfmon
--enable-ddboost
--with-gssapi
--enable-netbackup
${ORCA_CONFIG}
--
enable-pxf
--
with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
rhel6_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-tap-tests
--enable-gpperfmon
--enable-ddboost
--with-gssapi
--enable-netbackup
--enable-mapreduce
${ORCA_CONFIG}
--
enable-pxf
--
with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
rhel7_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-tap-tests
--enable-gpperfmon
--enable-ddboost
--
with-gssapi
--enable-netbackup
--enable-mapreduce
${ORCA_CONFIG}
--enable-pxf
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
suse10_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
suse11_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
sles11_x86_64_CONFIGFLAGS
=
--enable-snmp
--enable-ddboost
--enable-gpperfmon
--with-gssapi
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
$(APU_CONFIG)
linux_x86_64_CONFIGFLAGS
=
--enable-snmp
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
osx106_x86_CONFIGFLAGS
=
--enable-snmp
${ORCA_CONFIG}
--with-libxml
$(APR_CONFIG)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录