1name: Bug (compilation)
 2description: Something goes wrong when trying to compile llama.cpp.
 3title: "Compile bug: "
 4labels: ["bug-unconfirmed", "compilation"]
 5body:
 6  - type: markdown
 7    attributes:
 8      value: >
 9        Thanks for taking the time to fill out this bug report!
10        This issue template is intended for bug reports where the compilation of llama.cpp fails.
11        Before opening an issue, please confirm that the compilation still fails
12        after recreating the CMake build directory and with `-DGGML_CCACHE=OFF`.
13        If the compilation succeeds with ccache disabled you should be able to permanently fix the issue
14        by clearing `~/.cache/ccache` (on Linux).
15  - type: textarea
16    id: commit
17    attributes:
18      label: Git commit
19      description: Which commit are you trying to compile?
20      placeholder: |
21        $git rev-parse HEAD
22        84a07a17b1b08cf2b9747c633a2372782848a27f
23    validations:
24      required: true
25  - type: dropdown
26    id: operating-system
27    attributes:
28      label: Operating systems
29      description: Which operating systems do you know to be affected?
30      multiple: true
31      options:
32        - Linux
33        - Mac
34        - Windows
35        - BSD
36        - Other? (Please let us know in description)
37    validations:
38      required: true
39  - type: dropdown
40    id: backends
41    attributes:
42        label: GGML backends
43        description: Which GGML backends do you know to be affected?
44        options: [AMX, BLAS, CPU, CUDA, HIP, Metal, Musa, RPC, SYCL, Vulkan, OpenCL, zDNN]
45        multiple: true
46    validations:
47      required: true
48  - type: textarea
49    id: info
50    attributes:
51      label: Problem description & steps to reproduce
52      description: >
53        Please give us a summary of the problem and tell us how to reproduce it.
54        If you can narrow down the bug to specific compile flags, that information would be very much appreciated by us.
55      placeholder: >
56        I'm trying to compile llama.cpp with CUDA support on a fresh install of Ubuntu and get error XY.
57        Here are the exact commands that I used: ...
58    validations:
59      required: true
60  - type: textarea
61    id: first_bad_commit
62    attributes:
63      label: First Bad Commit
64      description: >
65        If the bug was not present on an earlier version: when did it start appearing?
66        If possible, please do a git bisect and identify the exact commit that introduced the bug.
67    validations:
68      required: false
69  - type: textarea
70    id: command
71    attributes:
72      label: Compile command
73      description: >
74        Please provide the exact command you used to compile llama.cpp. For example: `cmake -B ...`.
75        This will be automatically formatted into code, so no need for backticks.
76      render: shell
77    validations:
78      required: true
79  - type: textarea
80    id: logs
81    attributes:
82      label: Relevant log output
83      description: >
84          Please copy and paste any relevant log output, including any generated text.
85          This will be automatically formatted into code, so no need for backticks.
86      render: shell
87    validations:
88      required: true