apache arrow mysql_Apache Arrow入门

1.源码编译

1.1 环境准备

安装cmake等工具

sudo apt-get install \

build-essential \

cmake

1.2下载源码

git clone https://github.com/apache/arrow.git

切换release分支

cd arrow

git tag

...

git checkout -b 1.0.0 apache-arrow-1.0.0

或直接下载

wget https://github.com/apache/arrow/archive/apache-arrow-1.0.1.tar.gz

1.3编译

cd cpp

mkdir release

cd release

cmake ..

make

查看编译结果

Scanning dependencies of target arrow_shared

[100%] Linking CXX shared library ../../release/libarrow.so

[100%] Linking CXX static library ../../release/libarrow.a

[100%] Built target arrow_static

[100%] Built target arrow_shared

lynn@lynn-ubuntu:/codes/database/arrow/cpp/release$ ll release/

total 53022

drwxrwxrwx 1 root root 4096 9月 18 14:20 ./

drwxrwxrwx 1 root root 4096 9月 18 14:20 ../

-rwxrwxrwx 1 root root 12468430 9月 18 14:20 libarrow.a*

-rwxrwxrwx 1 root root 20997166 9月 18 14:08 libarrow_bundled_dependencies.a*

lrwxrwxrwx 1 root root 15 9月 18 14:20 libarrow.so -> libarrow.so.100*

lrwxrwxrwx 1 root root 19 9月 18 14:20 libarrow.so.100 -> libarrow.so.100.0.0*

-rwxrwxrwx 1 root root 10259368 9月 18 14:20 libarrow.so.100.0.0*

可以看到libarrow.so.100动态链接库和 libarrow.a&libarrow_bundled_dependencies.a静态链接库。

参考资料

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值