Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XTP在linux下面的编译 #92

Open
subaochen opened this issue Jun 6, 2020 · 1 comment
Open

XTP在linux下面的编译 #92

subaochen opened this issue Jun 6, 2020 · 1 comment

Comments

@subaochen
Copy link
Owner

https://subaochen.github.io/database/2020/03/20/xtp-linux-compile/

@subaochen
Copy link
Owner Author

subaochen commented Mar 4, 2022

boost 1.72+gcc-4.8+xtp 2.32+python 3.8(anaconda3环境下)版本的编译过程:
1,在~/devel/boost目录下执行:./bootstrap.sh --with-python=/home/subaochen/anaconda3/envs/quant/bin/python
2,在~/devel/boost目录下执行:./b2 --toolset=gcc-4.8 --with-python include="/home/subaochen/anaconda3/envs/quant/include/python3.8/" --with-thread --with-date_time --with-chrono --with-system
3,在xtp source目录下按照文中修改
4,编译xtp

注意:不要使用gcc-8, 编译能通过,但是无法正常执行。

可以通过sudo update-alternatives --config gcc选择默认gcc版本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant