misc: Update debug build to keep all debug symbols for easier gdb debugging
This commit is contained in:
parent
c26004b1be
commit
2907c26906
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -13,7 +13,13 @@ build:
|
|||
python3 -m pip install --verbose -e .
|
||||
|
||||
build.debug:
|
||||
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 .
|
||||
python3 -m pip install \
|
||||
--verbose \
|
||||
--config-settings=cmake.verbose=true \
|
||||
--config-settings=logging.level=INFO \
|
||||
--config-settings=install.strip=false \
|
||||
--config-settings=cmake.args="-DCMAKE_BUILD_TYPE=Debug;-DCMAKE_C_FLAGS='-ggdb -O0';-DCMAKE_CXX_FLAGS='-ggdb -O0'" \
|
||||
--editable .
|
||||
|
||||
build.cuda:
|
||||
CMAKE_ARGS="-DLLAMA_CUDA=on" python3 -m pip install --verbose -e .
|
||||
|
|
Loading…
Reference in a new issue