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 build in example CMakelist #306

Open
chentao-kernel opened this issue Nov 13, 2024 · 2 comments
Open

static build in example CMakelist #306

chentao-kernel opened this issue Nov 13, 2024 · 2 comments

Comments

@chentao-kernel
Copy link

chentao-kernel commented Nov 13, 2024

Hi, anakryiko, can we support static build in example CMakelist, i think others will also meet this glibc version problem
image

set(CMAKE_EXE_LINKER_FLAGS "-static")

it seems add static flag can fix it, so is it meaningful?

@anakryiko
Copy link
Member

If someone implements and tests this, then sure, I don't see why not. Ideally we also have CI test for this mode.

@chentao-kernel
Copy link
Author

If someone implements and tests this, then sure, I don't see why not. Ideally we also have CI test for this mode.

ok, i will do it.

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