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

Static compilation #52

Open
mahi045 opened this issue Apr 3, 2021 · 2 comments
Open

Static compilation #52

mahi045 opened this issue Apr 3, 2021 · 2 comments

Comments

@mahi045
Copy link

mahi045 commented Apr 3, 2021

I need to build ThunderGBM statically.
How I can do this?

@Kurt-Liuhf
Copy link
Collaborator

Hi @mahi045, modify the 9th line in CMakefile.txt and change the word SHARED to STATIC. But I am not sure if this can satisfy your needs.
Thanks.

@mahi045
Copy link
Author

mahi045 commented Apr 6, 2021

@Kurt-Liuhf
Thanks for your response.
This change builds thundergbm library statically. (i.e. previously it was libthundergbm.so, currently it is libthundergbm.a).
I need to build thundergbm-train and thundergbm-predict executables statically so that if I transfer the binaries to a computing cluster, they run smoothly there.

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

No branches or pull requests

2 participants