Skip to content

Compile bug: LOG_DBG error #8

Closed

Description

@jhughes2112

Git commit

HEAD and previous two commits
git clone --filter=blob:none https://github.com/Anbeeld/beellama.cpp.git . && git checkout a6690f4

Operating systems

Linux

GGML backends

CUDA

Problem description & steps to reproduce

I tried building today. Seems like there is some header not being included that defines the logging macro.

First Bad Commit

Have not found a good commit yet to build from.

Compile command

Here's my build line (inside a linux docker container):

cmake -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DBUILD_SHARED_LIBS=OFF \
    -DGGML_CUDA=ON \
    -DGGML_NATIVE=ON \
    -DGGML_CUDA_FA=ON \
    -DGGML_CUDA_FA_ALL_QUANTS=ON \
    -DLLAMA_CURL=OFF \
    -DCMAKE_CUDA_ARCHITECTURES="75"

Relevant log output

1438.3 [ 77%] Building CXX object tests/CMakeFiles/test-adaptive-dm.dir/test-adaptive-dm.cpp.o
1438.9 In file included from /build/tests/test-adaptive-dm.cpp:1:
1438.9 /build/tests/../tools/server/server-adaptive-dm.h: In member function ‘void server_adaptive_dm_state::observe_profit_timing(int, float, float, float, float)’:
1438.9 /build/tests/../tools/server/server-adaptive-dm.h:418:17: error: ‘LOG_DBG’ was not declared in this scope
1438.9   418 |                 LOG_DBG("observe_profit_timing: n_draft=%d >= PROFIT_DEPTHS=%d, "
1438.9       |                 ^~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions