Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ollama
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
ollama
Commits
535b251d
Commit
535b251d
authored
Aug 19, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added nvidia-86 target
parent
87087b52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
Makefile
Makefile
+11
-0
No files found.
Makefile
View file @
535b251d
...
...
@@ -21,6 +21,17 @@ all: ollama-service
swapoff
swap
rm
-rf
swap
nvidia-86
:
ollama-service
tar
xf ollama-0.11.4.tar.gz
cd
ollama-0.11.4
&&
cmake
-B
build
-DCMAKE_CUDA_ARCHITECTURES
=
86
cd
ollama-0.11.4
&&
cmake
--build
build
cd
ollama-0.11.4
&&
GO111MODULE
=
on
GOCACHE
=
/tmp/gocache
GOPATH
=
$(CURDIR)
/../go/go
$(CURDIR)
/../go/go/bin/go mod download
cd
ollama-0.11.4
&&
GO111MODULE
=
on
GOCACHE
=
/tmp/gocache
GOPATH
=
$(CURDIR)
/../go/go
$(CURDIR)
/../go/go/bin/go build
-trimpath
-buildmode
=
pie
-o
/usr/bin/ollama .
install
-v
-dm755
/var/lib/ollama
@
echo
"
$$
OLLAMA_SERVICE"
>
/lib/systemd/system/ollama.service
systemctl
enable
ollama.service
rm
-rf
ollama-0.11.4
ollama-service
:
define
OLLAMA_SERVICE
[Unit]
...
...
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