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
288ef8ff
Unverified
Commit
288ef8ff
authored
Jan 13, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jan 13, 2024
Browse files
add `gcc -lstdc++` flag for linux cpu (#1974)
parent
4cf17990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
llm/generate/gen_common.sh
llm/generate/gen_common.sh
+3
-3
No files found.
llm/generate/gen_common.sh
View file @
288ef8ff
...
...
@@ -52,13 +52,13 @@ install() {
}
link_server_lib
()
{
g
++
-fPIC
-g
-shared
-o
${
BUILD_DIR
}
/lib/libext_server.so
\
g
cc
-fPIC
-g
-shared
-o
${
BUILD_DIR
}
/lib/libext_server.so
\
-Wl
,--whole-archive
\
${
BUILD_DIR
}
/lib/libext_server.a
\
-Wl
,--no-whole-archive
\
${
BUILD_DIR
}
/lib/libcommon.a
\
${
BUILD_DIR
}
/lib/libllama.a
${
BUILD_DIR
}
/lib/libllama.a
\
-lstdc
++
}
# Keep the local tree clean after we're done with the build
...
...
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