Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
4cf17990
Unverified
Commit
4cf17990
authored
Jan 13, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jan 13, 2024
Browse files
use g++ to build `libext_server.so` on linux (#1972)
parent
b6c0ef1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/generate/gen_common.sh
llm/generate/gen_common.sh
+1
-1
No files found.
llm/generate/gen_common.sh
View file @
4cf17990
...
@@ -52,7 +52,7 @@ install() {
...
@@ -52,7 +52,7 @@ install() {
}
}
link_server_lib
()
{
link_server_lib
()
{
g
cc
-fPIC
-g
-shared
-o
${
BUILD_DIR
}
/lib/libext_server.so
\
g
++
-fPIC
-g
-shared
-o
${
BUILD_DIR
}
/lib/libext_server.so
\
-Wl
,--whole-archive
\
-Wl
,--whole-archive
\
${
BUILD_DIR
}
/lib/libext_server.a
\
${
BUILD_DIR
}
/lib/libext_server.a
\
-Wl
,--no-whole-archive
\
-Wl
,--no-whole-archive
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment