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

How can I get the compiled static executable binary file in linux platform? #161

Closed
lnxknl opened this issue Apr 25, 2024 · 2 comments
Closed
Assignees
Labels
type:bug Something isn't working

Comments

@lnxknl
Copy link

lnxknl commented Apr 25, 2024

I want to run this model in limited internet env, so I want to get this executable binary file.

@tilakrayal tilakrayal added the type:support Support issues label Apr 26, 2024
@xinpingwang
Copy link
Contributor

xinpingwang commented Apr 30, 2024

I made some changes to the cmake build file, so that the build result is portable. maybe you can wait for #169 to be merged or changed locally to have a try.

@tilakrayal tilakrayal added type:bug Something isn't working and removed type:support Support issues labels Apr 30, 2024
@jan-wassenberg
Copy link
Member

Thanks @xinpingwang , I think your change plus set(BUILD_SHARED_LIBS OFF) set(CMAKE_EXE_LINKER_FLAGS "-static") is sufficient :)
Please feel free to reopen if you'd like to discuss further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants