Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O ollama
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenDAS
  • ollama
  • Issues
  • #5

Closed
Open
Created Feb 08, 2025 by hdsky@hdsky

使用main分支中的ollama_035.zip,docker build无法通过编译

 > [12/15] RUN bash gen_linux.sh:
169.2 -- Check if compiler accepts -pthread - yes
169.2 -- Found Threads: TRUE
169.2 -- Using llamafile
169.2 CMake Error at ggml/src/CMakeLists.txt:436 (cmake_minimum_required):
169.2   CMake 3.21 or higher is required.  You are running version 3.19.3
169.2
169.2
169.2 -- Configuring incomplete, errors occurred!
169.2 See also "/app/ollama/llm/build/linux/x86_64/rocm/CMakeFiles/CMakeOutput.log".
169.2 See also "/app/ollama/llm/build/linux/x86_64/rocm/CMakeFiles/CMakeError.log".
------
Dockerfile:33
--------------------
  31 |
  32 |     WORKDIR /app/ollama/llm/generate
  33 | >>> RUN bash gen_linux.sh
  34 |
  35 |     WORKDIR /app/ollama
--------------------
ERROR: failed to solve: process "/usr/bin/scl enable devtoolset-7 bash gen_linux.sh" did not complete successfully: exit code: 1
Assignee
Assign to
Time tracking