8000 misc: Update debug build to keep all debug symbols for easier gdb deb… · tebjan/llama-cpp-python@2907c26 · GitHub
[go: up one dir, main page]

Skip to content
  • Commit 2907c26

    Browse files
    committed
    misc: Update debug build to keep all debug symbols for easier gdb debugging
    1 parent c26004b commit 2907c26

    File tree

    1 file changed

    +7
    -1
    lines changed

    1 file changed

    +7
    -1
    lines changed

    Makefile

    Lines changed: 7 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -13,7 +13,13 @@ build:
    1313
    python3 -m pip install --verbose -e .
    1414

    1515
    build.debug:
    16-
    CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug" python3 -m pip install --verbose --config-settings=cmake.verbose=true --config-settings=logging.level=INFO --config-settings=install.strip=false --editable .
    16+
    python3 -m pip install \
    17+
    --verbose \
    18+
    --config-settings=cmake.verbose=true \
    19+
    --config-settings=logging.level=INFO \
    20+
    --config-settings=install.strip=false \
    21+
    --config-settings=cmake.args="-DCMAKE_BUILD_TYPE=Debug;-DCMAKE_C_FLAGS='-ggdb -O0';-DCMAKE_CXX_FLAGS='-ggdb -O0'" \
    22+
    --editable .
    1723

    1824
    build.cuda:
    1925
    CMAKE_ARGS="-DLLAMA_CUDA=on" python3 -m pip install --verbose -e .

    0 commit comments

    Comments
     (0)
    0