gemma.cpp
gemma.cpp copied to clipboard
How can I get the compiled static executable binary file in linux platform?
I want to run this model in limited internet env, so I want to get this executable binary file.
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.
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.