标签:load tar support 3.1 lease adl inux files .gz
1.system info2.disable selinux and firewalld
4.llvm install
1).cmake
-# wget https://cmake.org/files/v3.11/cmake-3.11.4.tar.gz
-# tar zxvf cmake-3.11.4.tar.gz
-# ./configure
-# make
-# make install
2).llvm
-# wget http://releases.llvm.org/7.0.0/llvm-7.0.0.src.tar.xz
-# tar -xJf llvm-7.0.0.src.tar.xz
-# mv llvm-7.0.0.src llvm
3).Clang
-# wget http://releases.llvm.org/7.0.0/cfe-7.0.0.src.tar.xz
-# tar -xJf cfe-7.0.0.src.tar.xz
-# mv cfe-7.0.0.src llvm/tools/clang
-# mkdir build
-# cd build/
-# cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
-# make -j 8
-# make install
编译提示:
-DLLVM_TARGETS_TO_BUILD="X86",仅编译X86平台,如果64位操作系统,
默认为 x86_64-unknown-linux-gnu;否则,编译所有平台库,
此选项产生编译文件较大可能几十GB。
------ check install
-# clang --version
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
-#
-# llvm-config --version
7.0.0
-#
编译选项:
--with-llvm,jit support
PostgreSQL 11 install with jit on CentOS 7.5 X64
标签:load tar support 3.1 lease adl inux files .gz
原文地址:http://blog.51cto.com/heyiyi/2306614